@aws-sdk/client-sesv2 3.36.0 → 3.39.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 (205) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/SESv2.js +0 -10
  3. package/dist-cjs/SESv2Client.js +0 -15
  4. package/dist-cjs/commands/CreateConfigurationSetCommand.js +0 -28
  5. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +0 -30
  6. package/dist-cjs/commands/CreateContactCommand.js +0 -25
  7. package/dist-cjs/commands/CreateContactListCommand.js +0 -24
  8. package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +0 -27
  9. package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +0 -27
  10. package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +0 -30
  11. package/dist-cjs/commands/CreateEmailIdentityCommand.js +0 -49
  12. package/dist-cjs/commands/CreateEmailIdentityPolicyCommand.js +0 -35
  13. package/dist-cjs/commands/CreateEmailTemplateCommand.js +0 -27
  14. package/dist-cjs/commands/CreateImportJobCommand.js +0 -24
  15. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +0 -29
  16. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +0 -30
  17. package/dist-cjs/commands/DeleteContactCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteContactListCommand.js +0 -24
  19. package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +0 -27
  20. package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +0 -24
  21. package/dist-cjs/commands/DeleteEmailIdentityCommand.js +0 -25
  22. package/dist-cjs/commands/DeleteEmailIdentityPolicyCommand.js +0 -36
  23. package/dist-cjs/commands/DeleteEmailTemplateCommand.js +0 -26
  24. package/dist-cjs/commands/DeleteSuppressedDestinationCommand.js +0 -24
  25. package/dist-cjs/commands/GetAccountCommand.js +0 -25
  26. package/dist-cjs/commands/GetBlacklistReportsCommand.js +0 -24
  27. package/dist-cjs/commands/GetConfigurationSetCommand.js +0 -31
  28. package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +0 -31
  29. package/dist-cjs/commands/GetContactCommand.js +0 -24
  30. package/dist-cjs/commands/GetContactListCommand.js +0 -25
  31. package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +0 -28
  32. package/dist-cjs/commands/GetDedicatedIpCommand.js +0 -26
  33. package/dist-cjs/commands/GetDedicatedIpsCommand.js +0 -25
  34. package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +0 -31
  35. package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +0 -24
  36. package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +0 -26
  37. package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +0 -25
  38. package/dist-cjs/commands/GetEmailIdentityCommand.js +0 -26
  39. package/dist-cjs/commands/GetEmailIdentityPoliciesCommand.js +0 -35
  40. package/dist-cjs/commands/GetEmailTemplateCommand.js +0 -27
  41. package/dist-cjs/commands/GetImportJobCommand.js +0 -24
  42. package/dist-cjs/commands/GetSuppressedDestinationCommand.js +0 -25
  43. package/dist-cjs/commands/ListConfigurationSetsCommand.js +0 -30
  44. package/dist-cjs/commands/ListContactListsCommand.js +0 -24
  45. package/dist-cjs/commands/ListContactsCommand.js +0 -24
  46. package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +0 -28
  47. package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +0 -25
  48. package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +0 -26
  49. package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +0 -26
  50. package/dist-cjs/commands/ListEmailIdentitiesCommand.js +0 -27
  51. package/dist-cjs/commands/ListEmailTemplatesCommand.js +0 -27
  52. package/dist-cjs/commands/ListImportJobsCommand.js +0 -24
  53. package/dist-cjs/commands/ListSuppressedDestinationsCommand.js +0 -25
  54. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -29
  55. package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +0 -24
  56. package/dist-cjs/commands/PutAccountDetailsCommand.js +0 -24
  57. package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +0 -24
  58. package/dist-cjs/commands/PutAccountSuppressionAttributesCommand.js +0 -24
  59. package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +0 -25
  60. package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +0 -25
  61. package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +0 -25
  62. package/dist-cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js +0 -24
  63. package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +0 -25
  64. package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +0 -33
  65. package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +0 -24
  66. package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +0 -30
  67. package/dist-cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +0 -24
  68. package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +0 -24
  69. package/dist-cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +0 -46
  70. package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +0 -33
  71. package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +0 -25
  72. package/dist-cjs/commands/PutSuppressedDestinationCommand.js +0 -24
  73. package/dist-cjs/commands/SendBulkEmailCommand.js +0 -24
  74. package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +0 -31
  75. package/dist-cjs/commands/SendEmailCommand.js +0 -47
  76. package/dist-cjs/commands/TagResourceCommand.js +0 -32
  77. package/dist-cjs/commands/TestRenderEmailTemplateCommand.js +0 -27
  78. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  79. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +0 -30
  80. package/dist-cjs/commands/UpdateContactCommand.js +0 -26
  81. package/dist-cjs/commands/UpdateContactListCommand.js +0 -24
  82. package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +0 -27
  83. package/dist-cjs/commands/UpdateEmailIdentityPolicyCommand.js +0 -36
  84. package/dist-cjs/commands/UpdateEmailTemplateCommand.js +0 -27
  85. package/dist-cjs/commands/index.js +84 -0
  86. package/dist-cjs/endpoints.js +6 -1
  87. package/dist-cjs/index.js +4 -96
  88. package/dist-cjs/models/models_0.js +0 -717
  89. package/dist-cjs/pagination/GetDedicatedIpsPaginator.js +0 -10
  90. package/dist-cjs/pagination/ListConfigurationSetsPaginator.js +0 -10
  91. package/dist-cjs/pagination/ListContactListsPaginator.js +0 -10
  92. package/dist-cjs/pagination/ListContactsPaginator.js +0 -10
  93. package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +0 -10
  94. package/dist-cjs/pagination/ListDedicatedIpPoolsPaginator.js +0 -10
  95. package/dist-cjs/pagination/ListDeliverabilityTestReportsPaginator.js +0 -10
  96. package/dist-cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js +0 -10
  97. package/dist-cjs/pagination/ListEmailIdentitiesPaginator.js +0 -10
  98. package/dist-cjs/pagination/ListEmailTemplatesPaginator.js +0 -10
  99. package/dist-cjs/pagination/ListImportJobsPaginator.js +0 -10
  100. package/dist-cjs/pagination/ListSuppressedDestinationsPaginator.js +0 -10
  101. package/dist-cjs/pagination/index.js +16 -0
  102. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  103. package/dist-cjs/runtimeConfig.browser.js +1 -5
  104. package/dist-cjs/runtimeConfig.js +1 -5
  105. package/dist-cjs/runtimeConfig.native.js +0 -3
  106. package/dist-cjs/runtimeConfig.shared.js +0 -3
  107. package/dist-es/commands/index.js +81 -0
  108. package/dist-es/endpoints.js +6 -1
  109. package/dist-es/index.js +4 -96
  110. package/dist-es/pagination/index.js +13 -0
  111. package/dist-types/commands/index.d.ts +81 -0
  112. package/dist-types/index.d.ts +4 -96
  113. package/dist-types/pagination/index.d.ts +13 -0
  114. package/dist-types/ts3.4/SESv2.d.ts +82 -539
  115. package/dist-types/ts3.4/SESv2Client.d.ts +24 -96
  116. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +2 -24
  117. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -26
  118. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/CreateContactListCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +2 -23
  122. package/dist-types/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +2 -26
  123. package/dist-types/ts3.4/commands/CreateEmailIdentityCommand.d.ts +2 -45
  124. package/dist-types/ts3.4/commands/CreateEmailIdentityPolicyCommand.d.ts +2 -31
  125. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +2 -23
  126. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +2 -25
  128. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -26
  129. package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/DeleteContactListCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/DeleteEmailIdentityPolicyCommand.d.ts +2 -32
  135. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/DeleteSuppressedDestinationCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -21
  138. package/dist-types/ts3.4/commands/GetBlacklistReportsCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/GetConfigurationSetCommand.d.ts +2 -27
  140. package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +2 -27
  141. package/dist-types/ts3.4/commands/GetContactCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/GetContactListCommand.d.ts +2 -21
  143. package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -24
  144. package/dist-types/ts3.4/commands/GetDedicatedIpCommand.d.ts +2 -22
  145. package/dist-types/ts3.4/commands/GetDedicatedIpsCommand.d.ts +2 -21
  146. package/dist-types/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +2 -27
  147. package/dist-types/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +2 -22
  149. package/dist-types/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +2 -21
  150. package/dist-types/ts3.4/commands/GetEmailIdentityCommand.d.ts +2 -22
  151. package/dist-types/ts3.4/commands/GetEmailIdentityPoliciesCommand.d.ts +2 -31
  152. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +2 -23
  153. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/GetSuppressedDestinationCommand.d.ts +2 -21
  155. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +2 -26
  156. package/dist-types/ts3.4/commands/ListContactListsCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -24
  159. package/dist-types/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +2 -21
  160. package/dist-types/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +2 -22
  161. package/dist-types/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +2 -22
  162. package/dist-types/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +2 -23
  163. package/dist-types/ts3.4/commands/ListEmailTemplatesCommand.d.ts +2 -23
  164. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/ListSuppressedDestinationsCommand.d.ts +2 -21
  166. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -25
  167. package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/PutAccountDetailsCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/PutAccountSuppressionAttributesCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -21
  172. package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +2 -21
  173. package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +2 -21
  174. package/dist-types/ts3.4/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -21
  176. package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +2 -29
  177. package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +2 -26
  179. package/dist-types/ts3.4/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -42
  182. package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -29
  183. package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +2 -21
  184. package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +2 -27
  187. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +2 -43
  188. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -28
  189. package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +2 -23
  190. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -26
  192. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -22
  193. package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  195. package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +2 -32
  196. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +2 -23
  197. package/dist-types/ts3.4/commands/index.d.ts +81 -0
  198. package/dist-types/ts3.4/index.d.ts +4 -96
  199. package/dist-types/ts3.4/models/models_0.d.ts +947 -4045
  200. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  201. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  202. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  203. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  204. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  205. package/package.json +32 -32
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates contact list metadata. This operation does a complete replacement.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SESv2Client, UpdateContactListCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
14
- * // const { SESv2Client, UpdateContactListCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
15
- * const client = new SESv2Client(config);
16
- * const command = new UpdateContactListCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateContactListCommandInput} for command's `input` shape.
21
- * @see {@link UpdateContactListCommandOutput} for command's `response` shape.
22
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateContactListCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates an existing custom verification email template.</p>
10
- * <p>For more information about custom verification email templates, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html">Using Custom Verification Email Templates</a> in the <i>Amazon SES Developer
11
- * Guide</i>.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { SESv2Client, UpdateCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
17
- * // const { SESv2Client, UpdateCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
18
- * const client = new SESv2Client(config);
19
- * const command = new UpdateCustomVerificationEmailTemplateCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateCustomVerificationEmailTemplateCommandInput} for command's `input` shape.
24
- * @see {@link UpdateCustomVerificationEmailTemplateCommandOutput} for command's `response` shape.
25
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateCustomVerificationEmailTemplateCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the specified sending authorization policy for the given identity (an email
10
- * address or a domain). This API returns successfully even if a policy with the specified
11
- * name does not exist.</p>
12
- * <note>
13
- * <p>This API is for the identity owner only. If you have not verified the identity,
14
- * this API will return an error.</p>
15
- * </note>
16
- * <p>Sending authorization is a feature that enables an identity owner to authorize other
17
- * senders to use its identities. For information about using sending authorization, see
18
- * the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html">Amazon SES Developer
19
- * Guide</a>.</p>
20
- *
21
- * <p>You can execute this operation no more than once per second.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { SESv2Client, UpdateEmailIdentityPolicyCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
26
- * // const { SESv2Client, UpdateEmailIdentityPolicyCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
27
- * const client = new SESv2Client(config);
28
- * const command = new UpdateEmailIdentityPolicyCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link UpdateEmailIdentityPolicyCommandInput} for command's `input` shape.
33
- * @see {@link UpdateEmailIdentityPolicyCommandOutput} for command's `response` shape.
34
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class UpdateEmailIdentityPolicyCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates an email template. Email templates enable you to send personalized email to
10
- * one or more destinations in a single API operation. For more information, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html">Amazon SES Developer
11
- * Guide</a>.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { SESv2Client, UpdateEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
17
- * // const { SESv2Client, UpdateEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
18
- * const client = new SESv2Client(config);
19
- * const command = new UpdateEmailTemplateCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateEmailTemplateCommandInput} for command's `input` shape.
24
- * @see {@link UpdateEmailTemplateCommandOutput} for command's `response` shape.
25
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateEmailTemplateCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateConfigurationSetCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateConfigurationSetEventDestinationCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateContactCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateContactListCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateCustomVerificationEmailTemplateCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateDedicatedIpPoolCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateDeliverabilityTestReportCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateEmailIdentityCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateEmailIdentityPolicyCommand"), exports);
13
+ tslib_1.__exportStar(require("./CreateEmailTemplateCommand"), exports);
14
+ tslib_1.__exportStar(require("./CreateImportJobCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteConfigurationSetCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteConfigurationSetEventDestinationCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteContactCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteContactListCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteCustomVerificationEmailTemplateCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteDedicatedIpPoolCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteEmailIdentityCommand"), exports);
22
+ tslib_1.__exportStar(require("./DeleteEmailIdentityPolicyCommand"), exports);
23
+ tslib_1.__exportStar(require("./DeleteEmailTemplateCommand"), exports);
24
+ tslib_1.__exportStar(require("./DeleteSuppressedDestinationCommand"), exports);
25
+ tslib_1.__exportStar(require("./GetAccountCommand"), exports);
26
+ tslib_1.__exportStar(require("./GetBlacklistReportsCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetConfigurationSetCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetConfigurationSetEventDestinationsCommand"), exports);
29
+ tslib_1.__exportStar(require("./GetContactCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetContactListCommand"), exports);
31
+ tslib_1.__exportStar(require("./GetCustomVerificationEmailTemplateCommand"), exports);
32
+ tslib_1.__exportStar(require("./GetDedicatedIpCommand"), exports);
33
+ tslib_1.__exportStar(require("./GetDedicatedIpsCommand"), exports);
34
+ tslib_1.__exportStar(require("./GetDeliverabilityDashboardOptionsCommand"), exports);
35
+ tslib_1.__exportStar(require("./GetDeliverabilityTestReportCommand"), exports);
36
+ tslib_1.__exportStar(require("./GetDomainDeliverabilityCampaignCommand"), exports);
37
+ tslib_1.__exportStar(require("./GetDomainStatisticsReportCommand"), exports);
38
+ tslib_1.__exportStar(require("./GetEmailIdentityCommand"), exports);
39
+ tslib_1.__exportStar(require("./GetEmailIdentityPoliciesCommand"), exports);
40
+ tslib_1.__exportStar(require("./GetEmailTemplateCommand"), exports);
41
+ tslib_1.__exportStar(require("./GetImportJobCommand"), exports);
42
+ tslib_1.__exportStar(require("./GetSuppressedDestinationCommand"), exports);
43
+ tslib_1.__exportStar(require("./ListConfigurationSetsCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListContactListsCommand"), exports);
45
+ tslib_1.__exportStar(require("./ListContactsCommand"), exports);
46
+ tslib_1.__exportStar(require("./ListCustomVerificationEmailTemplatesCommand"), exports);
47
+ tslib_1.__exportStar(require("./ListDedicatedIpPoolsCommand"), exports);
48
+ tslib_1.__exportStar(require("./ListDeliverabilityTestReportsCommand"), exports);
49
+ tslib_1.__exportStar(require("./ListDomainDeliverabilityCampaignsCommand"), exports);
50
+ tslib_1.__exportStar(require("./ListEmailIdentitiesCommand"), exports);
51
+ tslib_1.__exportStar(require("./ListEmailTemplatesCommand"), exports);
52
+ tslib_1.__exportStar(require("./ListImportJobsCommand"), exports);
53
+ tslib_1.__exportStar(require("./ListSuppressedDestinationsCommand"), exports);
54
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
55
+ tslib_1.__exportStar(require("./PutAccountDedicatedIpWarmupAttributesCommand"), exports);
56
+ tslib_1.__exportStar(require("./PutAccountDetailsCommand"), exports);
57
+ tslib_1.__exportStar(require("./PutAccountSendingAttributesCommand"), exports);
58
+ tslib_1.__exportStar(require("./PutAccountSuppressionAttributesCommand"), exports);
59
+ tslib_1.__exportStar(require("./PutConfigurationSetDeliveryOptionsCommand"), exports);
60
+ tslib_1.__exportStar(require("./PutConfigurationSetReputationOptionsCommand"), exports);
61
+ tslib_1.__exportStar(require("./PutConfigurationSetSendingOptionsCommand"), exports);
62
+ tslib_1.__exportStar(require("./PutConfigurationSetSuppressionOptionsCommand"), exports);
63
+ tslib_1.__exportStar(require("./PutConfigurationSetTrackingOptionsCommand"), exports);
64
+ tslib_1.__exportStar(require("./PutDedicatedIpInPoolCommand"), exports);
65
+ tslib_1.__exportStar(require("./PutDedicatedIpWarmupAttributesCommand"), exports);
66
+ tslib_1.__exportStar(require("./PutDeliverabilityDashboardOptionCommand"), exports);
67
+ tslib_1.__exportStar(require("./PutEmailIdentityConfigurationSetAttributesCommand"), exports);
68
+ tslib_1.__exportStar(require("./PutEmailIdentityDkimAttributesCommand"), exports);
69
+ tslib_1.__exportStar(require("./PutEmailIdentityDkimSigningAttributesCommand"), exports);
70
+ tslib_1.__exportStar(require("./PutEmailIdentityFeedbackAttributesCommand"), exports);
71
+ tslib_1.__exportStar(require("./PutEmailIdentityMailFromAttributesCommand"), exports);
72
+ tslib_1.__exportStar(require("./PutSuppressedDestinationCommand"), exports);
73
+ tslib_1.__exportStar(require("./SendBulkEmailCommand"), exports);
74
+ tslib_1.__exportStar(require("./SendCustomVerificationEmailCommand"), exports);
75
+ tslib_1.__exportStar(require("./SendEmailCommand"), exports);
76
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
77
+ tslib_1.__exportStar(require("./TestRenderEmailTemplateCommand"), exports);
78
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
79
+ tslib_1.__exportStar(require("./UpdateConfigurationSetEventDestinationCommand"), exports);
80
+ tslib_1.__exportStar(require("./UpdateContactCommand"), exports);
81
+ tslib_1.__exportStar(require("./UpdateContactListCommand"), exports);
82
+ tslib_1.__exportStar(require("./UpdateCustomVerificationEmailTemplateCommand"), exports);
83
+ tslib_1.__exportStar(require("./UpdateEmailIdentityPolicyCommand"), exports);
84
+ tslib_1.__exportStar(require("./UpdateEmailTemplateCommand"), exports);
@@ -33,22 +33,27 @@ const partitionHash = {
33
33
  "us-west-1",
34
34
  "us-west-2",
35
35
  ],
36
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
36
37
  hostname: "email.{region}.amazonaws.com",
37
38
  },
38
39
  "aws-cn": {
39
40
  regions: ["cn-north-1", "cn-northwest-1"],
41
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
40
42
  hostname: "email.{region}.amazonaws.com.cn",
41
43
  },
42
44
  "aws-iso": {
43
- regions: ["us-iso-east-1"],
45
+ regions: ["us-iso-east-1", "us-iso-west-1"],
46
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
44
47
  hostname: "email.{region}.c2s.ic.gov",
45
48
  },
46
49
  "aws-iso-b": {
47
50
  regions: ["us-isob-east-1"],
51
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
48
52
  hostname: "email.{region}.sc2s.sgov.gov",
49
53
  },
50
54
  "aws-us-gov": {
51
55
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
56
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
52
57
  hostname: "email.{region}.amazonaws.com",
53
58
  },
54
59
  };
package/dist-cjs/index.js CHANGED
@@ -1,100 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./SESv2Client"), exports);
5
4
  tslib_1.__exportStar(require("./SESv2"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetEventDestinationCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateContactCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateContactListCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateCustomVerificationEmailTemplateCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateDedicatedIpPoolCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateDeliverabilityTestReportCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreateEmailIdentityCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateEmailIdentityPolicyCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/CreateEmailTemplateCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/CreateImportJobCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetEventDestinationCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteContactCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DeleteContactListCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DeleteCustomVerificationEmailTemplateCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeleteDedicatedIpPoolCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DeleteEmailIdentityCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DeleteEmailIdentityPolicyCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DeleteEmailTemplateCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DeleteSuppressedDestinationCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/GetAccountCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/GetBlacklistReportsCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/GetConfigurationSetCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/GetConfigurationSetEventDestinationsCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/GetContactCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/GetContactListCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/GetCustomVerificationEmailTemplateCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/GetDedicatedIpCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/GetDedicatedIpsCommand"), exports);
36
- tslib_1.__exportStar(require("./pagination/GetDedicatedIpsPaginator"), exports);
37
- tslib_1.__exportStar(require("./commands/GetDeliverabilityDashboardOptionsCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/GetDeliverabilityTestReportCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/GetDomainDeliverabilityCampaignCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/GetDomainStatisticsReportCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/GetEmailIdentityCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/GetEmailIdentityPoliciesCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/GetEmailTemplateCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/GetImportJobCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/GetSuppressedDestinationCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/ListConfigurationSetsCommand"), exports);
47
- tslib_1.__exportStar(require("./pagination/ListConfigurationSetsPaginator"), exports);
48
- tslib_1.__exportStar(require("./commands/ListContactListsCommand"), exports);
49
- tslib_1.__exportStar(require("./pagination/ListContactListsPaginator"), exports);
50
- tslib_1.__exportStar(require("./commands/ListContactsCommand"), exports);
51
- tslib_1.__exportStar(require("./pagination/ListContactsPaginator"), exports);
52
- tslib_1.__exportStar(require("./commands/ListCustomVerificationEmailTemplatesCommand"), exports);
53
- tslib_1.__exportStar(require("./pagination/ListCustomVerificationEmailTemplatesPaginator"), exports);
54
- tslib_1.__exportStar(require("./commands/ListDedicatedIpPoolsCommand"), exports);
55
- tslib_1.__exportStar(require("./pagination/ListDedicatedIpPoolsPaginator"), exports);
56
- tslib_1.__exportStar(require("./commands/ListDeliverabilityTestReportsCommand"), exports);
57
- tslib_1.__exportStar(require("./pagination/ListDeliverabilityTestReportsPaginator"), exports);
58
- tslib_1.__exportStar(require("./commands/ListDomainDeliverabilityCampaignsCommand"), exports);
59
- tslib_1.__exportStar(require("./pagination/ListDomainDeliverabilityCampaignsPaginator"), exports);
60
- tslib_1.__exportStar(require("./commands/ListEmailIdentitiesCommand"), exports);
61
- tslib_1.__exportStar(require("./pagination/ListEmailIdentitiesPaginator"), exports);
62
- tslib_1.__exportStar(require("./commands/ListEmailTemplatesCommand"), exports);
63
- tslib_1.__exportStar(require("./pagination/ListEmailTemplatesPaginator"), exports);
64
- tslib_1.__exportStar(require("./commands/ListImportJobsCommand"), exports);
65
- tslib_1.__exportStar(require("./pagination/ListImportJobsPaginator"), exports);
66
- tslib_1.__exportStar(require("./commands/ListSuppressedDestinationsCommand"), exports);
67
- tslib_1.__exportStar(require("./pagination/ListSuppressedDestinationsPaginator"), exports);
68
- tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
69
- tslib_1.__exportStar(require("./commands/PutAccountDedicatedIpWarmupAttributesCommand"), exports);
70
- tslib_1.__exportStar(require("./commands/PutAccountDetailsCommand"), exports);
71
- tslib_1.__exportStar(require("./commands/PutAccountSendingAttributesCommand"), exports);
72
- tslib_1.__exportStar(require("./commands/PutAccountSuppressionAttributesCommand"), exports);
73
- tslib_1.__exportStar(require("./commands/PutConfigurationSetDeliveryOptionsCommand"), exports);
74
- tslib_1.__exportStar(require("./commands/PutConfigurationSetReputationOptionsCommand"), exports);
75
- tslib_1.__exportStar(require("./commands/PutConfigurationSetSendingOptionsCommand"), exports);
76
- tslib_1.__exportStar(require("./commands/PutConfigurationSetSuppressionOptionsCommand"), exports);
77
- tslib_1.__exportStar(require("./commands/PutConfigurationSetTrackingOptionsCommand"), exports);
78
- tslib_1.__exportStar(require("./commands/PutDedicatedIpInPoolCommand"), exports);
79
- tslib_1.__exportStar(require("./commands/PutDedicatedIpWarmupAttributesCommand"), exports);
80
- tslib_1.__exportStar(require("./commands/PutDeliverabilityDashboardOptionCommand"), exports);
81
- tslib_1.__exportStar(require("./commands/PutEmailIdentityConfigurationSetAttributesCommand"), exports);
82
- tslib_1.__exportStar(require("./commands/PutEmailIdentityDkimAttributesCommand"), exports);
83
- tslib_1.__exportStar(require("./commands/PutEmailIdentityDkimSigningAttributesCommand"), exports);
84
- tslib_1.__exportStar(require("./commands/PutEmailIdentityFeedbackAttributesCommand"), exports);
85
- tslib_1.__exportStar(require("./commands/PutEmailIdentityMailFromAttributesCommand"), exports);
86
- tslib_1.__exportStar(require("./commands/PutSuppressedDestinationCommand"), exports);
87
- tslib_1.__exportStar(require("./commands/SendBulkEmailCommand"), exports);
88
- tslib_1.__exportStar(require("./commands/SendCustomVerificationEmailCommand"), exports);
89
- tslib_1.__exportStar(require("./commands/SendEmailCommand"), exports);
90
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
91
- tslib_1.__exportStar(require("./commands/TestRenderEmailTemplateCommand"), exports);
92
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
93
- tslib_1.__exportStar(require("./commands/UpdateConfigurationSetEventDestinationCommand"), exports);
94
- tslib_1.__exportStar(require("./commands/UpdateContactCommand"), exports);
95
- tslib_1.__exportStar(require("./commands/UpdateContactListCommand"), exports);
96
- tslib_1.__exportStar(require("./commands/UpdateCustomVerificationEmailTemplateCommand"), exports);
97
- tslib_1.__exportStar(require("./commands/UpdateEmailIdentityPolicyCommand"), exports);
98
- tslib_1.__exportStar(require("./commands/UpdateEmailTemplateCommand"), exports);
99
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
100
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./SESv2Client"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);