Skip to content

Commit fca323f

Browse files
author
AWS
committed
Amazon Pinpoint Update: This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages.
1 parent 20366ff commit fca323f

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Pinpoint",
4+
"contributor": "",
5+
"description": "This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages."
6+
}

services/pinpoint/src/main/resources/codegen-resources/service-2.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6767,6 +6767,10 @@
67676767
"shape": "__string",
67686768
"documentation": "<p>The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.</p>"
67696769
},
6770+
"Headers": {
6771+
"shape": "ListOfMessageHeader",
6772+
"documentation": "<p>The list of <a href=\"https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#apps-application-id-campaigns-campaign-id-model-messageheader\">MessageHeaders</a> for the email. You can have up to 15 MessageHeaders for each email.</p>"
6773+
},
67706774
"HtmlBody": {
67716775
"shape": "__string",
67726776
"documentation": "<p>The body of the email, in HTML format, for recipients whose email clients render HTML content.</p>"
@@ -8693,6 +8697,10 @@
86938697
"shape": "__string",
86948698
"documentation": "<p>The subject line, or title, to use in email messages that are based on the message template.</p>"
86958699
},
8700+
"Headers": {
8701+
"shape": "ListOfMessageHeader",
8702+
"documentation": "<p>The list of <a href=\"https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader\">MessageHeaders</a> for the email. You can have up to 15 Headers.</p>"
8703+
},
86968704
"tags": {
86978705
"shape": "MapOf__string",
86988706
"locationName": "tags",
@@ -8740,6 +8748,10 @@
87408748
"shape": "__string",
87418749
"documentation": "<p>The subject line, or title, that's used in email messages that are based on the message template.</p>"
87428750
},
8751+
"Headers": {
8752+
"shape": "ListOfMessageHeader",
8753+
"documentation": "<p>The list of <a href=\"https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader\">MessageHeaders</a> for the email. You can have up to 15 Headers.</p>"
8754+
},
87438755
"tags": {
87448756
"shape": "MapOf__string",
87458757
"locationName": "tags",
@@ -14375,10 +14387,34 @@
1437514387
"TextPart": {
1437614388
"shape": "SimpleEmailPart",
1437714389
"documentation": "<p>The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.</p>"
14390+
},
14391+
"Headers": {
14392+
"shape": "ListOfMessageHeader",
14393+
"documentation": "<p>The list of MessageHeaders for the email. You can have up to 15 Headers.</p>"
1437814394
}
1437914395
},
1438014396
"documentation": "<p>Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.</p>"
1438114397
},
14398+
"ListOfMessageHeader": {
14399+
"type": "list",
14400+
"member": {
14401+
"shape": "MessageHeader"
14402+
}
14403+
},
14404+
"MessageHeader": {
14405+
"type": "structure",
14406+
"members": {
14407+
"Name": {
14408+
"shape": "__string",
14409+
"documentation": "<p>The name of the message header. The header name can contain up to 126 characters.</p>"
14410+
},
14411+
"Value": {
14412+
"shape": "__string",
14413+
"documentation": "<p>The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.</p>"
14414+
}
14415+
},
14416+
"documentation": "<p>Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.</p>"
14417+
},
1438214418
"SimpleEmailPart": {
1438314419
"type": "structure",
1438414420
"members": {

0 commit comments

Comments
 (0)