Skip to content

Update generated code #1926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/Ses/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: This release introduces support for Multi-tenant management

### Changed

- AWS enhancement: Documentation updates.
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Ses/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.12-dev"
"dev-master": "1.13-dev"
}
}
}
28 changes: 28 additions & 0 deletions src/Service/Ses/src/Input/SendEmailRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -141,6 +151,7 @@ final class SendEmailRequest extends Input
* EmailTags?: null|array<MessageTag|array>,
* ConfigurationSetName?: null|string,
* EndpointId?: null|string,
* TenantName?: null|string,
* ListManagementOptions?: null|ListManagementOptions|array,
* '@region'?: string|null,
* } $input
Expand All @@ -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);
}
Expand All @@ -173,6 +185,7 @@ public function __construct(array $input = [])
* EmailTags?: null|array<MessageTag|array>,
* ConfigurationSetName?: null|string,
* EndpointId?: null|string,
* TenantName?: null|string,
* ListManagementOptions?: null|ListManagementOptions|array,
* '@region'?: string|null,
* }|SendEmailRequest $input
Expand Down Expand Up @@ -243,6 +256,11 @@ public function getReplyToAddresses(): array
return $this->replyToAddresses ?? [];
}

public function getTenantName(): ?string
{
return $this->tenantName;
}

/**
* @internal
*/
Expand Down Expand Up @@ -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 = [];
Expand Down Expand Up @@ -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();
}
Expand Down
1 change: 1 addition & 0 deletions src/Service/Ses/src/SesClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public function getSuppressedDestination($input): GetSuppressedDestinationRespon
* EmailTags?: null|array<MessageTag|array>,
* ConfigurationSetName?: null|string,
* EndpointId?: null|string,
* TenantName?: null|string,
* ListManagementOptions?: null|ListManagementOptions|array,
* '@region'?: string|null,
* }|SendEmailRequest $input
Expand Down