From 766cd46dd5d09be65cfa07b09c73bbe0b33d3c80 Mon Sep 17 00:00:00 2001 From: AsyncAws Bot Date: Fri, 1 Aug 2025 06:40:24 +0000 Subject: [PATCH] update generated code --- manifest.json | 2 +- src/Service/Ses/CHANGELOG.md | 4 +++ src/Service/Ses/composer.json | 2 +- .../Ses/src/Input/SendEmailRequest.php | 28 +++++++++++++++++++ src/Service/Ses/src/SesClient.php | 1 + 5 files changed, 35 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index b22b74260..666fe6999 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "variables": { - "${LATEST}": "3.351.9" + "${LATEST}": "3.351.12" }, "endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json", "services": { diff --git a/src/Service/Ses/CHANGELOG.md b/src/Service/Ses/CHANGELOG.md index 0d9d4277e..9c335cb1c 100644 --- a/src/Service/Ses/CHANGELOG.md +++ b/src/Service/Ses/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Added + +- AWS api-change: This release introduces support for Multi-tenant management + ### Changed - AWS enhancement: Documentation updates. diff --git a/src/Service/Ses/composer.json b/src/Service/Ses/composer.json index 98cff2a42..f59df1bbe 100644 --- a/src/Service/Ses/composer.json +++ b/src/Service/Ses/composer.json @@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } } } diff --git a/src/Service/Ses/src/Input/SendEmailRequest.php b/src/Service/Ses/src/Input/SendEmailRequest.php index bd19d2f4b..089c58e67 100644 --- a/src/Service/Ses/src/Input/SendEmailRequest.php +++ b/src/Service/Ses/src/Input/SendEmailRequest.php @@ -121,6 +121,16 @@ final class SendEmailRequest extends Input */ private $endpointId; + /** + * The name of the tenant through which this email will be sent. + * + * > The email sending operation will only succeed if all referenced resources (identities, configuration sets, and + * > templates) are associated with this tenant. + * + * @var string|null + */ + private $tenantName; + /** * An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to * unsubscribe. @@ -141,6 +151,7 @@ final class SendEmailRequest extends Input * EmailTags?: null|array, * ConfigurationSetName?: null|string, * EndpointId?: null|string, + * TenantName?: null|string, * ListManagementOptions?: null|ListManagementOptions|array, * '@region'?: string|null, * } $input @@ -157,6 +168,7 @@ public function __construct(array $input = []) $this->emailTags = isset($input['EmailTags']) ? array_map([MessageTag::class, 'create'], $input['EmailTags']) : null; $this->configurationSetName = $input['ConfigurationSetName'] ?? null; $this->endpointId = $input['EndpointId'] ?? null; + $this->tenantName = $input['TenantName'] ?? null; $this->listManagementOptions = isset($input['ListManagementOptions']) ? ListManagementOptions::create($input['ListManagementOptions']) : null; parent::__construct($input); } @@ -173,6 +185,7 @@ public function __construct(array $input = []) * EmailTags?: null|array, * ConfigurationSetName?: null|string, * EndpointId?: null|string, + * TenantName?: null|string, * ListManagementOptions?: null|ListManagementOptions|array, * '@region'?: string|null, * }|SendEmailRequest $input @@ -243,6 +256,11 @@ public function getReplyToAddresses(): array return $this->replyToAddresses ?? []; } + public function getTenantName(): ?string + { + return $this->tenantName; + } + /** * @internal */ @@ -351,6 +369,13 @@ public function setReplyToAddresses(array $value): self return $this; } + public function setTenantName(?string $value): self + { + $this->tenantName = $value; + + return $this; + } + private function requestBody(): array { $payload = []; @@ -395,6 +420,9 @@ private function requestBody(): array if (null !== $v = $this->endpointId) { $payload['EndpointId'] = $v; } + if (null !== $v = $this->tenantName) { + $payload['TenantName'] = $v; + } if (null !== $v = $this->listManagementOptions) { $payload['ListManagementOptions'] = $v->requestBody(); } diff --git a/src/Service/Ses/src/SesClient.php b/src/Service/Ses/src/SesClient.php index 2c2a38dc5..757a7e5b4 100644 --- a/src/Service/Ses/src/SesClient.php +++ b/src/Service/Ses/src/SesClient.php @@ -107,6 +107,7 @@ public function getSuppressedDestination($input): GetSuppressedDestinationRespon * EmailTags?: null|array, * ConfigurationSetName?: null|string, * EndpointId?: null|string, + * TenantName?: null|string, * ListManagementOptions?: null|ListManagementOptions|array, * '@region'?: string|null, * }|SendEmailRequest $input