Skip to content

Commit 6931902

Browse files
author
awstools
committed
feat(client-sesv2): Introduces support for multi-region endpoint.
1 parent a69d90c commit 6931902

26 files changed

+2384
-291
lines changed

clients/client-sesv2/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,14 @@ CreateImportJob
321321

322322
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/CreateImportJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateImportJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateImportJobCommandOutput/)
323323

324+
</details>
325+
<details>
326+
<summary>
327+
CreateMultiRegionEndpoint
328+
</summary>
329+
330+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/CreateMultiRegionEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateMultiRegionEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateMultiRegionEndpointCommandOutput/)
331+
324332
</details>
325333
<details>
326334
<summary>
@@ -393,6 +401,14 @@ DeleteEmailTemplate
393401

394402
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/DeleteEmailTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteEmailTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteEmailTemplateCommandOutput/)
395403

404+
</details>
405+
<details>
406+
<summary>
407+
DeleteMultiRegionEndpoint
408+
</summary>
409+
410+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/DeleteMultiRegionEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteMultiRegionEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteMultiRegionEndpointCommandOutput/)
411+
396412
</details>
397413
<details>
398414
<summary>
@@ -561,6 +577,14 @@ GetMessageInsights
561577

562578
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/GetMessageInsightsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetMessageInsightsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetMessageInsightsCommandOutput/)
563579

580+
</details>
581+
<details>
582+
<summary>
583+
GetMultiRegionEndpoint
584+
</summary>
585+
586+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/GetMultiRegionEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetMultiRegionEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetMultiRegionEndpointCommandOutput/)
587+
564588
</details>
565589
<details>
566590
<summary>
@@ -657,6 +681,14 @@ ListImportJobs
657681

658682
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListImportJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListImportJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListImportJobsCommandOutput/)
659683

684+
</details>
685+
<details>
686+
<summary>
687+
ListMultiRegionEndpoints
688+
</summary>
689+
690+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListMultiRegionEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListMultiRegionEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListMultiRegionEndpointsCommandOutput/)
691+
660692
</details>
661693
<details>
662694
<summary>

clients/client-sesv2/src/SESv2.ts

+93
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ import {
7272
CreateImportJobCommandInput,
7373
CreateImportJobCommandOutput,
7474
} from "./commands/CreateImportJobCommand";
75+
import {
76+
CreateMultiRegionEndpointCommand,
77+
CreateMultiRegionEndpointCommandInput,
78+
CreateMultiRegionEndpointCommandOutput,
79+
} from "./commands/CreateMultiRegionEndpointCommand";
7580
import {
7681
DeleteConfigurationSetCommand,
7782
DeleteConfigurationSetCommandInput,
@@ -117,6 +122,11 @@ import {
117122
DeleteEmailTemplateCommandInput,
118123
DeleteEmailTemplateCommandOutput,
119124
} from "./commands/DeleteEmailTemplateCommand";
125+
import {
126+
DeleteMultiRegionEndpointCommand,
127+
DeleteMultiRegionEndpointCommandInput,
128+
DeleteMultiRegionEndpointCommandOutput,
129+
} from "./commands/DeleteMultiRegionEndpointCommand";
120130
import {
121131
DeleteSuppressedDestinationCommand,
122132
DeleteSuppressedDestinationCommandInput,
@@ -214,6 +224,11 @@ import {
214224
GetMessageInsightsCommandInput,
215225
GetMessageInsightsCommandOutput,
216226
} from "./commands/GetMessageInsightsCommand";
227+
import {
228+
GetMultiRegionEndpointCommand,
229+
GetMultiRegionEndpointCommandInput,
230+
GetMultiRegionEndpointCommandOutput,
231+
} from "./commands/GetMultiRegionEndpointCommand";
217232
import {
218233
GetSuppressedDestinationCommand,
219234
GetSuppressedDestinationCommandInput,
@@ -274,6 +289,11 @@ import {
274289
ListImportJobsCommandInput,
275290
ListImportJobsCommandOutput,
276291
} from "./commands/ListImportJobsCommand";
292+
import {
293+
ListMultiRegionEndpointsCommand,
294+
ListMultiRegionEndpointsCommandInput,
295+
ListMultiRegionEndpointsCommandOutput,
296+
} from "./commands/ListMultiRegionEndpointsCommand";
277297
import {
278298
ListRecommendationsCommand,
279299
ListRecommendationsCommandInput,
@@ -463,6 +483,7 @@ const commands = {
463483
CreateEmailTemplateCommand,
464484
CreateExportJobCommand,
465485
CreateImportJobCommand,
486+
CreateMultiRegionEndpointCommand,
466487
DeleteConfigurationSetCommand,
467488
DeleteConfigurationSetEventDestinationCommand,
468489
DeleteContactCommand,
@@ -472,6 +493,7 @@ const commands = {
472493
DeleteEmailIdentityCommand,
473494
DeleteEmailIdentityPolicyCommand,
474495
DeleteEmailTemplateCommand,
496+
DeleteMultiRegionEndpointCommand,
475497
DeleteSuppressedDestinationCommand,
476498
GetAccountCommand,
477499
GetBlacklistReportsCommand,
@@ -493,6 +515,7 @@ const commands = {
493515
GetExportJobCommand,
494516
GetImportJobCommand,
495517
GetMessageInsightsCommand,
518+
GetMultiRegionEndpointCommand,
496519
GetSuppressedDestinationCommand,
497520
ListConfigurationSetsCommand,
498521
ListContactListsCommand,
@@ -505,6 +528,7 @@ const commands = {
505528
ListEmailTemplatesCommand,
506529
ListExportJobsCommand,
507530
ListImportJobsCommand,
531+
ListMultiRegionEndpointsCommand,
508532
ListRecommendationsCommand,
509533
ListSuppressedDestinationsCommand,
510534
ListTagsForResourceCommand,
@@ -767,6 +791,23 @@ export interface SESv2 {
767791
cb: (err: any, data?: CreateImportJobCommandOutput) => void
768792
): void;
769793

794+
/**
795+
* @see {@link CreateMultiRegionEndpointCommand}
796+
*/
797+
createMultiRegionEndpoint(
798+
args: CreateMultiRegionEndpointCommandInput,
799+
options?: __HttpHandlerOptions
800+
): Promise<CreateMultiRegionEndpointCommandOutput>;
801+
createMultiRegionEndpoint(
802+
args: CreateMultiRegionEndpointCommandInput,
803+
cb: (err: any, data?: CreateMultiRegionEndpointCommandOutput) => void
804+
): void;
805+
createMultiRegionEndpoint(
806+
args: CreateMultiRegionEndpointCommandInput,
807+
options: __HttpHandlerOptions,
808+
cb: (err: any, data?: CreateMultiRegionEndpointCommandOutput) => void
809+
): void;
810+
770811
/**
771812
* @see {@link DeleteConfigurationSetCommand}
772813
*/
@@ -914,6 +955,23 @@ export interface SESv2 {
914955
cb: (err: any, data?: DeleteEmailTemplateCommandOutput) => void
915956
): void;
916957

958+
/**
959+
* @see {@link DeleteMultiRegionEndpointCommand}
960+
*/
961+
deleteMultiRegionEndpoint(
962+
args: DeleteMultiRegionEndpointCommandInput,
963+
options?: __HttpHandlerOptions
964+
): Promise<DeleteMultiRegionEndpointCommandOutput>;
965+
deleteMultiRegionEndpoint(
966+
args: DeleteMultiRegionEndpointCommandInput,
967+
cb: (err: any, data?: DeleteMultiRegionEndpointCommandOutput) => void
968+
): void;
969+
deleteMultiRegionEndpoint(
970+
args: DeleteMultiRegionEndpointCommandInput,
971+
options: __HttpHandlerOptions,
972+
cb: (err: any, data?: DeleteMultiRegionEndpointCommandOutput) => void
973+
): void;
974+
917975
/**
918976
* @see {@link DeleteSuppressedDestinationCommand}
919977
*/
@@ -1241,6 +1299,23 @@ export interface SESv2 {
12411299
cb: (err: any, data?: GetMessageInsightsCommandOutput) => void
12421300
): void;
12431301

1302+
/**
1303+
* @see {@link GetMultiRegionEndpointCommand}
1304+
*/
1305+
getMultiRegionEndpoint(
1306+
args: GetMultiRegionEndpointCommandInput,
1307+
options?: __HttpHandlerOptions
1308+
): Promise<GetMultiRegionEndpointCommandOutput>;
1309+
getMultiRegionEndpoint(
1310+
args: GetMultiRegionEndpointCommandInput,
1311+
cb: (err: any, data?: GetMultiRegionEndpointCommandOutput) => void
1312+
): void;
1313+
getMultiRegionEndpoint(
1314+
args: GetMultiRegionEndpointCommandInput,
1315+
options: __HttpHandlerOptions,
1316+
cb: (err: any, data?: GetMultiRegionEndpointCommandOutput) => void
1317+
): void;
1318+
12441319
/**
12451320
* @see {@link GetSuppressedDestinationCommand}
12461321
*/
@@ -1442,6 +1517,24 @@ export interface SESv2 {
14421517
cb: (err: any, data?: ListImportJobsCommandOutput) => void
14431518
): void;
14441519

1520+
/**
1521+
* @see {@link ListMultiRegionEndpointsCommand}
1522+
*/
1523+
listMultiRegionEndpoints(): Promise<ListMultiRegionEndpointsCommandOutput>;
1524+
listMultiRegionEndpoints(
1525+
args: ListMultiRegionEndpointsCommandInput,
1526+
options?: __HttpHandlerOptions
1527+
): Promise<ListMultiRegionEndpointsCommandOutput>;
1528+
listMultiRegionEndpoints(
1529+
args: ListMultiRegionEndpointsCommandInput,
1530+
cb: (err: any, data?: ListMultiRegionEndpointsCommandOutput) => void
1531+
): void;
1532+
listMultiRegionEndpoints(
1533+
args: ListMultiRegionEndpointsCommandInput,
1534+
options: __HttpHandlerOptions,
1535+
cb: (err: any, data?: ListMultiRegionEndpointsCommandOutput) => void
1536+
): void;
1537+
14451538
/**
14461539
* @see {@link ListRecommendationsCommand}
14471540
*/

clients/client-sesv2/src/SESv2Client.ts

+24
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ import {
9191
} from "./commands/CreateEmailTemplateCommand";
9292
import { CreateExportJobCommandInput, CreateExportJobCommandOutput } from "./commands/CreateExportJobCommand";
9393
import { CreateImportJobCommandInput, CreateImportJobCommandOutput } from "./commands/CreateImportJobCommand";
94+
import {
95+
CreateMultiRegionEndpointCommandInput,
96+
CreateMultiRegionEndpointCommandOutput,
97+
} from "./commands/CreateMultiRegionEndpointCommand";
9498
import {
9599
DeleteConfigurationSetCommandInput,
96100
DeleteConfigurationSetCommandOutput,
@@ -121,6 +125,10 @@ import {
121125
DeleteEmailTemplateCommandInput,
122126
DeleteEmailTemplateCommandOutput,
123127
} from "./commands/DeleteEmailTemplateCommand";
128+
import {
129+
DeleteMultiRegionEndpointCommandInput,
130+
DeleteMultiRegionEndpointCommandOutput,
131+
} from "./commands/DeleteMultiRegionEndpointCommand";
124132
import {
125133
DeleteSuppressedDestinationCommandInput,
126134
DeleteSuppressedDestinationCommandOutput,
@@ -172,6 +180,10 @@ import { GetEmailTemplateCommandInput, GetEmailTemplateCommandOutput } from "./c
172180
import { GetExportJobCommandInput, GetExportJobCommandOutput } from "./commands/GetExportJobCommand";
173181
import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
174182
import { GetMessageInsightsCommandInput, GetMessageInsightsCommandOutput } from "./commands/GetMessageInsightsCommand";
183+
import {
184+
GetMultiRegionEndpointCommandInput,
185+
GetMultiRegionEndpointCommandOutput,
186+
} from "./commands/GetMultiRegionEndpointCommand";
175187
import {
176188
GetSuppressedDestinationCommandInput,
177189
GetSuppressedDestinationCommandOutput,
@@ -205,6 +217,10 @@ import {
205217
import { ListEmailTemplatesCommandInput, ListEmailTemplatesCommandOutput } from "./commands/ListEmailTemplatesCommand";
206218
import { ListExportJobsCommandInput, ListExportJobsCommandOutput } from "./commands/ListExportJobsCommand";
207219
import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
220+
import {
221+
ListMultiRegionEndpointsCommandInput,
222+
ListMultiRegionEndpointsCommandOutput,
223+
} from "./commands/ListMultiRegionEndpointsCommand";
208224
import {
209225
ListRecommendationsCommandInput,
210226
ListRecommendationsCommandOutput,
@@ -357,6 +373,7 @@ export type ServiceInputTypes =
357373
| CreateEmailTemplateCommandInput
358374
| CreateExportJobCommandInput
359375
| CreateImportJobCommandInput
376+
| CreateMultiRegionEndpointCommandInput
360377
| DeleteConfigurationSetCommandInput
361378
| DeleteConfigurationSetEventDestinationCommandInput
362379
| DeleteContactCommandInput
@@ -366,6 +383,7 @@ export type ServiceInputTypes =
366383
| DeleteEmailIdentityCommandInput
367384
| DeleteEmailIdentityPolicyCommandInput
368385
| DeleteEmailTemplateCommandInput
386+
| DeleteMultiRegionEndpointCommandInput
369387
| DeleteSuppressedDestinationCommandInput
370388
| GetAccountCommandInput
371389
| GetBlacklistReportsCommandInput
@@ -387,6 +405,7 @@ export type ServiceInputTypes =
387405
| GetExportJobCommandInput
388406
| GetImportJobCommandInput
389407
| GetMessageInsightsCommandInput
408+
| GetMultiRegionEndpointCommandInput
390409
| GetSuppressedDestinationCommandInput
391410
| ListConfigurationSetsCommandInput
392411
| ListContactListsCommandInput
@@ -399,6 +418,7 @@ export type ServiceInputTypes =
399418
| ListEmailTemplatesCommandInput
400419
| ListExportJobsCommandInput
401420
| ListImportJobsCommandInput
421+
| ListMultiRegionEndpointsCommandInput
402422
| ListRecommendationsCommandInput
403423
| ListSuppressedDestinationsCommandInput
404424
| ListTagsForResourceCommandInput
@@ -454,6 +474,7 @@ export type ServiceOutputTypes =
454474
| CreateEmailTemplateCommandOutput
455475
| CreateExportJobCommandOutput
456476
| CreateImportJobCommandOutput
477+
| CreateMultiRegionEndpointCommandOutput
457478
| DeleteConfigurationSetCommandOutput
458479
| DeleteConfigurationSetEventDestinationCommandOutput
459480
| DeleteContactCommandOutput
@@ -463,6 +484,7 @@ export type ServiceOutputTypes =
463484
| DeleteEmailIdentityCommandOutput
464485
| DeleteEmailIdentityPolicyCommandOutput
465486
| DeleteEmailTemplateCommandOutput
487+
| DeleteMultiRegionEndpointCommandOutput
466488
| DeleteSuppressedDestinationCommandOutput
467489
| GetAccountCommandOutput
468490
| GetBlacklistReportsCommandOutput
@@ -484,6 +506,7 @@ export type ServiceOutputTypes =
484506
| GetExportJobCommandOutput
485507
| GetImportJobCommandOutput
486508
| GetMessageInsightsCommandOutput
509+
| GetMultiRegionEndpointCommandOutput
487510
| GetSuppressedDestinationCommandOutput
488511
| ListConfigurationSetsCommandOutput
489512
| ListContactListsCommandOutput
@@ -496,6 +519,7 @@ export type ServiceOutputTypes =
496519
| ListEmailTemplatesCommandOutput
497520
| ListExportJobsCommandOutput
498521
| ListImportJobsCommandOutput
522+
| ListMultiRegionEndpointsCommandOutput
499523
| ListRecommendationsCommandOutput
500524
| ListSuppressedDestinationsCommandOutput
501525
| ListTagsForResourceCommandOutput

0 commit comments

Comments
 (0)