Skip to content

Commit 41eae73

Browse files
author
awstools
committed
feat(client-sesv2): This release introduces support for Multi-tenant management
1 parent f36fbb4 commit 41eae73

39 files changed

+5199
-486
lines changed

clients/client-sesv2/README.md

Lines changed: 103 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ using your favorite package manager:
3030

3131
The AWS SDK is modulized by clients and commands.
3232
To send a request, you only need to import the `SESv2Client` and
33-
the commands you need, for example `ListContactListsCommand`:
33+
the commands you need, for example `ListTenantsCommand`:
3434

3535
```js
3636
// ES5 example
37-
const { SESv2Client, ListContactListsCommand } = require("@aws-sdk/client-sesv2");
37+
const { SESv2Client, ListTenantsCommand } = require("@aws-sdk/client-sesv2");
3838
```
3939

4040
```ts
4141
// ES6+ example
42-
import { SESv2Client, ListContactListsCommand } from "@aws-sdk/client-sesv2";
42+
import { SESv2Client, ListTenantsCommand } from "@aws-sdk/client-sesv2";
4343
```
4444

4545
### Usage
@@ -58,7 +58,7 @@ const client = new SESv2Client({ region: "REGION" });
5858
const params = {
5959
/** input parameters */
6060
};
61-
const command = new ListContactListsCommand(params);
61+
const command = new ListTenantsCommand(params);
6262
```
6363

6464
#### Async/await
@@ -137,15 +137,15 @@ const client = new AWS.SESv2({ region: "REGION" });
137137

138138
// async/await.
139139
try {
140-
const data = await client.listContactLists(params);
140+
const data = await client.listTenants(params);
141141
// process data.
142142
} catch (error) {
143143
// error handling.
144144
}
145145

146146
// Promises.
147147
client
148-
.listContactLists(params)
148+
.listTenants(params)
149149
.then((data) => {
150150
// process data.
151151
})
@@ -154,7 +154,7 @@ client
154154
});
155155

156156
// callbacks.
157-
client.listContactLists(params, (err, data) => {
157+
client.listTenants(params, (err, data) => {
158158
// process err and data.
159159
});
160160
```
@@ -329,6 +329,22 @@ CreateMultiRegionEndpoint
329329

330330
[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/)
331331

332+
</details>
333+
<details>
334+
<summary>
335+
CreateTenant
336+
</summary>
337+
338+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/CreateTenantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateTenantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateTenantCommandOutput/)
339+
340+
</details>
341+
<details>
342+
<summary>
343+
CreateTenantResourceAssociation
344+
</summary>
345+
346+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/CreateTenantResourceAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateTenantResourceAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/CreateTenantResourceAssociationCommandOutput/)
347+
332348
</details>
333349
<details>
334350
<summary>
@@ -417,6 +433,22 @@ DeleteSuppressedDestination
417433

418434
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/DeleteSuppressedDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteSuppressedDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteSuppressedDestinationCommandOutput/)
419435

436+
</details>
437+
<details>
438+
<summary>
439+
DeleteTenant
440+
</summary>
441+
442+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/DeleteTenantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteTenantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteTenantCommandOutput/)
443+
444+
</details>
445+
<details>
446+
<summary>
447+
DeleteTenantResourceAssociation
448+
</summary>
449+
450+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/DeleteTenantResourceAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteTenantResourceAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/DeleteTenantResourceAssociationCommandOutput/)
451+
420452
</details>
421453
<details>
422454
<summary>
@@ -585,6 +617,14 @@ GetMultiRegionEndpoint
585617

586618
[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/)
587619

620+
</details>
621+
<details>
622+
<summary>
623+
GetReputationEntity
624+
</summary>
625+
626+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/GetReputationEntityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetReputationEntityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetReputationEntityCommandOutput/)
627+
588628
</details>
589629
<details>
590630
<summary>
@@ -593,6 +633,14 @@ GetSuppressedDestination
593633

594634
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/GetSuppressedDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetSuppressedDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetSuppressedDestinationCommandOutput/)
595635

636+
</details>
637+
<details>
638+
<summary>
639+
GetTenant
640+
</summary>
641+
642+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/GetTenantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetTenantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/GetTenantCommandOutput/)
643+
596644
</details>
597645
<details>
598646
<summary>
@@ -697,6 +745,22 @@ ListRecommendations
697745

698746
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListRecommendationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListRecommendationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListRecommendationsCommandOutput/)
699747

748+
</details>
749+
<details>
750+
<summary>
751+
ListReputationEntities
752+
</summary>
753+
754+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListReputationEntitiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListReputationEntitiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListReputationEntitiesCommandOutput/)
755+
756+
</details>
757+
<details>
758+
<summary>
759+
ListResourceTenants
760+
</summary>
761+
762+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListResourceTenantsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListResourceTenantsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListResourceTenantsCommandOutput/)
763+
700764
</details>
701765
<details>
702766
<summary>
@@ -713,6 +777,22 @@ ListTagsForResource
713777

714778
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListTagsForResourceCommandOutput/)
715779

780+
</details>
781+
<details>
782+
<summary>
783+
ListTenantResources
784+
</summary>
785+
786+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListTenantResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListTenantResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListTenantResourcesCommandOutput/)
787+
788+
</details>
789+
<details>
790+
<summary>
791+
ListTenants
792+
</summary>
793+
794+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/ListTenantsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListTenantsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/ListTenantsCommandOutput/)
795+
716796
</details>
717797
<details>
718798
<summary>
@@ -986,3 +1066,19 @@ UpdateEmailTemplate
9861066
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/UpdateEmailTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/UpdateEmailTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/UpdateEmailTemplateCommandOutput/)
9871067

9881068
</details>
1069+
<details>
1070+
<summary>
1071+
UpdateReputationEntityCustomerManagedStatus
1072+
</summary>
1073+
1074+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/UpdateReputationEntityCustomerManagedStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/UpdateReputationEntityCustomerManagedStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/UpdateReputationEntityCustomerManagedStatusCommandOutput/)
1075+
1076+
</details>
1077+
<details>
1078+
<summary>
1079+
UpdateReputationEntityPolicy
1080+
</summary>
1081+
1082+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/UpdateReputationEntityPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/UpdateReputationEntityPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/UpdateReputationEntityPolicyCommandOutput/)
1083+
1084+
</details>

0 commit comments

Comments
 (0)