Skip to content

Commit da381a3

Browse files
Update generated code (#1815)
update generated code
1 parent 974b355 commit da381a3

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

CHANGELOG.md

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

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Introduces support for multi-region endpoint.
8+
- AWS api-change: Introduces support for creating DEED (Deterministic Easy-DKIM) identities.
9+
510
## 1.9.0
611

712
### Added

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.9-dev"
30+
"dev-master": "1.10-dev"
3131
}
3232
}
3333
}

src/Input/SendEmailRequest.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ final class SendEmailRequest extends Input
114114
*/
115115
private $configurationSetName;
116116

117+
/**
118+
* The ID of the multi-region endpoint (global-endpoint).
119+
*
120+
* @var string|null
121+
*/
122+
private $endpointId;
123+
117124
/**
118125
* An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to
119126
* unsubscribe.
@@ -133,6 +140,7 @@ final class SendEmailRequest extends Input
133140
* Content?: EmailContent|array,
134141
* EmailTags?: null|array<MessageTag|array>,
135142
* ConfigurationSetName?: null|string,
143+
* EndpointId?: null|string,
136144
* ListManagementOptions?: null|ListManagementOptions|array,
137145
* '@region'?: string|null,
138146
* } $input
@@ -148,6 +156,7 @@ public function __construct(array $input = [])
148156
$this->content = isset($input['Content']) ? EmailContent::create($input['Content']) : null;
149157
$this->emailTags = isset($input['EmailTags']) ? array_map([MessageTag::class, 'create'], $input['EmailTags']) : null;
150158
$this->configurationSetName = $input['ConfigurationSetName'] ?? null;
159+
$this->endpointId = $input['EndpointId'] ?? null;
151160
$this->listManagementOptions = isset($input['ListManagementOptions']) ? ListManagementOptions::create($input['ListManagementOptions']) : null;
152161
parent::__construct($input);
153162
}
@@ -163,6 +172,7 @@ public function __construct(array $input = [])
163172
* Content?: EmailContent|array,
164173
* EmailTags?: null|array<MessageTag|array>,
165174
* ConfigurationSetName?: null|string,
175+
* EndpointId?: null|string,
166176
* ListManagementOptions?: null|ListManagementOptions|array,
167177
* '@region'?: string|null,
168178
* }|SendEmailRequest $input
@@ -195,6 +205,11 @@ public function getEmailTags(): array
195205
return $this->emailTags ?? [];
196206
}
197207

208+
public function getEndpointId(): ?string
209+
{
210+
return $this->endpointId;
211+
}
212+
198213
public function getFeedbackForwardingEmailAddress(): ?string
199214
{
200215
return $this->feedbackForwardingEmailAddress;
@@ -284,6 +299,13 @@ public function setEmailTags(array $value): self
284299
return $this;
285300
}
286301

302+
public function setEndpointId(?string $value): self
303+
{
304+
$this->endpointId = $value;
305+
306+
return $this;
307+
}
308+
287309
public function setFeedbackForwardingEmailAddress(?string $value): self
288310
{
289311
$this->feedbackForwardingEmailAddress = $value;
@@ -370,6 +392,9 @@ private function requestBody(): array
370392
if (null !== $v = $this->configurationSetName) {
371393
$payload['ConfigurationSetName'] = $v;
372394
}
395+
if (null !== $v = $this->endpointId) {
396+
$payload['EndpointId'] = $v;
397+
}
373398
if (null !== $v = $this->listManagementOptions) {
374399
$payload['ListManagementOptions'] = $v->requestBody();
375400
}

src/SesClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class SesClient extends AbstractApi
4848
* Content: EmailContent|array,
4949
* EmailTags?: null|array<MessageTag|array>,
5050
* ConfigurationSetName?: null|string,
51+
* EndpointId?: null|string,
5152
* ListManagementOptions?: null|ListManagementOptions|array,
5253
* '@region'?: string|null,
5354
* }|SendEmailRequest $input

0 commit comments

Comments
 (0)