Skip to content

Commit 18bbe71

Browse files
author
awstools
committed
feat(client-pinpoint): The OrchestrationSendingRoleArn has been added to the email channel and is used to send emails from campaigns or journeys.
1 parent b1fb0ed commit 18bbe71

File tree

6 files changed

+32
-4
lines changed

6 files changed

+32
-4
lines changed

clients/client-pinpoint/src/commands/DeleteEmailChannelCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface DeleteEmailChannelCommandOutput extends DeleteEmailChannelRespo
5555
* // MessagesPerSecond: Number("int"),
5656
* // Platform: "STRING_VALUE", // required
5757
* // RoleArn: "STRING_VALUE",
58+
* // OrchestrationSendingRoleArn: "STRING_VALUE",
5859
* // Version: Number("int"),
5960
* // },
6061
* // };

clients/client-pinpoint/src/commands/GetEmailChannelCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface GetEmailChannelCommandOutput extends GetEmailChannelResponse, _
5555
* // MessagesPerSecond: Number("int"),
5656
* // Platform: "STRING_VALUE", // required
5757
* // RoleArn: "STRING_VALUE",
58+
* // OrchestrationSendingRoleArn: "STRING_VALUE",
5859
* // Version: Number("int"),
5960
* // },
6061
* // };

clients/client-pinpoint/src/commands/UpdateEmailChannelCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface UpdateEmailChannelCommandOutput extends UpdateEmailChannelRespo
4242
* FromAddress: "STRING_VALUE", // required
4343
* Identity: "STRING_VALUE", // required
4444
* RoleArn: "STRING_VALUE",
45+
* OrchestrationSendingRoleArn: "STRING_VALUE",
4546
* },
4647
* };
4748
* const command = new UpdateEmailChannelCommand(input);
@@ -62,6 +63,7 @@ export interface UpdateEmailChannelCommandOutput extends UpdateEmailChannelRespo
6263
* // MessagesPerSecond: Number("int"),
6364
* // Platform: "STRING_VALUE", // required
6465
* // RoleArn: "STRING_VALUE",
66+
* // OrchestrationSendingRoleArn: "STRING_VALUE",
6567
* // Version: Number("int"),
6668
* // },
6769
* // };

clients/client-pinpoint/src/models/models_0.ts

+13-1
Original file line numberDiff line numberDiff line change
@@ -6356,6 +6356,12 @@ export interface EmailChannelResponse {
63566356
*/
63576357
RoleArn?: string;
63586358

6359+
/**
6360+
* <p>The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.</p>
6361+
* @public
6362+
*/
6363+
OrchestrationSendingRoleArn?: string;
6364+
63596365
/**
63606366
* <p>The current version of the email channel.</p>
63616367
* @public
@@ -7685,6 +7691,12 @@ export interface EmailChannelRequest {
76857691
* @public
76867692
*/
76877693
RoleArn?: string;
7694+
7695+
/**
7696+
* <p>The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.</p>
7697+
* @public
7698+
*/
7699+
OrchestrationSendingRoleArn?: string;
76887700
}
76897701

76907702
/**
@@ -7908,7 +7920,7 @@ export interface EndpointMessageResult {
79087920
Address?: string;
79097921

79107922
/**
7911-
* <p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint.</p></li> <li><p>TIMEOUT - The message couldn't be sent within the timeout period.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>
7923+
* <p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>
79127924
* @public
79137925
*/
79147926
DeliveryStatus: DeliveryStatus | undefined;

clients/client-pinpoint/src/models/models_1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,7 @@ export interface ListTemplateVersionsResponse {
22682268
*/
22692269
export interface MessageResult {
22702270
/**
2271-
* <p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint address.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.</p></li> <li><p>TIMEOUT - The message couldn't be sent within the timeout period.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>
2271+
* <p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint address.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>
22722272
* @public
22732273
*/
22742274
DeliveryStatus: DeliveryStatus | undefined;

codegen/sdk-codegen/aws-models/pinpoint.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -5906,6 +5906,12 @@
59065906
"traits": {
59075907
"smithy.api#documentation": "<p>The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.</p>"
59085908
}
5909+
},
5910+
"OrchestrationSendingRoleArn": {
5911+
"target": "com.amazonaws.pinpoint#__string",
5912+
"traits": {
5913+
"smithy.api#documentation": "<p>The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.</p>"
5914+
}
59095915
}
59105916
},
59115917
"traits": {
@@ -6001,6 +6007,12 @@
60016007
"smithy.api#documentation": "<p>The ARN of the AWS Identity and Access Management (IAM) role that Amazon Pinpoint uses to submit email-related event data for the channel.</p>"
60026008
}
60036009
},
6010+
"OrchestrationSendingRoleArn": {
6011+
"target": "com.amazonaws.pinpoint#__string",
6012+
"traits": {
6013+
"smithy.api#documentation": "<p>The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.</p>"
6014+
}
6015+
},
60046016
"Version": {
60056017
"target": "com.amazonaws.pinpoint#__integer",
60066018
"traits": {
@@ -6469,7 +6481,7 @@
64696481
"target": "com.amazonaws.pinpoint#DeliveryStatus",
64706482
"traits": {
64716483
"smithy.api#clientOptional": {},
6472-
"smithy.api#documentation": "<p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint.</p></li> <li><p>TIMEOUT - The message couldn't be sent within the timeout period.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>",
6484+
"smithy.api#documentation": "<p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>",
64736485
"smithy.api#required": {}
64746486
}
64756487
},
@@ -14277,7 +14289,7 @@
1427714289
"target": "com.amazonaws.pinpoint#DeliveryStatus",
1427814290
"traits": {
1427914291
"smithy.api#clientOptional": {},
14280-
"smithy.api#documentation": "<p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint address.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.</p></li> <li><p>TIMEOUT - The message couldn't be sent within the timeout period.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>",
14292+
"smithy.api#documentation": "<p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint address.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>",
1428114293
"smithy.api#required": {}
1428214294
}
1428314295
},

0 commit comments

Comments
 (0)