@aws-sdk/client-sesv2 3.856.0 → 3.858.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +103 -7
  2. package/dist-cjs/index.js +710 -23
  3. package/dist-es/SESv2.js +24 -0
  4. package/dist-es/commands/CreateTenantCommand.js +22 -0
  5. package/dist-es/commands/CreateTenantResourceAssociationCommand.js +22 -0
  6. package/dist-es/commands/DeleteTenantCommand.js +22 -0
  7. package/dist-es/commands/DeleteTenantResourceAssociationCommand.js +22 -0
  8. package/dist-es/commands/GetReputationEntityCommand.js +22 -0
  9. package/dist-es/commands/GetTenantCommand.js +22 -0
  10. package/dist-es/commands/ListReputationEntitiesCommand.js +22 -0
  11. package/dist-es/commands/ListResourceTenantsCommand.js +22 -0
  12. package/dist-es/commands/ListTenantResourcesCommand.js +22 -0
  13. package/dist-es/commands/ListTenantsCommand.js +22 -0
  14. package/dist-es/commands/PutAccountDetailsCommand.js +1 -1
  15. package/dist-es/commands/UpdateReputationEntityCustomerManagedStatusCommand.js +22 -0
  16. package/dist-es/commands/UpdateReputationEntityPolicyCommand.js +22 -0
  17. package/dist-es/commands/index.js +12 -0
  18. package/dist-es/models/models_0.js +21 -10
  19. package/dist-es/models/models_1.js +15 -0
  20. package/dist-es/pagination/ListReputationEntitiesPaginator.js +4 -0
  21. package/dist-es/pagination/ListResourceTenantsPaginator.js +4 -0
  22. package/dist-es/pagination/ListTenantResourcesPaginator.js +4 -0
  23. package/dist-es/pagination/ListTenantsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +4 -0
  25. package/dist-es/protocols/Aws_restJson1.js +395 -0
  26. package/dist-types/SESv2.d.ts +86 -0
  27. package/dist-types/SESv2Client.d.ts +14 -2
  28. package/dist-types/commands/CreateTenantCommand.d.ts +105 -0
  29. package/dist-types/commands/CreateTenantResourceAssociationCommand.d.ts +89 -0
  30. package/dist-types/commands/DeleteTenantCommand.d.ts +81 -0
  31. package/dist-types/commands/DeleteTenantResourceAssociationCommand.d.ts +83 -0
  32. package/dist-types/commands/GetReputationEntityCommand.d.ts +105 -0
  33. package/dist-types/commands/GetTenantCommand.d.ts +94 -0
  34. package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListReputationEntitiesCommand.d.ts +107 -0
  36. package/dist-types/commands/ListResourceTenantsCommand.d.ts +94 -0
  37. package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/ListTenantResourcesCommand.d.ts +95 -0
  40. package/dist-types/commands/ListTenantsCommand.d.ts +89 -0
  41. package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +1 -1
  42. package/dist-types/commands/PutAccountDetailsCommand.d.ts +1 -1
  43. package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +1 -1
  44. package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +1 -1
  45. package/dist-types/commands/PutAccountVdmAttributesCommand.d.ts +1 -1
  46. package/dist-types/commands/PutConfigurationSetArchivingOptionsCommand.d.ts +1 -1
  47. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +1 -1
  50. package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -0
  51. package/dist-types/commands/SendEmailCommand.d.ts +1 -0
  52. package/dist-types/commands/UpdateReputationEntityCustomerManagedStatusCommand.d.ts +89 -0
  53. package/dist-types/commands/UpdateReputationEntityPolicyCommand.d.ts +85 -0
  54. package/dist-types/commands/index.d.ts +12 -0
  55. package/dist-types/models/models_0.d.ts +399 -314
  56. package/dist-types/models/models_1.d.ts +612 -1
  57. package/dist-types/pagination/ListReputationEntitiesPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListResourceTenantsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/ListTenantResourcesPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListTenantsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +4 -0
  62. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  63. package/dist-types/ts3.4/SESv2.d.ts +212 -0
  64. package/dist-types/ts3.4/SESv2Client.d.ts +74 -2
  65. package/dist-types/ts3.4/commands/CreateTenantCommand.d.ts +47 -0
  66. package/dist-types/ts3.4/commands/CreateTenantResourceAssociationCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/DeleteTenantCommand.d.ts +47 -0
  68. package/dist-types/ts3.4/commands/DeleteTenantResourceAssociationCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/GetReputationEntityCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/GetTenantCommand.d.ts +47 -0
  71. package/dist-types/ts3.4/commands/ListReputationEntitiesCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListResourceTenantsCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/ListSuppressedDestinationsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListTenantResourcesCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/ListTenantsCommand.d.ts +47 -0
  77. package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/PutAccountDetailsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/PutAccountSuppressionAttributesCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/PutAccountVdmAttributesCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/PutConfigurationSetArchivingOptionsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/UpdateReputationEntityCustomerManagedStatusCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/UpdateReputationEntityPolicyCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +104 -69
  90. package/dist-types/ts3.4/models/models_1.d.ts +131 -0
  91. package/dist-types/ts3.4/pagination/ListReputationEntitiesPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/ListResourceTenantsPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/ListTenantResourcesPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/ListTenantsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  96. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  97. package/package.json +12 -12
package/README.md CHANGED
@@ -30,16 +30,16 @@ using your favorite package manager:
30
30
 
31
31
  The AWS SDK is modulized by clients and commands.
32
32
  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`:
34
34
 
35
35
  ```js
36
36
  // ES5 example
37
- const { SESv2Client, ListContactListsCommand } = require("@aws-sdk/client-sesv2");
37
+ const { SESv2Client, ListTenantsCommand } = require("@aws-sdk/client-sesv2");
38
38
  ```
39
39
 
40
40
  ```ts
41
41
  // ES6+ example
42
- import { SESv2Client, ListContactListsCommand } from "@aws-sdk/client-sesv2";
42
+ import { SESv2Client, ListTenantsCommand } from "@aws-sdk/client-sesv2";
43
43
  ```
44
44
 
45
45
  ### Usage
@@ -58,7 +58,7 @@ const client = new SESv2Client({ region: "REGION" });
58
58
  const params = {
59
59
  /** input parameters */
60
60
  };
61
- const command = new ListContactListsCommand(params);
61
+ const command = new ListTenantsCommand(params);
62
62
  ```
63
63
 
64
64
  #### Async/await
@@ -137,7 +137,7 @@ const client = new AWS.SESv2({ region: "REGION" });
137
137
 
138
138
  // async/await.
139
139
  try {
140
- const data = await client.listContactLists(params);
140
+ const data = await client.listTenants(params);
141
141
  // process data.
142
142
  } catch (error) {
143
143
  // error handling.
@@ -145,7 +145,7 @@ try {
145
145
 
146
146
  // Promises.
147
147
  client
148
- .listContactLists(params)
148
+ .listTenants(params)
149
149
  .then((data) => {
150
150
  // process data.
151
151
  })
@@ -154,7 +154,7 @@ client
154
154
  });
155
155
 
156
156
  // callbacks.
157
- client.listContactLists(params, (err, data) => {
157
+ client.listTenants(params, (err, data) => {
158
158
  // process err and data.
159
159
  });
160
160
  ```
@@ -329,6 +329,22 @@ CreateMultiRegionEndpoint
329
329
 
330
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
331
 
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
+
332
348
  </details>
333
349
  <details>
334
350
  <summary>
@@ -417,6 +433,22 @@ DeleteSuppressedDestination
417
433
 
418
434
  [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/)
419
435
 
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
+
420
452
  </details>
421
453
  <details>
422
454
  <summary>
@@ -585,6 +617,14 @@ GetMultiRegionEndpoint
585
617
 
586
618
  [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
619
 
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
+
588
628
  </details>
589
629
  <details>
590
630
  <summary>
@@ -593,6 +633,14 @@ GetSuppressedDestination
593
633
 
594
634
  [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/)
595
635
 
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
+
596
644
  </details>
597
645
  <details>
598
646
  <summary>
@@ -697,6 +745,22 @@ ListRecommendations
697
745
 
698
746
  [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/)
699
747
 
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
+
700
764
  </details>
701
765
  <details>
702
766
  <summary>
@@ -713,6 +777,22 @@ ListTagsForResource
713
777
 
714
778
  [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/)
715
779
 
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
+
716
796
  </details>
717
797
  <details>
718
798
  <summary>
@@ -986,3 +1066,19 @@ UpdateEmailTemplate
986
1066
  [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/)
987
1067
 
988
1068
  </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>