From 18bbe71a52632aa3a2e5d3ee06f531edcd80e90f Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 9 Apr 2024 18:14:07 +0000 Subject: [PATCH] feat(client-pinpoint): The OrchestrationSendingRoleArn has been added to the email channel and is used to send emails from campaigns or journeys. --- .../src/commands/DeleteEmailChannelCommand.ts | 1 + .../src/commands/GetEmailChannelCommand.ts | 1 + .../src/commands/UpdateEmailChannelCommand.ts | 2 ++ clients/client-pinpoint/src/models/models_0.ts | 14 +++++++++++++- clients/client-pinpoint/src/models/models_1.ts | 2 +- codegen/sdk-codegen/aws-models/pinpoint.json | 16 ++++++++++++++-- 6 files changed, 32 insertions(+), 4 deletions(-) diff --git a/clients/client-pinpoint/src/commands/DeleteEmailChannelCommand.ts b/clients/client-pinpoint/src/commands/DeleteEmailChannelCommand.ts index bb141ac005cc..d9267aedddb0 100644 --- a/clients/client-pinpoint/src/commands/DeleteEmailChannelCommand.ts +++ b/clients/client-pinpoint/src/commands/DeleteEmailChannelCommand.ts @@ -55,6 +55,7 @@ export interface DeleteEmailChannelCommandOutput extends DeleteEmailChannelRespo * // MessagesPerSecond: Number("int"), * // Platform: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", + * // OrchestrationSendingRoleArn: "STRING_VALUE", * // Version: Number("int"), * // }, * // }; diff --git a/clients/client-pinpoint/src/commands/GetEmailChannelCommand.ts b/clients/client-pinpoint/src/commands/GetEmailChannelCommand.ts index fc6eecb7c82d..656d34edc440 100644 --- a/clients/client-pinpoint/src/commands/GetEmailChannelCommand.ts +++ b/clients/client-pinpoint/src/commands/GetEmailChannelCommand.ts @@ -55,6 +55,7 @@ export interface GetEmailChannelCommandOutput extends GetEmailChannelResponse, _ * // MessagesPerSecond: Number("int"), * // Platform: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", + * // OrchestrationSendingRoleArn: "STRING_VALUE", * // Version: Number("int"), * // }, * // }; diff --git a/clients/client-pinpoint/src/commands/UpdateEmailChannelCommand.ts b/clients/client-pinpoint/src/commands/UpdateEmailChannelCommand.ts index 9c79053a7bb9..cd1361b4c4c9 100644 --- a/clients/client-pinpoint/src/commands/UpdateEmailChannelCommand.ts +++ b/clients/client-pinpoint/src/commands/UpdateEmailChannelCommand.ts @@ -42,6 +42,7 @@ export interface UpdateEmailChannelCommandOutput extends UpdateEmailChannelRespo * FromAddress: "STRING_VALUE", // required * Identity: "STRING_VALUE", // required * RoleArn: "STRING_VALUE", + * OrchestrationSendingRoleArn: "STRING_VALUE", * }, * }; * const command = new UpdateEmailChannelCommand(input); @@ -62,6 +63,7 @@ export interface UpdateEmailChannelCommandOutput extends UpdateEmailChannelRespo * // MessagesPerSecond: Number("int"), * // Platform: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", + * // OrchestrationSendingRoleArn: "STRING_VALUE", * // Version: Number("int"), * // }, * // }; diff --git a/clients/client-pinpoint/src/models/models_0.ts b/clients/client-pinpoint/src/models/models_0.ts index c6d017534081..f50d3f1f5c85 100644 --- a/clients/client-pinpoint/src/models/models_0.ts +++ b/clients/client-pinpoint/src/models/models_0.ts @@ -6356,6 +6356,12 @@ export interface EmailChannelResponse { */ RoleArn?: string; + /** + *

The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.

+ * @public + */ + OrchestrationSendingRoleArn?: string; + /** *

The current version of the email channel.

* @public @@ -7685,6 +7691,12 @@ export interface EmailChannelRequest { * @public */ RoleArn?: string; + + /** + *

The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.

+ * @public + */ + OrchestrationSendingRoleArn?: string; } /** @@ -7908,7 +7920,7 @@ export interface EndpointMessageResult { Address?: string; /** - *

The delivery status of the message. Possible values are:

+ *

The delivery status of the message. Possible values are:

* @public */ DeliveryStatus: DeliveryStatus | undefined; diff --git a/clients/client-pinpoint/src/models/models_1.ts b/clients/client-pinpoint/src/models/models_1.ts index 5569a7a708e2..23c7f21aaa82 100644 --- a/clients/client-pinpoint/src/models/models_1.ts +++ b/clients/client-pinpoint/src/models/models_1.ts @@ -2268,7 +2268,7 @@ export interface ListTemplateVersionsResponse { */ export interface MessageResult { /** - *

The delivery status of the message. Possible values are:

+ *

The delivery status of the message. Possible values are:

* @public */ DeliveryStatus: DeliveryStatus | undefined; diff --git a/codegen/sdk-codegen/aws-models/pinpoint.json b/codegen/sdk-codegen/aws-models/pinpoint.json index 3ef96c235a4b..d73e338732f7 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint.json +++ b/codegen/sdk-codegen/aws-models/pinpoint.json @@ -5906,6 +5906,12 @@ "traits": { "smithy.api#documentation": "

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.

" } + }, + "OrchestrationSendingRoleArn": { + "target": "com.amazonaws.pinpoint#__string", + "traits": { + "smithy.api#documentation": "

The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.

" + } } }, "traits": { @@ -6001,6 +6007,12 @@ "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that Amazon Pinpoint uses to submit email-related event data for the channel.

" } }, + "OrchestrationSendingRoleArn": { + "target": "com.amazonaws.pinpoint#__string", + "traits": { + "smithy.api#documentation": "

The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.

" + } + }, "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { @@ -6469,7 +6481,7 @@ "target": "com.amazonaws.pinpoint#DeliveryStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The delivery status of the message. Possible values are:

", + "smithy.api#documentation": "

The delivery status of the message. Possible values are:

", "smithy.api#required": {} } }, @@ -14277,7 +14289,7 @@ "target": "com.amazonaws.pinpoint#DeliveryStatus", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The delivery status of the message. Possible values are:

", + "smithy.api#documentation": "

The delivery status of the message. Possible values are:

", "smithy.api#required": {} } },