Skip to content

Commit 57b1c60

Browse files
author
AWS
committed
Amazon Pinpoint Update: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
1 parent 96e5236 commit 57b1c60

File tree

2 files changed

+44
-29
lines changed

2 files changed

+44
-29
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": "Add v2 smoke tests and smithy smokeTests trait for SDK testing."
6+
}

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

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"protocol": "rest-json",
99
"jsonVersion": "1.1",
1010
"uid": "pinpoint-2016-12-01",
11-
"signatureVersion": "v4"
11+
"signatureVersion": "v4",
12+
"auth": [
13+
"aws.auth#sigv4"
14+
]
1215
},
1316
"documentation": "<p>Doc Engage API - Amazon Pinpoint API</p>",
1417
"operations": {
@@ -3896,7 +3899,9 @@
38963899
"shape": "ListTagsForResourceResponse",
38973900
"documentation": "<p>The request succeeded.</p>"
38983901
},
3899-
"errors": [],
3902+
"errors": [
3903+
3904+
],
39003905
"documentation": "<p>Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.</p>"
39013906
},
39023907
"ListTemplateVersions": {
@@ -4315,7 +4320,9 @@
43154320
"input": {
43164321
"shape": "TagResourceRequest"
43174322
},
4318-
"errors": [],
4323+
"errors": [
4324+
4325+
],
43194326
"documentation": "<p>Adds one or more tags (keys and values) to an application, campaign, message template, or segment.</p>"
43204327
},
43214328
"UntagResource": {
@@ -4328,7 +4335,9 @@
43284335
"input": {
43294336
"shape": "UntagResourceRequest"
43304337
},
4331-
"errors": [],
4338+
"errors": [
4339+
4340+
],
43324341
"documentation": "<p>Removes one or more tags (keys and values) from an application, campaign, message template, or segment.</p>"
43334342
},
43344343
"UpdateAdmChannel": {
@@ -6768,8 +6777,8 @@
67686777
"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>"
67696778
},
67706779
"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>"
6780+
"shape": "ListOfMessageHeader",
6781+
"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>"
67736782
},
67746783
"HtmlBody": {
67756784
"shape": "__string",
@@ -8698,8 +8707,8 @@
86988707
"documentation": "<p>The subject line, or title, to use in email messages that are based on the message template.</p>"
86998708
},
87008709
"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>"
8710+
"shape": "ListOfMessageHeader",
8711+
"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>"
87038712
},
87048713
"tags": {
87058714
"shape": "MapOf__string",
@@ -8749,8 +8758,8 @@
87498758
"documentation": "<p>The subject line, or title, that's used in email messages that are based on the message template.</p>"
87508759
},
87518760
"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>"
8761+
"shape": "ListOfMessageHeader",
8762+
"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>"
87548763
},
87558764
"tags": {
87568765
"shape": "MapOf__string",
@@ -14389,31 +14398,31 @@
1438914398
"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>"
1439014399
},
1439114400
"Headers": {
14392-
"shape": "ListOfMessageHeader",
14393-
"documentation": "<p>The list of MessageHeaders for the email. You can have up to 15 Headers.</p>"
14401+
"shape": "ListOfMessageHeader",
14402+
"documentation": "<p>The list of MessageHeaders for the email. You can have up to 15 Headers.</p>"
1439414403
}
1439514404
},
1439614405
"documentation": "<p>Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.</p>"
1439714406
},
1439814407
"ListOfMessageHeader": {
14399-
"type": "list",
14400-
"member": {
14401-
"shape": "MessageHeader"
14402-
}
14408+
"type": "list",
14409+
"member": {
14410+
"shape": "MessageHeader"
14411+
}
1440314412
},
1440414413
"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>"
14414+
"type": "structure",
14415+
"members": {
14416+
"Name": {
14417+
"shape": "__string",
14418+
"documentation": "<p>The name of the message header. The header name can contain up to 126 characters.</p>"
14419+
},
14420+
"Value": {
14421+
"shape": "__string",
14422+
"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>"
14423+
}
14424+
},
14425+
"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>"
1441714426
},
1441814427
"SimpleEmailPart": {
1441914428
"type": "structure",
@@ -16729,4 +16738,4 @@
1672916738
}
1673016739
}
1673116740
}
16732-
}
16741+
}

0 commit comments

Comments
 (0)