@aws-sdk/client-ses 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 (181) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/SES.js +0 -11
  3. package/dist-cjs/SESClient.js +0 -16
  4. package/dist-cjs/commands/CloneReceiptRuleSetCommand.js +0 -29
  5. package/dist-cjs/commands/CreateConfigurationSetCommand.js +0 -28
  6. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +0 -33
  7. package/dist-cjs/commands/CreateConfigurationSetTrackingOptionsCommand.js +0 -28
  8. package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +0 -27
  9. package/dist-cjs/commands/CreateReceiptFilterCommand.js +0 -26
  10. package/dist-cjs/commands/CreateReceiptRuleCommand.js +0 -27
  11. package/dist-cjs/commands/CreateReceiptRuleSetCommand.js +0 -27
  12. package/dist-cjs/commands/CreateTemplateCommand.js +0 -27
  13. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +0 -27
  15. package/dist-cjs/commands/DeleteConfigurationSetTrackingOptionsCommand.js +0 -33
  16. package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +0 -27
  17. package/dist-cjs/commands/DeleteIdentityCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteIdentityPolicyCommand.js +0 -35
  19. package/dist-cjs/commands/DeleteReceiptFilterCommand.js +0 -27
  20. package/dist-cjs/commands/DeleteReceiptRuleCommand.js +0 -27
  21. package/dist-cjs/commands/DeleteReceiptRuleSetCommand.js +0 -30
  22. package/dist-cjs/commands/DeleteTemplateCommand.js +0 -25
  23. package/dist-cjs/commands/DeleteVerifiedEmailAddressCommand.js +0 -25
  24. package/dist-cjs/commands/DescribeActiveReceiptRuleSetCommand.js +0 -28
  25. package/dist-cjs/commands/DescribeConfigurationSetCommand.js +0 -27
  26. package/dist-cjs/commands/DescribeReceiptRuleCommand.js +0 -27
  27. package/dist-cjs/commands/DescribeReceiptRuleSetCommand.js +0 -26
  28. package/dist-cjs/commands/GetAccountSendingEnabledCommand.js +0 -25
  29. package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +0 -28
  30. package/dist-cjs/commands/GetIdentityDkimAttributesCommand.js +0 -46
  31. package/dist-cjs/commands/GetIdentityMailFromDomainAttributesCommand.js +0 -27
  32. package/dist-cjs/commands/GetIdentityNotificationAttributesCommand.js +0 -29
  33. package/dist-cjs/commands/GetIdentityPoliciesCommand.js +0 -35
  34. package/dist-cjs/commands/GetIdentityVerificationAttributesCommand.js +0 -39
  35. package/dist-cjs/commands/GetSendQuotaCommand.js +0 -25
  36. package/dist-cjs/commands/GetSendStatisticsCommand.js +0 -27
  37. package/dist-cjs/commands/GetTemplateCommand.js +0 -26
  38. package/dist-cjs/commands/ListConfigurationSetsCommand.js +0 -33
  39. package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +0 -28
  40. package/dist-cjs/commands/ListIdentitiesCommand.js +0 -26
  41. package/dist-cjs/commands/ListIdentityPoliciesCommand.js +0 -35
  42. package/dist-cjs/commands/ListReceiptFiltersCommand.js +0 -28
  43. package/dist-cjs/commands/ListReceiptRuleSetsCommand.js +0 -29
  44. package/dist-cjs/commands/ListTemplatesCommand.js +0 -26
  45. package/dist-cjs/commands/ListVerifiedEmailAddressesCommand.js +0 -25
  46. package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +0 -24
  47. package/dist-cjs/commands/PutIdentityPolicyCommand.js +0 -34
  48. package/dist-cjs/commands/ReorderReceiptRuleSetCommand.js +0 -31
  49. package/dist-cjs/commands/SendBounceCommand.js +0 -32
  50. package/dist-cjs/commands/SendBulkTemplatedEmailCommand.js +0 -66
  51. package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +0 -32
  52. package/dist-cjs/commands/SendEmailCommand.js +0 -68
  53. package/dist-cjs/commands/SendRawEmailCommand.js +0 -132
  54. package/dist-cjs/commands/SendTemplatedEmailCommand.js +0 -73
  55. package/dist-cjs/commands/SetActiveReceiptRuleSetCommand.js +0 -30
  56. package/dist-cjs/commands/SetIdentityDkimEnabledCommand.js +0 -36
  57. package/dist-cjs/commands/SetIdentityFeedbackForwardingEnabledCommand.js +0 -34
  58. package/dist-cjs/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +0 -29
  59. package/dist-cjs/commands/SetIdentityMailFromDomainCommand.js +0 -33
  60. package/dist-cjs/commands/SetIdentityNotificationTopicCommand.js +0 -32
  61. package/dist-cjs/commands/SetReceiptRulePositionCommand.js +0 -27
  62. package/dist-cjs/commands/TestRenderTemplateCommand.js +0 -26
  63. package/dist-cjs/commands/UpdateAccountSendingEnabledCommand.js +0 -29
  64. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +0 -35
  65. package/dist-cjs/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +0 -28
  66. package/dist-cjs/commands/UpdateConfigurationSetSendingEnabledCommand.js +0 -29
  67. package/dist-cjs/commands/UpdateConfigurationSetTrackingOptionsCommand.js +0 -28
  68. package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +0 -27
  69. package/dist-cjs/commands/UpdateReceiptRuleCommand.js +0 -27
  70. package/dist-cjs/commands/UpdateTemplateCommand.js +0 -27
  71. package/dist-cjs/commands/VerifyDomainDkimCommand.js +0 -62
  72. package/dist-cjs/commands/VerifyDomainIdentityCommand.js +0 -30
  73. package/dist-cjs/commands/VerifyEmailAddressCommand.js +0 -25
  74. package/dist-cjs/commands/VerifyEmailIdentityCommand.js +0 -27
  75. package/dist-cjs/commands/index.js +74 -0
  76. package/dist-cjs/endpoints.js +6 -1
  77. package/dist-cjs/index.js +5 -77
  78. package/dist-cjs/models/models_0.js +0 -615
  79. package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +0 -10
  80. package/dist-cjs/pagination/ListIdentitiesPaginator.js +0 -10
  81. package/dist-cjs/pagination/index.js +6 -0
  82. package/dist-cjs/protocols/Aws_query.js +0 -2
  83. package/dist-cjs/runtimeConfig.browser.js +1 -5
  84. package/dist-cjs/runtimeConfig.js +1 -5
  85. package/dist-cjs/runtimeConfig.native.js +0 -3
  86. package/dist-cjs/runtimeConfig.shared.js +0 -3
  87. package/dist-cjs/waiters/index.js +4 -0
  88. package/dist-cjs/waiters/waitForIdentityExists.js +0 -9
  89. package/dist-es/commands/index.js +71 -0
  90. package/dist-es/endpoints.js +6 -1
  91. package/dist-es/index.js +5 -77
  92. package/dist-es/pagination/index.js +3 -0
  93. package/dist-es/waiters/index.js +1 -0
  94. package/dist-types/commands/index.d.ts +71 -0
  95. package/dist-types/index.d.ts +5 -77
  96. package/dist-types/pagination/index.d.ts +3 -0
  97. package/dist-types/ts3.4/SES.d.ts +72 -838
  98. package/dist-types/ts3.4/SESClient.d.ts +24 -97
  99. package/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +2 -25
  100. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +2 -24
  101. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -29
  102. package/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +2 -24
  103. package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  104. package/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +2 -22
  105. package/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +2 -23
  106. package/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +2 -23
  108. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +2 -22
  109. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +2 -29
  111. package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +2 -22
  113. package/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +2 -31
  114. package/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +2 -23
  115. package/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +2 -26
  117. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +2 -21
  118. package/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +2 -24
  120. package/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +2 -23
  122. package/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +2 -42
  126. package/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +2 -23
  127. package/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +2 -25
  128. package/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +2 -31
  129. package/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +2 -35
  130. package/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +2 -21
  131. package/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +2 -22
  133. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +2 -29
  134. package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -24
  135. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +2 -31
  137. package/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +2 -24
  138. package/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +2 -25
  139. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +2 -22
  140. package/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +2 -21
  141. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +2 -30
  143. package/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +2 -27
  144. package/dist-types/ts3.4/commands/SendBounceCommand.d.ts +2 -28
  145. package/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +2 -62
  146. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +2 -28
  147. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +2 -64
  148. package/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +2 -128
  149. package/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +2 -69
  150. package/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +2 -26
  151. package/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +2 -32
  152. package/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +2 -30
  153. package/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +2 -25
  154. package/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +2 -29
  155. package/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +2 -28
  156. package/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +2 -23
  157. package/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +2 -22
  158. package/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +2 -25
  159. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -31
  160. package/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +2 -24
  161. package/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +2 -25
  162. package/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +2 -24
  163. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  164. package/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +2 -23
  165. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +2 -23
  166. package/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +2 -58
  167. package/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +2 -26
  168. package/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +2 -21
  169. package/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +2 -23
  170. package/dist-types/ts3.4/commands/index.d.ts +71 -0
  171. package/dist-types/ts3.4/index.d.ts +5 -77
  172. package/dist-types/ts3.4/models/models_0.d.ts +748 -3405
  173. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  178. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  179. package/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +2 -9
  180. package/dist-types/waiters/index.d.ts +1 -0
  181. package/package.json +33 -33
@@ -5,73 +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_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Returns a set of DKIM tokens for a domain identity.</p>
10
- * <important>
11
- * <p>When you execute the <code>VerifyDomainDkim</code> operation, the domain that you
12
- * specify is added to the list of identities that are associated with your account.
13
- * This is true even if you haven't already associated the domain with your account by
14
- * using the <code>VerifyDomainIdentity</code> operation. However, you can't send email
15
- * from the domain until you either successfully <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html">verify it</a> or you
16
- * successfully <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">set up DKIM for
17
- * it</a>.</p>
18
- * </important>
19
- * <p>You use the tokens that are generated by this operation to create CNAME records. When
20
- * Amazon SES detects that you've added these records to the DNS configuration for a domain, you
21
- * can start sending email from that domain. You can start sending email even if you
22
- * haven't added the TXT record provided by the VerifyDomainIdentity operation to the DNS
23
- * configuration for your domain. All email that you send from the domain is authenticated
24
- * using DKIM.</p>
25
- * <p>To create the CNAME records for DKIM authentication, use the following values:</p>
26
- * <ul>
27
- * <li>
28
- * <p>
29
- * <b>Name</b>:
30
- * <i>token</i>._domainkey.<i>example.com</i>
31
- * </p>
32
- * </li>
33
- * <li>
34
- * <p>
35
- * <b>Type</b>: CNAME</p>
36
- * </li>
37
- * <li>
38
- * <p>
39
- * <b>Value</b>:
40
- * <i>token</i>.dkim.amazonses.com</p>
41
- * </li>
42
- * </ul>
43
- * <p>In the preceding example, replace <i>token</i> with one of the tokens
44
- * that are generated when you execute this operation. Replace
45
- * <i>example.com</i> with your domain. Repeat this process for each
46
- * token that's generated by this operation.</p>
47
- * <p>You can execute this operation no more than once per second.</p>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { SESClient, VerifyDomainDkimCommand } from "@aws-sdk/client-ses"; // ES Modules import
52
- * // const { SESClient, VerifyDomainDkimCommand } = require("@aws-sdk/client-ses"); // CommonJS import
53
- * const client = new SESClient(config);
54
- * const command = new VerifyDomainDkimCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link VerifyDomainDkimCommandInput} for command's `input` shape.
59
- * @see {@link VerifyDomainDkimCommandOutput} for command's `response` shape.
60
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
8
  class VerifyDomainDkimCommand extends smithy_client_1.Command {
64
- // Start section: command_properties
65
- // End section: command_properties
66
9
  constructor(input) {
67
- // Start section: command_constructor
68
10
  super();
69
11
  this.input = input;
70
- // End section: command_constructor
71
12
  }
72
- /**
73
- * @internal
74
- */
75
13
  resolveMiddleware(clientStack, configuration, options) {
76
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
77
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +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_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Adds a domain to the list of identities for your Amazon SES account in the current AWS
10
- * Region and attempts to verify it. For more information about verifying domains, see
11
- * <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html">Verifying Email
12
- * Addresses and Domains</a> in the <i>Amazon SES Developer
13
- * Guide.</i>
14
- * </p>
15
- * <p>You can execute this operation no more than once per second.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { SESClient, VerifyDomainIdentityCommand } from "@aws-sdk/client-ses"; // ES Modules import
20
- * // const { SESClient, VerifyDomainIdentityCommand } = require("@aws-sdk/client-ses"); // CommonJS import
21
- * const client = new SESClient(config);
22
- * const command = new VerifyDomainIdentityCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link VerifyDomainIdentityCommandInput} for command's `input` shape.
27
- * @see {@link VerifyDomainIdentityCommandOutput} for command's `response` shape.
28
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class VerifyDomainIdentityCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +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_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deprecated. Use the <code>VerifyEmailIdentity</code> operation to verify a new email
10
- * address.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SESClient, VerifyEmailAddressCommand } from "@aws-sdk/client-ses"; // ES Modules import
15
- * // const { SESClient, VerifyEmailAddressCommand } = require("@aws-sdk/client-ses"); // CommonJS import
16
- * const client = new SESClient(config);
17
- * const command = new VerifyEmailAddressCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link VerifyEmailAddressCommandInput} for command's `input` shape.
22
- * @see {@link VerifyEmailAddressCommandOutput} for command's `response` shape.
23
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class VerifyEmailAddressCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
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_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Adds an email address to the list of identities for your Amazon SES account in the current
10
- * AWS region and attempts to verify it. As a result of executing this operation, a
11
- * verification email is sent to the specified address.</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 { SESClient, VerifyEmailIdentityCommand } from "@aws-sdk/client-ses"; // ES Modules import
17
- * // const { SESClient, VerifyEmailIdentityCommand } = require("@aws-sdk/client-ses"); // CommonJS import
18
- * const client = new SESClient(config);
19
- * const command = new VerifyEmailIdentityCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link VerifyEmailIdentityCommandInput} for command's `input` shape.
24
- * @see {@link VerifyEmailIdentityCommandOutput} for command's `response` shape.
25
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class VerifyEmailIdentityCommand 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,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CloneReceiptRuleSetCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateConfigurationSetCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateConfigurationSetEventDestinationCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateConfigurationSetTrackingOptionsCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateCustomVerificationEmailTemplateCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateReceiptFilterCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateReceiptRuleCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateReceiptRuleSetCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateTemplateCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteConfigurationSetCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteConfigurationSetEventDestinationCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteConfigurationSetTrackingOptionsCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteCustomVerificationEmailTemplateCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteIdentityCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteIdentityPolicyCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteReceiptFilterCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteReceiptRuleCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteReceiptRuleSetCommand"), exports);
22
+ tslib_1.__exportStar(require("./DeleteTemplateCommand"), exports);
23
+ tslib_1.__exportStar(require("./DeleteVerifiedEmailAddressCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeActiveReceiptRuleSetCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeConfigurationSetCommand"), exports);
26
+ tslib_1.__exportStar(require("./DescribeReceiptRuleCommand"), exports);
27
+ tslib_1.__exportStar(require("./DescribeReceiptRuleSetCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetAccountSendingEnabledCommand"), exports);
29
+ tslib_1.__exportStar(require("./GetCustomVerificationEmailTemplateCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetIdentityDkimAttributesCommand"), exports);
31
+ tslib_1.__exportStar(require("./GetIdentityMailFromDomainAttributesCommand"), exports);
32
+ tslib_1.__exportStar(require("./GetIdentityNotificationAttributesCommand"), exports);
33
+ tslib_1.__exportStar(require("./GetIdentityPoliciesCommand"), exports);
34
+ tslib_1.__exportStar(require("./GetIdentityVerificationAttributesCommand"), exports);
35
+ tslib_1.__exportStar(require("./GetSendQuotaCommand"), exports);
36
+ tslib_1.__exportStar(require("./GetSendStatisticsCommand"), exports);
37
+ tslib_1.__exportStar(require("./GetTemplateCommand"), exports);
38
+ tslib_1.__exportStar(require("./ListConfigurationSetsCommand"), exports);
39
+ tslib_1.__exportStar(require("./ListCustomVerificationEmailTemplatesCommand"), exports);
40
+ tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
41
+ tslib_1.__exportStar(require("./ListIdentityPoliciesCommand"), exports);
42
+ tslib_1.__exportStar(require("./ListReceiptFiltersCommand"), exports);
43
+ tslib_1.__exportStar(require("./ListReceiptRuleSetsCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListTemplatesCommand"), exports);
45
+ tslib_1.__exportStar(require("./ListVerifiedEmailAddressesCommand"), exports);
46
+ tslib_1.__exportStar(require("./PutConfigurationSetDeliveryOptionsCommand"), exports);
47
+ tslib_1.__exportStar(require("./PutIdentityPolicyCommand"), exports);
48
+ tslib_1.__exportStar(require("./ReorderReceiptRuleSetCommand"), exports);
49
+ tslib_1.__exportStar(require("./SendBounceCommand"), exports);
50
+ tslib_1.__exportStar(require("./SendBulkTemplatedEmailCommand"), exports);
51
+ tslib_1.__exportStar(require("./SendCustomVerificationEmailCommand"), exports);
52
+ tslib_1.__exportStar(require("./SendEmailCommand"), exports);
53
+ tslib_1.__exportStar(require("./SendRawEmailCommand"), exports);
54
+ tslib_1.__exportStar(require("./SendTemplatedEmailCommand"), exports);
55
+ tslib_1.__exportStar(require("./SetActiveReceiptRuleSetCommand"), exports);
56
+ tslib_1.__exportStar(require("./SetIdentityDkimEnabledCommand"), exports);
57
+ tslib_1.__exportStar(require("./SetIdentityFeedbackForwardingEnabledCommand"), exports);
58
+ tslib_1.__exportStar(require("./SetIdentityHeadersInNotificationsEnabledCommand"), exports);
59
+ tslib_1.__exportStar(require("./SetIdentityMailFromDomainCommand"), exports);
60
+ tslib_1.__exportStar(require("./SetIdentityNotificationTopicCommand"), exports);
61
+ tslib_1.__exportStar(require("./SetReceiptRulePositionCommand"), exports);
62
+ tslib_1.__exportStar(require("./TestRenderTemplateCommand"), exports);
63
+ tslib_1.__exportStar(require("./UpdateAccountSendingEnabledCommand"), exports);
64
+ tslib_1.__exportStar(require("./UpdateConfigurationSetEventDestinationCommand"), exports);
65
+ tslib_1.__exportStar(require("./UpdateConfigurationSetReputationMetricsEnabledCommand"), exports);
66
+ tslib_1.__exportStar(require("./UpdateConfigurationSetSendingEnabledCommand"), exports);
67
+ tslib_1.__exportStar(require("./UpdateConfigurationSetTrackingOptionsCommand"), exports);
68
+ tslib_1.__exportStar(require("./UpdateCustomVerificationEmailTemplateCommand"), exports);
69
+ tslib_1.__exportStar(require("./UpdateReceiptRuleCommand"), exports);
70
+ tslib_1.__exportStar(require("./UpdateTemplateCommand"), exports);
71
+ tslib_1.__exportStar(require("./VerifyDomainDkimCommand"), exports);
72
+ tslib_1.__exportStar(require("./VerifyDomainIdentityCommand"), exports);
73
+ tslib_1.__exportStar(require("./VerifyEmailAddressCommand"), exports);
74
+ tslib_1.__exportStar(require("./VerifyEmailIdentityCommand"), 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,81 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./SESClient"), exports);
5
4
  tslib_1.__exportStar(require("./SES"), exports);
6
- tslib_1.__exportStar(require("./commands/CloneReceiptRuleSetCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetEventDestinationCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetTrackingOptionsCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateCustomVerificationEmailTemplateCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateReceiptFilterCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateReceiptRuleCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreateReceiptRuleSetCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateTemplateCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetEventDestinationCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetTrackingOptionsCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteCustomVerificationEmailTemplateCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteIdentityCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DeleteIdentityPolicyCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DeleteReceiptFilterCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeleteReceiptRuleCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DeleteReceiptRuleSetCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DeleteTemplateCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DeleteVerifiedEmailAddressCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DescribeActiveReceiptRuleSetCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/DescribeConfigurationSetCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribeReceiptRuleCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DescribeReceiptRuleSetCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/GetAccountSendingEnabledCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/GetCustomVerificationEmailTemplateCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/GetIdentityDkimAttributesCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/GetIdentityMailFromDomainAttributesCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/GetIdentityNotificationAttributesCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/GetIdentityPoliciesCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/GetIdentityVerificationAttributesCommand"), exports);
37
- tslib_1.__exportStar(require("./waiters/waitForIdentityExists"), exports);
38
- tslib_1.__exportStar(require("./commands/GetSendQuotaCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/GetSendStatisticsCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/GetTemplateCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/ListConfigurationSetsCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/ListCustomVerificationEmailTemplatesCommand"), exports);
43
- tslib_1.__exportStar(require("./pagination/ListCustomVerificationEmailTemplatesPaginator"), exports);
44
- tslib_1.__exportStar(require("./commands/ListIdentitiesCommand"), exports);
45
- tslib_1.__exportStar(require("./pagination/ListIdentitiesPaginator"), exports);
46
- tslib_1.__exportStar(require("./commands/ListIdentityPoliciesCommand"), exports);
47
- tslib_1.__exportStar(require("./commands/ListReceiptFiltersCommand"), exports);
48
- tslib_1.__exportStar(require("./commands/ListReceiptRuleSetsCommand"), exports);
49
- tslib_1.__exportStar(require("./commands/ListTemplatesCommand"), exports);
50
- tslib_1.__exportStar(require("./commands/ListVerifiedEmailAddressesCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/PutConfigurationSetDeliveryOptionsCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/PutIdentityPolicyCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/ReorderReceiptRuleSetCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/SendBounceCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/SendBulkTemplatedEmailCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/SendCustomVerificationEmailCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/SendEmailCommand"), exports);
58
- tslib_1.__exportStar(require("./commands/SendRawEmailCommand"), exports);
59
- tslib_1.__exportStar(require("./commands/SendTemplatedEmailCommand"), exports);
60
- tslib_1.__exportStar(require("./commands/SetActiveReceiptRuleSetCommand"), exports);
61
- tslib_1.__exportStar(require("./commands/SetIdentityDkimEnabledCommand"), exports);
62
- tslib_1.__exportStar(require("./commands/SetIdentityFeedbackForwardingEnabledCommand"), exports);
63
- tslib_1.__exportStar(require("./commands/SetIdentityHeadersInNotificationsEnabledCommand"), exports);
64
- tslib_1.__exportStar(require("./commands/SetIdentityMailFromDomainCommand"), exports);
65
- tslib_1.__exportStar(require("./commands/SetIdentityNotificationTopicCommand"), exports);
66
- tslib_1.__exportStar(require("./commands/SetReceiptRulePositionCommand"), exports);
67
- tslib_1.__exportStar(require("./commands/TestRenderTemplateCommand"), exports);
68
- tslib_1.__exportStar(require("./commands/UpdateAccountSendingEnabledCommand"), exports);
69
- tslib_1.__exportStar(require("./commands/UpdateConfigurationSetEventDestinationCommand"), exports);
70
- tslib_1.__exportStar(require("./commands/UpdateConfigurationSetReputationMetricsEnabledCommand"), exports);
71
- tslib_1.__exportStar(require("./commands/UpdateConfigurationSetSendingEnabledCommand"), exports);
72
- tslib_1.__exportStar(require("./commands/UpdateConfigurationSetTrackingOptionsCommand"), exports);
73
- tslib_1.__exportStar(require("./commands/UpdateCustomVerificationEmailTemplateCommand"), exports);
74
- tslib_1.__exportStar(require("./commands/UpdateReceiptRuleCommand"), exports);
75
- tslib_1.__exportStar(require("./commands/UpdateTemplateCommand"), exports);
76
- tslib_1.__exportStar(require("./commands/VerifyDomainDkimCommand"), exports);
77
- tslib_1.__exportStar(require("./commands/VerifyDomainIdentityCommand"), exports);
78
- tslib_1.__exportStar(require("./commands/VerifyEmailAddressCommand"), exports);
79
- tslib_1.__exportStar(require("./commands/VerifyEmailIdentityCommand"), exports);
80
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
81
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./SESClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./waiters"), exports);