@aws-sdk/client-sesv2 3.928.0 → 3.930.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 (136) hide show
  1. package/dist-cjs/index.js +4102 -4732
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SESv2Client.js +2 -0
  4. package/dist-es/commands/BatchGetMetricDataCommand.js +3 -9
  5. package/dist-es/commands/CancelExportJobCommand.js +3 -9
  6. package/dist-es/commands/CreateConfigurationSetCommand.js +3 -9
  7. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +3 -9
  8. package/dist-es/commands/CreateContactCommand.js +3 -9
  9. package/dist-es/commands/CreateContactListCommand.js +3 -9
  10. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +3 -9
  11. package/dist-es/commands/CreateDedicatedIpPoolCommand.js +3 -9
  12. package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +3 -9
  13. package/dist-es/commands/CreateEmailIdentityCommand.js +3 -10
  14. package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +3 -9
  15. package/dist-es/commands/CreateEmailTemplateCommand.js +3 -9
  16. package/dist-es/commands/CreateExportJobCommand.js +3 -10
  17. package/dist-es/commands/CreateImportJobCommand.js +3 -9
  18. package/dist-es/commands/CreateMultiRegionEndpointCommand.js +3 -9
  19. package/dist-es/commands/CreateTenantCommand.js +3 -9
  20. package/dist-es/commands/CreateTenantResourceAssociationCommand.js +3 -9
  21. package/dist-es/commands/DeleteConfigurationSetCommand.js +3 -9
  22. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -9
  23. package/dist-es/commands/DeleteContactCommand.js +3 -9
  24. package/dist-es/commands/DeleteContactListCommand.js +3 -9
  25. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +3 -9
  26. package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +3 -9
  27. package/dist-es/commands/DeleteEmailIdentityCommand.js +3 -9
  28. package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +3 -9
  29. package/dist-es/commands/DeleteEmailTemplateCommand.js +3 -9
  30. package/dist-es/commands/DeleteMultiRegionEndpointCommand.js +3 -9
  31. package/dist-es/commands/DeleteSuppressedDestinationCommand.js +3 -9
  32. package/dist-es/commands/DeleteTenantCommand.js +3 -9
  33. package/dist-es/commands/DeleteTenantResourceAssociationCommand.js +3 -9
  34. package/dist-es/commands/GetAccountCommand.js +3 -10
  35. package/dist-es/commands/GetBlacklistReportsCommand.js +3 -9
  36. package/dist-es/commands/GetConfigurationSetCommand.js +3 -9
  37. package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +3 -9
  38. package/dist-es/commands/GetContactCommand.js +3 -9
  39. package/dist-es/commands/GetContactListCommand.js +3 -9
  40. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +3 -9
  41. package/dist-es/commands/GetDedicatedIpCommand.js +3 -9
  42. package/dist-es/commands/GetDedicatedIpPoolCommand.js +3 -9
  43. package/dist-es/commands/GetDedicatedIpsCommand.js +3 -9
  44. package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +3 -9
  45. package/dist-es/commands/GetDeliverabilityTestReportCommand.js +3 -9
  46. package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +3 -9
  47. package/dist-es/commands/GetDomainStatisticsReportCommand.js +3 -9
  48. package/dist-es/commands/GetEmailIdentityCommand.js +3 -9
  49. package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +3 -9
  50. package/dist-es/commands/GetEmailTemplateCommand.js +3 -9
  51. package/dist-es/commands/GetExportJobCommand.js +3 -10
  52. package/dist-es/commands/GetImportJobCommand.js +3 -9
  53. package/dist-es/commands/GetMessageInsightsCommand.js +3 -10
  54. package/dist-es/commands/GetMultiRegionEndpointCommand.js +3 -9
  55. package/dist-es/commands/GetReputationEntityCommand.js +3 -9
  56. package/dist-es/commands/GetSuppressedDestinationCommand.js +3 -9
  57. package/dist-es/commands/GetTenantCommand.js +3 -9
  58. package/dist-es/commands/ListConfigurationSetsCommand.js +3 -9
  59. package/dist-es/commands/ListContactListsCommand.js +3 -9
  60. package/dist-es/commands/ListContactsCommand.js +3 -9
  61. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +3 -9
  62. package/dist-es/commands/ListDedicatedIpPoolsCommand.js +3 -9
  63. package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +3 -9
  64. package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +3 -9
  65. package/dist-es/commands/ListEmailIdentitiesCommand.js +3 -9
  66. package/dist-es/commands/ListEmailTemplatesCommand.js +3 -9
  67. package/dist-es/commands/ListExportJobsCommand.js +3 -9
  68. package/dist-es/commands/ListImportJobsCommand.js +3 -9
  69. package/dist-es/commands/ListMultiRegionEndpointsCommand.js +3 -9
  70. package/dist-es/commands/ListRecommendationsCommand.js +3 -9
  71. package/dist-es/commands/ListReputationEntitiesCommand.js +3 -9
  72. package/dist-es/commands/ListResourceTenantsCommand.js +3 -9
  73. package/dist-es/commands/ListSuppressedDestinationsCommand.js +3 -9
  74. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  75. package/dist-es/commands/ListTenantResourcesCommand.js +3 -9
  76. package/dist-es/commands/ListTenantsCommand.js +3 -9
  77. package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -9
  78. package/dist-es/commands/PutAccountDetailsCommand.js +3 -10
  79. package/dist-es/commands/PutAccountSendingAttributesCommand.js +3 -9
  80. package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +3 -9
  81. package/dist-es/commands/PutAccountVdmAttributesCommand.js +3 -9
  82. package/dist-es/commands/PutConfigurationSetArchivingOptionsCommand.js +3 -9
  83. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -9
  84. package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +3 -9
  85. package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +3 -9
  86. package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +3 -9
  87. package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +3 -9
  88. package/dist-es/commands/PutConfigurationSetVdmOptionsCommand.js +3 -9
  89. package/dist-es/commands/PutDedicatedIpInPoolCommand.js +3 -9
  90. package/dist-es/commands/PutDedicatedIpPoolScalingAttributesCommand.js +3 -9
  91. package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +3 -9
  92. package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +3 -9
  93. package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +3 -9
  94. package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +3 -9
  95. package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +3 -10
  96. package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -9
  97. package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -9
  98. package/dist-es/commands/PutSuppressedDestinationCommand.js +3 -9
  99. package/dist-es/commands/SendBulkEmailCommand.js +3 -9
  100. package/dist-es/commands/SendCustomVerificationEmailCommand.js +3 -9
  101. package/dist-es/commands/SendEmailCommand.js +3 -9
  102. package/dist-es/commands/TagResourceCommand.js +3 -9
  103. package/dist-es/commands/TestRenderEmailTemplateCommand.js +3 -9
  104. package/dist-es/commands/UntagResourceCommand.js +3 -9
  105. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -9
  106. package/dist-es/commands/UpdateContactCommand.js +3 -9
  107. package/dist-es/commands/UpdateContactListCommand.js +3 -9
  108. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +3 -9
  109. package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +3 -9
  110. package/dist-es/commands/UpdateEmailTemplateCommand.js +3 -9
  111. package/dist-es/commands/UpdateReputationEntityCustomerManagedStatusCommand.js +3 -9
  112. package/dist-es/commands/UpdateReputationEntityPolicyCommand.js +3 -9
  113. package/dist-es/models/models_0.js +0 -56
  114. package/dist-es/models/models_1.js +0 -12
  115. package/dist-es/runtimeConfig.shared.js +2 -0
  116. package/dist-es/schemas/schemas_0.js +3671 -0
  117. package/dist-types/SESv2Client.d.ts +10 -1
  118. package/dist-types/models/models_0.d.ts +0 -44
  119. package/dist-types/models/models_1.d.ts +0 -8
  120. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  121. package/dist-types/runtimeConfig.d.ts +1 -0
  122. package/dist-types/runtimeConfig.native.d.ts +1 -0
  123. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  124. package/dist-types/schemas/schemas_0.d.ts +522 -0
  125. package/dist-types/ts3.4/SESv2Client.d.ts +4 -0
  126. package/dist-types/ts3.4/models/models_0.d.ts +0 -33
  127. package/dist-types/ts3.4/models/models_1.d.ts +0 -6
  128. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  129. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  131. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  132. package/dist-types/ts3.4/schemas/schemas_0.d.ts +529 -0
  133. package/package.json +34 -34
  134. package/dist-es/protocols/Aws_restJson1.js +0 -3656
  135. package/dist-types/protocols/Aws_restJson1.d.ts +0 -983
  136. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1313
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog, } from "../models/models_1";
6
- import { de_PutEmailIdentityDkimSigningAttributesCommand, se_PutEmailIdentityDkimSigningAttributesCommand, } from "../protocols/Aws_restJson1";
4
+ import { PutEmailIdentityDkimSigningAttributes } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class PutEmailIdentityDkimSigningAttributesCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("SimpleEmailService_v2", "PutEmailIdentityDkimSigningAttributes", {})
18
13
  .n("SESv2Client", "PutEmailIdentityDkimSigningAttributesCommand")
19
- .f(PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog, void 0)
20
- .ser(se_PutEmailIdentityDkimSigningAttributesCommand)
21
- .de(de_PutEmailIdentityDkimSigningAttributesCommand)
14
+ .sc(PutEmailIdentityDkimSigningAttributes)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutEmailIdentityFeedbackAttributesCommand, se_PutEmailIdentityFeedbackAttributesCommand, } from "../protocols/Aws_restJson1";
4
+ import { PutEmailIdentityFeedbackAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEmailIdentityFeedbackAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "PutEmailIdentityFeedbackAttributes", {})
17
13
  .n("SESv2Client", "PutEmailIdentityFeedbackAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEmailIdentityFeedbackAttributesCommand)
20
- .de(de_PutEmailIdentityFeedbackAttributesCommand)
14
+ .sc(PutEmailIdentityFeedbackAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutEmailIdentityMailFromAttributesCommand, se_PutEmailIdentityMailFromAttributesCommand, } from "../protocols/Aws_restJson1";
4
+ import { PutEmailIdentityMailFromAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEmailIdentityMailFromAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "PutEmailIdentityMailFromAttributes", {})
17
13
  .n("SESv2Client", "PutEmailIdentityMailFromAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEmailIdentityMailFromAttributesCommand)
20
- .de(de_PutEmailIdentityMailFromAttributesCommand)
14
+ .sc(PutEmailIdentityMailFromAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutSuppressedDestinationCommand, se_PutSuppressedDestinationCommand } from "../protocols/Aws_restJson1";
4
+ import { PutSuppressedDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutSuppressedDestinationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "PutSuppressedDestination", {})
17
13
  .n("SESv2Client", "PutSuppressedDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutSuppressedDestinationCommand)
20
- .de(de_PutSuppressedDestinationCommand)
14
+ .sc(PutSuppressedDestination)
21
15
  .build() {
22
16
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SendBulkEmailCommand, se_SendBulkEmailCommand } from "../protocols/Aws_restJson1";
4
+ import { SendBulkEmail } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendBulkEmailCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class SendBulkEmailCommand extends $Command
11
10
  EndpointId: { type: "contextParams", name: "EndpointId" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("SimpleEmailService_v2", "SendBulkEmail", {})
20
16
  .n("SESv2Client", "SendBulkEmailCommand")
21
- .f(void 0, void 0)
22
- .ser(se_SendBulkEmailCommand)
23
- .de(de_SendBulkEmailCommand)
17
+ .sc(SendBulkEmail)
24
18
  .build() {
25
19
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SendCustomVerificationEmailCommand, se_SendCustomVerificationEmailCommand, } from "../protocols/Aws_restJson1";
4
+ import { SendCustomVerificationEmail } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendCustomVerificationEmailCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "SendCustomVerificationEmail", {})
17
13
  .n("SESv2Client", "SendCustomVerificationEmailCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendCustomVerificationEmailCommand)
20
- .de(de_SendCustomVerificationEmailCommand)
14
+ .sc(SendCustomVerificationEmail)
21
15
  .build() {
22
16
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SendEmailCommand, se_SendEmailCommand } from "../protocols/Aws_restJson1";
4
+ import { SendEmail } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendEmailCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class SendEmailCommand extends $Command
11
10
  EndpointId: { type: "contextParams", name: "EndpointId" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("SimpleEmailService_v2", "SendEmail", {})
20
16
  .n("SESv2Client", "SendEmailCommand")
21
- .f(void 0, void 0)
22
- .ser(se_SendEmailCommand)
23
- .de(de_SendEmailCommand)
17
+ .sc(SendEmail)
24
18
  .build() {
25
19
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "TagResource", {})
17
13
  .n("SESv2Client", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TestRenderEmailTemplateCommand, se_TestRenderEmailTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { TestRenderEmailTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TestRenderEmailTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "TestRenderEmailTemplate", {})
17
13
  .n("SESv2Client", "TestRenderEmailTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TestRenderEmailTemplateCommand)
20
- .de(de_TestRenderEmailTemplateCommand)
14
+ .sc(TestRenderEmailTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UntagResource", {})
17
13
  .n("SESv2Client", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateConfigurationSetEventDestinationCommand, se_UpdateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateConfigurationSetEventDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateConfigurationSetEventDestinationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateConfigurationSetEventDestination", {})
17
13
  .n("SESv2Client", "UpdateConfigurationSetEventDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateConfigurationSetEventDestinationCommand)
20
- .de(de_UpdateConfigurationSetEventDestinationCommand)
14
+ .sc(UpdateConfigurationSetEventDestination)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateContactCommand, se_UpdateContactCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateContact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateContactCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateContact", {})
17
13
  .n("SESv2Client", "UpdateContactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateContactCommand)
20
- .de(de_UpdateContactCommand)
14
+ .sc(UpdateContact)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateContactListCommand, se_UpdateContactListCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateContactList } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateContactListCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateContactList", {})
17
13
  .n("SESv2Client", "UpdateContactListCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateContactListCommand)
20
- .de(de_UpdateContactListCommand)
14
+ .sc(UpdateContactList)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateCustomVerificationEmailTemplateCommand, se_UpdateCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateCustomVerificationEmailTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCustomVerificationEmailTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateCustomVerificationEmailTemplate", {})
17
13
  .n("SESv2Client", "UpdateCustomVerificationEmailTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCustomVerificationEmailTemplateCommand)
20
- .de(de_UpdateCustomVerificationEmailTemplateCommand)
14
+ .sc(UpdateCustomVerificationEmailTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEmailIdentityPolicyCommand, se_UpdateEmailIdentityPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEmailIdentityPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEmailIdentityPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateEmailIdentityPolicy", {})
17
13
  .n("SESv2Client", "UpdateEmailIdentityPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEmailIdentityPolicyCommand)
20
- .de(de_UpdateEmailIdentityPolicyCommand)
14
+ .sc(UpdateEmailIdentityPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEmailTemplateCommand, se_UpdateEmailTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEmailTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEmailTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateEmailTemplate", {})
17
13
  .n("SESv2Client", "UpdateEmailTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEmailTemplateCommand)
20
- .de(de_UpdateEmailTemplateCommand)
14
+ .sc(UpdateEmailTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateReputationEntityCustomerManagedStatusCommand, se_UpdateReputationEntityCustomerManagedStatusCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateReputationEntityCustomerManagedStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateReputationEntityCustomerManagedStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateReputationEntityCustomerManagedStatus", {})
17
13
  .n("SESv2Client", "UpdateReputationEntityCustomerManagedStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateReputationEntityCustomerManagedStatusCommand)
20
- .de(de_UpdateReputationEntityCustomerManagedStatusCommand)
14
+ .sc(UpdateReputationEntityCustomerManagedStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateReputationEntityPolicyCommand, se_UpdateReputationEntityPolicyCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateReputationEntityPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateReputationEntityPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleEmailService_v2", "UpdateReputationEntityPolicy", {})
17
13
  .n("SESv2Client", "UpdateReputationEntityPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateReputationEntityPolicyCommand)
20
- .de(de_UpdateReputationEntityPolicyCommand)
14
+ .sc(UpdateReputationEntityPolicy)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { SESv2ServiceException as __BaseException } from "./SESv2ServiceException";
3
2
  export const ContactLanguage = {
4
3
  EN: "EN",
@@ -441,58 +440,3 @@ export const ReputationEntityFilterKey = {
441
440
  REPUTATION_IMPACT: "REPUTATION_IMPACT",
442
441
  STATUS: "SENDING_STATUS",
443
442
  };
444
- export const AccountDetailsFilterSensitiveLog = (obj) => ({
445
- ...obj,
446
- ...(obj.WebsiteURL && { WebsiteURL: SENSITIVE_STRING }),
447
- ...(obj.UseCaseDescription && { UseCaseDescription: SENSITIVE_STRING }),
448
- ...(obj.AdditionalContactEmailAddresses && { AdditionalContactEmailAddresses: SENSITIVE_STRING }),
449
- });
450
- export const DkimSigningAttributesFilterSensitiveLog = (obj) => ({
451
- ...obj,
452
- ...(obj.DomainSigningPrivateKey && { DomainSigningPrivateKey: SENSITIVE_STRING }),
453
- });
454
- export const CreateEmailIdentityRequestFilterSensitiveLog = (obj) => ({
455
- ...obj,
456
- ...(obj.DkimSigningAttributes && {
457
- DkimSigningAttributes: DkimSigningAttributesFilterSensitiveLog(obj.DkimSigningAttributes),
458
- }),
459
- });
460
- export const MessageInsightsFiltersFilterSensitiveLog = (obj) => ({
461
- ...obj,
462
- ...(obj.FromEmailAddress && { FromEmailAddress: SENSITIVE_STRING }),
463
- ...(obj.Destination && { Destination: SENSITIVE_STRING }),
464
- ...(obj.Subject && { Subject: SENSITIVE_STRING }),
465
- });
466
- export const MessageInsightsDataSourceFilterSensitiveLog = (obj) => ({
467
- ...obj,
468
- ...(obj.Include && { Include: MessageInsightsFiltersFilterSensitiveLog(obj.Include) }),
469
- ...(obj.Exclude && { Exclude: MessageInsightsFiltersFilterSensitiveLog(obj.Exclude) }),
470
- });
471
- export const ExportDataSourceFilterSensitiveLog = (obj) => ({
472
- ...obj,
473
- ...(obj.MessageInsightsDataSource && {
474
- MessageInsightsDataSource: MessageInsightsDataSourceFilterSensitiveLog(obj.MessageInsightsDataSource),
475
- }),
476
- });
477
- export const CreateExportJobRequestFilterSensitiveLog = (obj) => ({
478
- ...obj,
479
- ...(obj.ExportDataSource && { ExportDataSource: ExportDataSourceFilterSensitiveLog(obj.ExportDataSource) }),
480
- });
481
- export const EmailInsightsFilterSensitiveLog = (obj) => ({
482
- ...obj,
483
- ...(obj.Destination && { Destination: SENSITIVE_STRING }),
484
- });
485
- export const GetAccountResponseFilterSensitiveLog = (obj) => ({
486
- ...obj,
487
- ...(obj.Details && { Details: AccountDetailsFilterSensitiveLog(obj.Details) }),
488
- });
489
- export const GetExportJobResponseFilterSensitiveLog = (obj) => ({
490
- ...obj,
491
- ...(obj.ExportDataSource && { ExportDataSource: ExportDataSourceFilterSensitiveLog(obj.ExportDataSource) }),
492
- });
493
- export const GetMessageInsightsResponseFilterSensitiveLog = (obj) => ({
494
- ...obj,
495
- ...(obj.FromEmailAddress && { FromEmailAddress: SENSITIVE_STRING }),
496
- ...(obj.Subject && { Subject: SENSITIVE_STRING }),
497
- ...(obj.Insights && { Insights: obj.Insights.map((item) => EmailInsightsFilterSensitiveLog(item)) }),
498
- });
@@ -1,5 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { DkimSigningAttributesFilterSensitiveLog, } from "./models_0";
3
1
  export const ListTenantResourcesFilterKey = {
4
2
  RESOURCE_TYPE: "RESOURCE_TYPE",
5
3
  };
@@ -8,13 +6,3 @@ export const ResourceType = {
8
6
  EMAIL_IDENTITY: "EMAIL_IDENTITY",
9
7
  EMAIL_TEMPLATE: "EMAIL_TEMPLATE",
10
8
  };
11
- export const PutAccountDetailsRequestFilterSensitiveLog = (obj) => ({
12
- ...obj,
13
- ...(obj.WebsiteURL && { WebsiteURL: SENSITIVE_STRING }),
14
- ...(obj.UseCaseDescription && { UseCaseDescription: SENSITIVE_STRING }),
15
- ...(obj.AdditionalContactEmailAddresses && { AdditionalContactEmailAddresses: SENSITIVE_STRING }),
16
- });
17
- export const PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = (obj) => ({
18
- ...obj,
19
- ...(obj.SigningAttributes && { SigningAttributes: DkimSigningAttributesFilterSensitiveLog(obj.SigningAttributes) }),
20
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
4
  import { NoOpLogger } from "@smithy/smithy-client";
4
5
  import { parseUrl } from "@smithy/url-parser";
@@ -28,6 +29,7 @@ export const getRuntimeConfig = (config) => {
28
29
  },
29
30
  ],
30
31
  logger: config?.logger ?? new NoOpLogger(),
32
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.sesv2" }),
31
33
  serviceId: config?.serviceId ?? "SESv2",
32
34
  signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
33
35
  urlParser: config?.urlParser ?? parseUrl,