@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,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_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain
10
- * access to reputation, deliverability, and other metrics for the domains that you use to
11
- * send email. You also gain the ability to perform predictive inbox placement tests.</p>
12
- *
13
- * <p>When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition
14
- * to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more
15
- * information about the features and cost of a Deliverability dashboard subscription, see <a href="http://aws.amazon.com/ses/pricing/">Amazon SES Pricing</a>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { SESv2Client, PutDeliverabilityDashboardOptionCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
20
- * // const { SESv2Client, PutDeliverabilityDashboardOptionCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
21
- * const client = new SESv2Client(config);
22
- * const command = new PutDeliverabilityDashboardOptionCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link PutDeliverabilityDashboardOptionCommandInput} for command's `input` shape.
27
- * @see {@link PutDeliverabilityDashboardOptionCommandOutput} for command's `response` shape.
28
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class PutDeliverabilityDashboardOptionCommand 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,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>Used to associate a configuration set with an email identity.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SESv2Client, PutEmailIdentityConfigurationSetAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
14
- * // const { SESv2Client, PutEmailIdentityConfigurationSetAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
15
- * const client = new SESv2Client(config);
16
- * const command = new PutEmailIdentityConfigurationSetAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PutEmailIdentityConfigurationSetAttributesCommandInput} for command's `input` shape.
21
- * @see {@link PutEmailIdentityConfigurationSetAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PutEmailIdentityConfigurationSetAttributesCommand 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,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>Used to enable or disable DKIM authentication for an email identity.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SESv2Client, PutEmailIdentityDkimAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
14
- * // const { SESv2Client, PutEmailIdentityDkimAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
15
- * const client = new SESv2Client(config);
16
- * const command = new PutEmailIdentityDkimAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PutEmailIdentityDkimAttributesCommandInput} for command's `input` shape.
21
- * @see {@link PutEmailIdentityDkimAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PutEmailIdentityDkimAttributesCommand 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,57 +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>Used to configure or change the DKIM authentication settings for an email domain
10
- * identity. You can use this operation to do any of the following:</p>
11
- * <ul>
12
- * <li>
13
- * <p>Update the signing attributes for an identity that uses Bring Your Own DKIM
14
- * (BYODKIM).</p>
15
- * </li>
16
- * <li>
17
- * <p>Update the key length that should be used for Easy DKIM.</p>
18
- * </li>
19
- * <li>
20
- * <p>Change from using no DKIM authentication to using Easy DKIM.</p>
21
- * </li>
22
- * <li>
23
- * <p>Change from using no DKIM authentication to using BYODKIM.</p>
24
- * </li>
25
- * <li>
26
- * <p>Change from using Easy DKIM to using BYODKIM.</p>
27
- * </li>
28
- * <li>
29
- * <p>Change from using BYODKIM to using Easy DKIM.</p>
30
- * </li>
31
- * </ul>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { SESv2Client, PutEmailIdentityDkimSigningAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
36
- * // const { SESv2Client, PutEmailIdentityDkimSigningAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
37
- * const client = new SESv2Client(config);
38
- * const command = new PutEmailIdentityDkimSigningAttributesCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link PutEmailIdentityDkimSigningAttributesCommandInput} for command's `input` shape.
43
- * @see {@link PutEmailIdentityDkimSigningAttributesCommandOutput} for command's `response` shape.
44
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
8
  class PutEmailIdentityDkimSigningAttributesCommand extends smithy_client_1.Command {
48
- // Start section: command_properties
49
- // End section: command_properties
50
9
  constructor(input) {
51
- // Start section: command_constructor
52
10
  super();
53
11
  this.input = input;
54
- // End section: command_constructor
55
12
  }
56
- /**
57
- * @internal
58
- */
59
13
  resolveMiddleware(clientStack, configuration, options) {
60
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
61
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,44 +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>Used to enable or disable feedback forwarding for an identity. This setting determines
10
- * what happens when an identity is used to send an email that results in a bounce or
11
- * complaint event.</p>
12
- * <p>If the value is <code>true</code>, you receive email notifications when bounce or
13
- * complaint events occur. These notifications are sent to the address that you specified
14
- * in the <code>Return-Path</code> header of the original email.</p>
15
- * <p>You're required to have a method of tracking bounces and complaints. If you haven't
16
- * set up another mechanism for receiving bounce or complaint notifications (for example,
17
- * by setting up an event destination), you receive an email notification when these events
18
- * occur (even if this setting is disabled).</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { SESv2Client, PutEmailIdentityFeedbackAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
23
- * // const { SESv2Client, PutEmailIdentityFeedbackAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
24
- * const client = new SESv2Client(config);
25
- * const command = new PutEmailIdentityFeedbackAttributesCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link PutEmailIdentityFeedbackAttributesCommandInput} for command's `input` shape.
30
- * @see {@link PutEmailIdentityFeedbackAttributesCommandOutput} for command's `response` shape.
31
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class PutEmailIdentityFeedbackAttributesCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
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_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Used to enable or disable the custom Mail-From domain configuration for an email
10
- * identity.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SESv2Client, PutEmailIdentityMailFromAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
15
- * // const { SESv2Client, PutEmailIdentityMailFromAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
16
- * const client = new SESv2Client(config);
17
- * const command = new PutEmailIdentityMailFromAttributesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link PutEmailIdentityMailFromAttributesCommandInput} for command's `input` shape.
22
- * @see {@link PutEmailIdentityMailFromAttributesCommandOutput} for command's `response` shape.
23
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class PutEmailIdentityMailFromAttributesCommand 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,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>Adds an email address to the suppression list for your account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SESv2Client, PutSuppressedDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
14
- * // const { SESv2Client, PutSuppressedDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
15
- * const client = new SESv2Client(config);
16
- * const command = new PutSuppressedDestinationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PutSuppressedDestinationCommandInput} for command's `input` shape.
21
- * @see {@link PutSuppressedDestinationCommandOutput} for command's `response` shape.
22
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PutSuppressedDestinationCommand 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,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>Composes an email message to multiple destinations.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SESv2Client, SendBulkEmailCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
14
- * // const { SESv2Client, SendBulkEmailCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
15
- * const client = new SESv2Client(config);
16
- * const command = new SendBulkEmailCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link SendBulkEmailCommandInput} for command's `input` shape.
21
- * @see {@link SendBulkEmailCommandOutput} for command's `response` shape.
22
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class SendBulkEmailCommand 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,42 +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>Adds an email address to the list of identities for your Amazon SES account in the current
10
- * Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a
11
- * customized verification email is sent to the specified address.</p>
12
- * <p>To use this operation, you must first create a custom verification email template. For
13
- * more information about creating and using custom verification email templates, see
14
- * <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
15
- * Guide</i>.</p>
16
- * <p>You can execute this operation no more than once per second.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { SESv2Client, SendCustomVerificationEmailCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
21
- * // const { SESv2Client, SendCustomVerificationEmailCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
22
- * const client = new SESv2Client(config);
23
- * const command = new SendCustomVerificationEmailCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link SendCustomVerificationEmailCommandInput} for command's `input` shape.
28
- * @see {@link SendCustomVerificationEmailCommandOutput} for command's `response` shape.
29
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class SendCustomVerificationEmailCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,58 +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>Sends an email message. You can use the Amazon SES API v2 to send the following types of
10
- * messages:</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <b>Simple</b> – A standard email message. When
15
- * you create this type of message, you specify the sender, the recipient, and the
16
- * message body, and Amazon SES assembles the message for you.</p>
17
- * </li>
18
- * <li>
19
- * <p>
20
- * <b>Raw</b> – A raw, MIME-formatted email
21
- * message. When you send this type of email, you have to specify all of the
22
- * message headers, as well as the message body. You can use this message type to
23
- * send messages that contain attachments. The message that you specify has to be a
24
- * valid MIME message.</p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <b>Templated</b> – A message that contains
29
- * personalization tags. When you send this type of email, Amazon SES API v2 automatically
30
- * replaces the tags with values that you specify.</p>
31
- * </li>
32
- * </ul>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { SESv2Client, SendEmailCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
37
- * // const { SESv2Client, SendEmailCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
38
- * const client = new SESv2Client(config);
39
- * const command = new SendEmailCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link SendEmailCommandInput} for command's `input` shape.
44
- * @see {@link SendEmailCommandOutput} for command's `response` shape.
45
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
8
  class SendEmailCommand extends smithy_client_1.Command {
49
- // Start section: command_properties
50
- // End section: command_properties
51
9
  constructor(input) {
52
- // Start section: command_constructor
53
10
  super();
54
11
  this.input = input;
55
- // End section: command_constructor
56
12
  }
57
- /**
58
- * @internal
59
- */
60
13
  resolveMiddleware(clientStack, configuration, options) {
61
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
62
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +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>Add one or more tags (keys and values) to a specified resource. A
10
- * <i>tag</i> is a label that you optionally define and associate with a
11
- * resource. Tags can help you categorize and manage resources in different ways, such as
12
- * by purpose, owner, environment, or other criteria. A resource can have as many as 50
13
- * tags.</p>
14
- * <p>Each tag consists of a required <i>tag key</i> and an
15
- * associated <i>tag value</i>, both of which you define. A tag key is a
16
- * general label that acts as a category for more specific tag values. A tag value acts as
17
- * a descriptor within a tag key.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { SESv2Client, TagResourceCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
22
- * // const { SESv2Client, TagResourceCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
23
- * const client = new SESv2Client(config);
24
- * const command = new TagResourceCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link TagResourceCommandInput} for command's `input` shape.
29
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class TagResourceCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
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>Creates a preview of the MIME content of an email when provided with a template and a
10
- * set of replacement data.</p>
11
- *
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, TestRenderEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
17
- * // const { SESv2Client, TestRenderEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
18
- * const client = new SESv2Client(config);
19
- * const command = new TestRenderEmailTemplateCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link TestRenderEmailTemplateCommandInput} for command's `input` shape.
24
- * @see {@link TestRenderEmailTemplateCommandOutput} for command's `response` shape.
25
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class TestRenderEmailTemplateCommand 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,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>Remove one or more tags (keys and values) from a specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SESv2Client, UntagResourceCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
14
- * // const { SESv2Client, UntagResourceCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
15
- * const client = new SESv2Client(config);
16
- * const command = new UntagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
21
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UntagResourceCommand 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,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_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Update the configuration of an event destination for a configuration set.</p>
10
- * <p>
11
- * <i>Events</i> include message sends, deliveries, opens, clicks, bounces,
12
- * and complaints. <i>Event destinations</i> are places that you can send
13
- * information about these events to. For example, you can send event data to Amazon SNS to
14
- * receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to
15
- * stream data to Amazon S3 for long-term storage.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { SESv2Client, UpdateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
20
- * // const { SESv2Client, UpdateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
21
- * const client = new SESv2Client(config);
22
- * const command = new UpdateConfigurationSetEventDestinationCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link UpdateConfigurationSetEventDestinationCommandInput} for command's `input` shape.
27
- * @see {@link UpdateConfigurationSetEventDestinationCommandOutput} for command's `response` shape.
28
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class UpdateConfigurationSetEventDestinationCommand 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,37 +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 a contact's preferences for a list. It is not necessary to specify all
10
- * existing topic preferences in the TopicPreferences object, just the ones that need
11
- * updating.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { SESv2Client, UpdateContactCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
16
- * // const { SESv2Client, UpdateContactCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
17
- * const client = new SESv2Client(config);
18
- * const command = new UpdateContactCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link UpdateContactCommandInput} for command's `input` shape.
23
- * @see {@link UpdateContactCommandOutput} for command's `response` shape.
24
- * @see {@link SESv2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class UpdateContactCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);