Skip to content

Commit 4afea04

Browse files
Update generated code (#1926)
update generated code
1 parent c80d6b9 commit 4afea04

File tree

5 files changed

+35
-2
lines changed

5 files changed

+35
-2
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.351.9"
3+
"${LATEST}": "3.351.12"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/Ses/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: This release introduces support for Multi-tenant management
8+
59
### Changed
610

711
- AWS enhancement: Documentation updates.

src/Service/Ses/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"extra": {
2929
"branch-alias": {
30-
"dev-master": "1.12-dev"
30+
"dev-master": "1.13-dev"
3131
}
3232
}
3333
}

src/Service/Ses/src/Input/SendEmailRequest.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ final class SendEmailRequest extends Input
121121
*/
122122
private $endpointId;
123123

124+
/**
125+
* The name of the tenant through which this email will be sent.
126+
*
127+
* > The email sending operation will only succeed if all referenced resources (identities, configuration sets, and
128+
* > templates) are associated with this tenant.
129+
*
130+
* @var string|null
131+
*/
132+
private $tenantName;
133+
124134
/**
125135
* An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to
126136
* unsubscribe.
@@ -141,6 +151,7 @@ final class SendEmailRequest extends Input
141151
* EmailTags?: null|array<MessageTag|array>,
142152
* ConfigurationSetName?: null|string,
143153
* EndpointId?: null|string,
154+
* TenantName?: null|string,
144155
* ListManagementOptions?: null|ListManagementOptions|array,
145156
* '@region'?: string|null,
146157
* } $input
@@ -157,6 +168,7 @@ public function __construct(array $input = [])
157168
$this->emailTags = isset($input['EmailTags']) ? array_map([MessageTag::class, 'create'], $input['EmailTags']) : null;
158169
$this->configurationSetName = $input['ConfigurationSetName'] ?? null;
159170
$this->endpointId = $input['EndpointId'] ?? null;
171+
$this->tenantName = $input['TenantName'] ?? null;
160172
$this->listManagementOptions = isset($input['ListManagementOptions']) ? ListManagementOptions::create($input['ListManagementOptions']) : null;
161173
parent::__construct($input);
162174
}
@@ -173,6 +185,7 @@ public function __construct(array $input = [])
173185
* EmailTags?: null|array<MessageTag|array>,
174186
* ConfigurationSetName?: null|string,
175187
* EndpointId?: null|string,
188+
* TenantName?: null|string,
176189
* ListManagementOptions?: null|ListManagementOptions|array,
177190
* '@region'?: string|null,
178191
* }|SendEmailRequest $input
@@ -243,6 +256,11 @@ public function getReplyToAddresses(): array
243256
return $this->replyToAddresses ?? [];
244257
}
245258

259+
public function getTenantName(): ?string
260+
{
261+
return $this->tenantName;
262+
}
263+
246264
/**
247265
* @internal
248266
*/
@@ -351,6 +369,13 @@ public function setReplyToAddresses(array $value): self
351369
return $this;
352370
}
353371

372+
public function setTenantName(?string $value): self
373+
{
374+
$this->tenantName = $value;
375+
376+
return $this;
377+
}
378+
354379
private function requestBody(): array
355380
{
356381
$payload = [];
@@ -395,6 +420,9 @@ private function requestBody(): array
395420
if (null !== $v = $this->endpointId) {
396421
$payload['EndpointId'] = $v;
397422
}
423+
if (null !== $v = $this->tenantName) {
424+
$payload['TenantName'] = $v;
425+
}
398426
if (null !== $v = $this->listManagementOptions) {
399427
$payload['ListManagementOptions'] = $v->requestBody();
400428
}

src/Service/Ses/src/SesClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function getSuppressedDestination($input): GetSuppressedDestinationRespon
107107
* EmailTags?: null|array<MessageTag|array>,
108108
* ConfigurationSetName?: null|string,
109109
* EndpointId?: null|string,
110+
* TenantName?: null|string,
110111
* ListManagementOptions?: null|ListManagementOptions|array,
111112
* '@region'?: string|null,
112113
* }|SendEmailRequest $input

0 commit comments

Comments
 (0)