@aws-sdk/client-sesv2 3.395.0 → 3.402.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 (96) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/SESv2.js +10 -0
  3. package/dist-cjs/commands/CancelExportJobCommand.js +46 -0
  4. package/dist-cjs/commands/CreateExportJobCommand.js +47 -0
  5. package/dist-cjs/commands/GetExportJobCommand.js +47 -0
  6. package/dist-cjs/commands/GetMessageInsightsCommand.js +47 -0
  7. package/dist-cjs/commands/ListExportJobsCommand.js +46 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +1 -1
  10. package/dist-cjs/models/index.js +1 -0
  11. package/dist-cjs/models/models_0.js +76 -8
  12. package/dist-cjs/models/models_1.js +2 -0
  13. package/dist-cjs/pagination/ListExportJobsPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +405 -4
  16. package/dist-cjs/runtimeExtensions.js +5 -5
  17. package/dist-es/SESv2.js +10 -0
  18. package/dist-es/commands/CancelExportJobCommand.js +42 -0
  19. package/dist-es/commands/CreateExportJobCommand.js +43 -0
  20. package/dist-es/commands/GetExportJobCommand.js +43 -0
  21. package/dist-es/commands/GetMessageInsightsCommand.js +43 -0
  22. package/dist-es/commands/ListExportJobsCommand.js +42 -0
  23. package/dist-es/commands/index.js +5 -0
  24. package/dist-es/endpoint/ruleset.js +1 -1
  25. package/dist-es/models/index.js +1 -0
  26. package/dist-es/models/models_0.js +67 -6
  27. package/dist-es/models/models_1.js +1 -0
  28. package/dist-es/pagination/ListExportJobsPaginator.js +25 -0
  29. package/dist-es/pagination/index.js +1 -0
  30. package/dist-es/protocols/Aws_restJson1.js +391 -0
  31. package/dist-es/runtimeExtensions.js +5 -5
  32. package/dist-types/SESv2.d.ts +35 -0
  33. package/dist-types/SESv2Client.d.ts +7 -2
  34. package/dist-types/commands/CancelExportJobCommand.d.ts +80 -0
  35. package/dist-types/commands/CreateExportJobCommand.d.ts +152 -0
  36. package/dist-types/commands/GetExportJobCommand.d.ts +161 -0
  37. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  38. package/dist-types/commands/GetMessageInsightsCommand.d.ts +115 -0
  39. package/dist-types/commands/ListExportJobsCommand.d.ts +91 -0
  40. package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +2 -1
  42. package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -1
  43. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  44. package/dist-types/commands/SendEmailCommand.d.ts +1 -1
  45. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  46. package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
  47. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateContactListCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
  54. package/dist-types/commands/index.d.ts +5 -0
  55. package/dist-types/extensionConfiguration.d.ts +6 -0
  56. package/dist-types/models/index.d.ts +1 -0
  57. package/dist-types/models/models_0.d.ts +811 -558
  58. package/dist-types/models/models_1.d.ts +523 -0
  59. package/dist-types/pagination/ListExportJobsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/index.d.ts +1 -0
  61. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  62. package/dist-types/runtimeExtensions.d.ts +2 -2
  63. package/dist-types/ts3.4/SESv2.d.ts +85 -0
  64. package/dist-types/ts3.4/SESv2Client.d.ts +30 -0
  65. package/dist-types/ts3.4/commands/CancelExportJobCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +38 -0
  67. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +35 -0
  68. package/dist-types/ts3.4/commands/GetMessageInsightsCommand.d.ts +39 -0
  69. package/dist-types/ts3.4/commands/ListExportJobsCommand.d.ts +38 -0
  70. package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  84. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
  85. package/dist-types/ts3.4/models/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/models_0.d.ts +176 -102
  87. package/dist-types/ts3.4/models/models_1.d.ts +109 -0
  88. package/dist-types/ts3.4/pagination/ListExportJobsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  90. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  91. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
  92. package/package.json +29 -29
  93. package/dist-types/clientConfiguration.d.ts +0 -6
  94. package/dist-types/ts3.4/clientConfiguration.d.ts +0 -2
  95. /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
  96. /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_ListEmailTemplatesCommand = exports.se_ListEmailIdentitiesCommand = exports.se_ListDomainDeliverabilityCampaignsCommand = exports.se_ListDeliverabilityTestReportsCommand = exports.se_ListDedicatedIpPoolsCommand = exports.se_ListCustomVerificationEmailTemplatesCommand = exports.se_ListContactsCommand = exports.se_ListContactListsCommand = exports.se_ListConfigurationSetsCommand = exports.se_GetSuppressedDestinationCommand = exports.se_GetImportJobCommand = exports.se_GetEmailTemplateCommand = exports.se_GetEmailIdentityPoliciesCommand = exports.se_GetEmailIdentityCommand = exports.se_GetDomainStatisticsReportCommand = exports.se_GetDomainDeliverabilityCampaignCommand = exports.se_GetDeliverabilityTestReportCommand = exports.se_GetDeliverabilityDashboardOptionsCommand = exports.se_GetDedicatedIpsCommand = exports.se_GetDedicatedIpPoolCommand = exports.se_GetDedicatedIpCommand = exports.se_GetCustomVerificationEmailTemplateCommand = exports.se_GetContactListCommand = exports.se_GetContactCommand = exports.se_GetConfigurationSetEventDestinationsCommand = exports.se_GetConfigurationSetCommand = exports.se_GetBlacklistReportsCommand = exports.se_GetAccountCommand = exports.se_DeleteSuppressedDestinationCommand = exports.se_DeleteEmailTemplateCommand = exports.se_DeleteEmailIdentityPolicyCommand = exports.se_DeleteEmailIdentityCommand = exports.se_DeleteDedicatedIpPoolCommand = exports.se_DeleteCustomVerificationEmailTemplateCommand = exports.se_DeleteContactListCommand = exports.se_DeleteContactCommand = exports.se_DeleteConfigurationSetEventDestinationCommand = exports.se_DeleteConfigurationSetCommand = exports.se_CreateImportJobCommand = exports.se_CreateEmailTemplateCommand = exports.se_CreateEmailIdentityPolicyCommand = exports.se_CreateEmailIdentityCommand = exports.se_CreateDeliverabilityTestReportCommand = exports.se_CreateDedicatedIpPoolCommand = exports.se_CreateCustomVerificationEmailTemplateCommand = exports.se_CreateContactListCommand = exports.se_CreateContactCommand = exports.se_CreateConfigurationSetEventDestinationCommand = exports.se_CreateConfigurationSetCommand = exports.se_BatchGetMetricDataCommand = void 0;
4
- exports.de_DeleteConfigurationSetCommand = exports.de_CreateImportJobCommand = exports.de_CreateEmailTemplateCommand = exports.de_CreateEmailIdentityPolicyCommand = exports.de_CreateEmailIdentityCommand = exports.de_CreateDeliverabilityTestReportCommand = exports.de_CreateDedicatedIpPoolCommand = exports.de_CreateCustomVerificationEmailTemplateCommand = exports.de_CreateContactListCommand = exports.de_CreateContactCommand = exports.de_CreateConfigurationSetEventDestinationCommand = exports.de_CreateConfigurationSetCommand = exports.de_BatchGetMetricDataCommand = exports.se_UpdateEmailTemplateCommand = exports.se_UpdateEmailIdentityPolicyCommand = exports.se_UpdateCustomVerificationEmailTemplateCommand = exports.se_UpdateContactListCommand = exports.se_UpdateContactCommand = exports.se_UpdateConfigurationSetEventDestinationCommand = exports.se_UntagResourceCommand = exports.se_TestRenderEmailTemplateCommand = exports.se_TagResourceCommand = exports.se_SendEmailCommand = exports.se_SendCustomVerificationEmailCommand = exports.se_SendBulkEmailCommand = exports.se_PutSuppressedDestinationCommand = exports.se_PutEmailIdentityMailFromAttributesCommand = exports.se_PutEmailIdentityFeedbackAttributesCommand = exports.se_PutEmailIdentityDkimSigningAttributesCommand = exports.se_PutEmailIdentityDkimAttributesCommand = exports.se_PutEmailIdentityConfigurationSetAttributesCommand = exports.se_PutDeliverabilityDashboardOptionCommand = exports.se_PutDedicatedIpWarmupAttributesCommand = exports.se_PutDedicatedIpPoolScalingAttributesCommand = exports.se_PutDedicatedIpInPoolCommand = exports.se_PutConfigurationSetVdmOptionsCommand = exports.se_PutConfigurationSetTrackingOptionsCommand = exports.se_PutConfigurationSetSuppressionOptionsCommand = exports.se_PutConfigurationSetSendingOptionsCommand = exports.se_PutConfigurationSetReputationOptionsCommand = exports.se_PutConfigurationSetDeliveryOptionsCommand = exports.se_PutAccountVdmAttributesCommand = exports.se_PutAccountSuppressionAttributesCommand = exports.se_PutAccountSendingAttributesCommand = exports.se_PutAccountDetailsCommand = exports.se_PutAccountDedicatedIpWarmupAttributesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSuppressedDestinationsCommand = exports.se_ListRecommendationsCommand = exports.se_ListImportJobsCommand = void 0;
5
- exports.de_PutConfigurationSetSuppressionOptionsCommand = exports.de_PutConfigurationSetSendingOptionsCommand = exports.de_PutConfigurationSetReputationOptionsCommand = exports.de_PutConfigurationSetDeliveryOptionsCommand = exports.de_PutAccountVdmAttributesCommand = exports.de_PutAccountSuppressionAttributesCommand = exports.de_PutAccountSendingAttributesCommand = exports.de_PutAccountDetailsCommand = exports.de_PutAccountDedicatedIpWarmupAttributesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSuppressedDestinationsCommand = exports.de_ListRecommendationsCommand = exports.de_ListImportJobsCommand = exports.de_ListEmailTemplatesCommand = exports.de_ListEmailIdentitiesCommand = exports.de_ListDomainDeliverabilityCampaignsCommand = exports.de_ListDeliverabilityTestReportsCommand = exports.de_ListDedicatedIpPoolsCommand = exports.de_ListCustomVerificationEmailTemplatesCommand = exports.de_ListContactsCommand = exports.de_ListContactListsCommand = exports.de_ListConfigurationSetsCommand = exports.de_GetSuppressedDestinationCommand = exports.de_GetImportJobCommand = exports.de_GetEmailTemplateCommand = exports.de_GetEmailIdentityPoliciesCommand = exports.de_GetEmailIdentityCommand = exports.de_GetDomainStatisticsReportCommand = exports.de_GetDomainDeliverabilityCampaignCommand = exports.de_GetDeliverabilityTestReportCommand = exports.de_GetDeliverabilityDashboardOptionsCommand = exports.de_GetDedicatedIpsCommand = exports.de_GetDedicatedIpPoolCommand = exports.de_GetDedicatedIpCommand = exports.de_GetCustomVerificationEmailTemplateCommand = exports.de_GetContactListCommand = exports.de_GetContactCommand = exports.de_GetConfigurationSetEventDestinationsCommand = exports.de_GetConfigurationSetCommand = exports.de_GetBlacklistReportsCommand = exports.de_GetAccountCommand = exports.de_DeleteSuppressedDestinationCommand = exports.de_DeleteEmailTemplateCommand = exports.de_DeleteEmailIdentityPolicyCommand = exports.de_DeleteEmailIdentityCommand = exports.de_DeleteDedicatedIpPoolCommand = exports.de_DeleteCustomVerificationEmailTemplateCommand = exports.de_DeleteContactListCommand = exports.de_DeleteContactCommand = exports.de_DeleteConfigurationSetEventDestinationCommand = void 0;
6
- exports.de_UpdateEmailTemplateCommand = exports.de_UpdateEmailIdentityPolicyCommand = exports.de_UpdateCustomVerificationEmailTemplateCommand = exports.de_UpdateContactListCommand = exports.de_UpdateContactCommand = exports.de_UpdateConfigurationSetEventDestinationCommand = exports.de_UntagResourceCommand = exports.de_TestRenderEmailTemplateCommand = exports.de_TagResourceCommand = exports.de_SendEmailCommand = exports.de_SendCustomVerificationEmailCommand = exports.de_SendBulkEmailCommand = exports.de_PutSuppressedDestinationCommand = exports.de_PutEmailIdentityMailFromAttributesCommand = exports.de_PutEmailIdentityFeedbackAttributesCommand = exports.de_PutEmailIdentityDkimSigningAttributesCommand = exports.de_PutEmailIdentityDkimAttributesCommand = exports.de_PutEmailIdentityConfigurationSetAttributesCommand = exports.de_PutDeliverabilityDashboardOptionCommand = exports.de_PutDedicatedIpWarmupAttributesCommand = exports.de_PutDedicatedIpPoolScalingAttributesCommand = exports.de_PutDedicatedIpInPoolCommand = exports.de_PutConfigurationSetVdmOptionsCommand = exports.de_PutConfigurationSetTrackingOptionsCommand = void 0;
3
+ exports.se_ListDedicatedIpPoolsCommand = exports.se_ListCustomVerificationEmailTemplatesCommand = exports.se_ListContactsCommand = exports.se_ListContactListsCommand = exports.se_ListConfigurationSetsCommand = exports.se_GetSuppressedDestinationCommand = exports.se_GetMessageInsightsCommand = exports.se_GetImportJobCommand = exports.se_GetExportJobCommand = exports.se_GetEmailTemplateCommand = exports.se_GetEmailIdentityPoliciesCommand = exports.se_GetEmailIdentityCommand = exports.se_GetDomainStatisticsReportCommand = exports.se_GetDomainDeliverabilityCampaignCommand = exports.se_GetDeliverabilityTestReportCommand = exports.se_GetDeliverabilityDashboardOptionsCommand = exports.se_GetDedicatedIpsCommand = exports.se_GetDedicatedIpPoolCommand = exports.se_GetDedicatedIpCommand = exports.se_GetCustomVerificationEmailTemplateCommand = exports.se_GetContactListCommand = exports.se_GetContactCommand = exports.se_GetConfigurationSetEventDestinationsCommand = exports.se_GetConfigurationSetCommand = exports.se_GetBlacklistReportsCommand = exports.se_GetAccountCommand = exports.se_DeleteSuppressedDestinationCommand = exports.se_DeleteEmailTemplateCommand = exports.se_DeleteEmailIdentityPolicyCommand = exports.se_DeleteEmailIdentityCommand = exports.se_DeleteDedicatedIpPoolCommand = exports.se_DeleteCustomVerificationEmailTemplateCommand = exports.se_DeleteContactListCommand = exports.se_DeleteContactCommand = exports.se_DeleteConfigurationSetEventDestinationCommand = exports.se_DeleteConfigurationSetCommand = exports.se_CreateImportJobCommand = exports.se_CreateExportJobCommand = exports.se_CreateEmailTemplateCommand = exports.se_CreateEmailIdentityPolicyCommand = exports.se_CreateEmailIdentityCommand = exports.se_CreateDeliverabilityTestReportCommand = exports.se_CreateDedicatedIpPoolCommand = exports.se_CreateCustomVerificationEmailTemplateCommand = exports.se_CreateContactListCommand = exports.se_CreateContactCommand = exports.se_CreateConfigurationSetEventDestinationCommand = exports.se_CreateConfigurationSetCommand = exports.se_CancelExportJobCommand = exports.se_BatchGetMetricDataCommand = void 0;
4
+ exports.de_CreateDedicatedIpPoolCommand = exports.de_CreateCustomVerificationEmailTemplateCommand = exports.de_CreateContactListCommand = exports.de_CreateContactCommand = exports.de_CreateConfigurationSetEventDestinationCommand = exports.de_CreateConfigurationSetCommand = exports.de_CancelExportJobCommand = exports.de_BatchGetMetricDataCommand = exports.se_UpdateEmailTemplateCommand = exports.se_UpdateEmailIdentityPolicyCommand = exports.se_UpdateCustomVerificationEmailTemplateCommand = exports.se_UpdateContactListCommand = exports.se_UpdateContactCommand = exports.se_UpdateConfigurationSetEventDestinationCommand = exports.se_UntagResourceCommand = exports.se_TestRenderEmailTemplateCommand = exports.se_TagResourceCommand = exports.se_SendEmailCommand = exports.se_SendCustomVerificationEmailCommand = exports.se_SendBulkEmailCommand = exports.se_PutSuppressedDestinationCommand = exports.se_PutEmailIdentityMailFromAttributesCommand = exports.se_PutEmailIdentityFeedbackAttributesCommand = exports.se_PutEmailIdentityDkimSigningAttributesCommand = exports.se_PutEmailIdentityDkimAttributesCommand = exports.se_PutEmailIdentityConfigurationSetAttributesCommand = exports.se_PutDeliverabilityDashboardOptionCommand = exports.se_PutDedicatedIpWarmupAttributesCommand = exports.se_PutDedicatedIpPoolScalingAttributesCommand = exports.se_PutDedicatedIpInPoolCommand = exports.se_PutConfigurationSetVdmOptionsCommand = exports.se_PutConfigurationSetTrackingOptionsCommand = exports.se_PutConfigurationSetSuppressionOptionsCommand = exports.se_PutConfigurationSetSendingOptionsCommand = exports.se_PutConfigurationSetReputationOptionsCommand = exports.se_PutConfigurationSetDeliveryOptionsCommand = exports.se_PutAccountVdmAttributesCommand = exports.se_PutAccountSuppressionAttributesCommand = exports.se_PutAccountSendingAttributesCommand = exports.se_PutAccountDetailsCommand = exports.se_PutAccountDedicatedIpWarmupAttributesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSuppressedDestinationsCommand = exports.se_ListRecommendationsCommand = exports.se_ListImportJobsCommand = exports.se_ListExportJobsCommand = exports.se_ListEmailTemplatesCommand = exports.se_ListEmailIdentitiesCommand = exports.se_ListDomainDeliverabilityCampaignsCommand = exports.se_ListDeliverabilityTestReportsCommand = void 0;
5
+ exports.de_ListSuppressedDestinationsCommand = exports.de_ListRecommendationsCommand = exports.de_ListImportJobsCommand = exports.de_ListExportJobsCommand = exports.de_ListEmailTemplatesCommand = exports.de_ListEmailIdentitiesCommand = exports.de_ListDomainDeliverabilityCampaignsCommand = exports.de_ListDeliverabilityTestReportsCommand = exports.de_ListDedicatedIpPoolsCommand = exports.de_ListCustomVerificationEmailTemplatesCommand = exports.de_ListContactsCommand = exports.de_ListContactListsCommand = exports.de_ListConfigurationSetsCommand = exports.de_GetSuppressedDestinationCommand = exports.de_GetMessageInsightsCommand = exports.de_GetImportJobCommand = exports.de_GetExportJobCommand = exports.de_GetEmailTemplateCommand = exports.de_GetEmailIdentityPoliciesCommand = exports.de_GetEmailIdentityCommand = exports.de_GetDomainStatisticsReportCommand = exports.de_GetDomainDeliverabilityCampaignCommand = exports.de_GetDeliverabilityTestReportCommand = exports.de_GetDeliverabilityDashboardOptionsCommand = exports.de_GetDedicatedIpsCommand = exports.de_GetDedicatedIpPoolCommand = exports.de_GetDedicatedIpCommand = exports.de_GetCustomVerificationEmailTemplateCommand = exports.de_GetContactListCommand = exports.de_GetContactCommand = exports.de_GetConfigurationSetEventDestinationsCommand = exports.de_GetConfigurationSetCommand = exports.de_GetBlacklistReportsCommand = exports.de_GetAccountCommand = exports.de_DeleteSuppressedDestinationCommand = exports.de_DeleteEmailTemplateCommand = exports.de_DeleteEmailIdentityPolicyCommand = exports.de_DeleteEmailIdentityCommand = exports.de_DeleteDedicatedIpPoolCommand = exports.de_DeleteCustomVerificationEmailTemplateCommand = exports.de_DeleteContactListCommand = exports.de_DeleteContactCommand = exports.de_DeleteConfigurationSetEventDestinationCommand = exports.de_DeleteConfigurationSetCommand = exports.de_CreateImportJobCommand = exports.de_CreateExportJobCommand = exports.de_CreateEmailTemplateCommand = exports.de_CreateEmailIdentityPolicyCommand = exports.de_CreateEmailIdentityCommand = exports.de_CreateDeliverabilityTestReportCommand = void 0;
6
+ exports.de_UpdateEmailTemplateCommand = exports.de_UpdateEmailIdentityPolicyCommand = exports.de_UpdateCustomVerificationEmailTemplateCommand = exports.de_UpdateContactListCommand = exports.de_UpdateContactCommand = exports.de_UpdateConfigurationSetEventDestinationCommand = exports.de_UntagResourceCommand = exports.de_TestRenderEmailTemplateCommand = exports.de_TagResourceCommand = exports.de_SendEmailCommand = exports.de_SendCustomVerificationEmailCommand = exports.de_SendBulkEmailCommand = exports.de_PutSuppressedDestinationCommand = exports.de_PutEmailIdentityMailFromAttributesCommand = exports.de_PutEmailIdentityFeedbackAttributesCommand = exports.de_PutEmailIdentityDkimSigningAttributesCommand = exports.de_PutEmailIdentityDkimAttributesCommand = exports.de_PutEmailIdentityConfigurationSetAttributesCommand = exports.de_PutDeliverabilityDashboardOptionCommand = exports.de_PutDedicatedIpWarmupAttributesCommand = exports.de_PutDedicatedIpPoolScalingAttributesCommand = exports.de_PutDedicatedIpInPoolCommand = exports.de_PutConfigurationSetVdmOptionsCommand = exports.de_PutConfigurationSetTrackingOptionsCommand = exports.de_PutConfigurationSetSuppressionOptionsCommand = exports.de_PutConfigurationSetSendingOptionsCommand = exports.de_PutConfigurationSetReputationOptionsCommand = exports.de_PutConfigurationSetDeliveryOptionsCommand = exports.de_PutAccountVdmAttributesCommand = exports.de_PutAccountSuppressionAttributesCommand = exports.de_PutAccountSendingAttributesCommand = exports.de_PutAccountDetailsCommand = exports.de_PutAccountDedicatedIpWarmupAttributesCommand = exports.de_ListTagsForResourceCommand = void 0;
7
7
  const protocol_http_1 = require("@smithy/protocol-http");
8
8
  const smithy_client_1 = require("@smithy/smithy-client");
9
9
  const models_0_1 = require("../models/models_0");
@@ -29,6 +29,23 @@ const se_BatchGetMetricDataCommand = async (input, context) => {
29
29
  });
30
30
  };
31
31
  exports.se_BatchGetMetricDataCommand = se_BatchGetMetricDataCommand;
32
+ const se_CancelExportJobCommand = async (input, context) => {
33
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
34
+ const headers = {};
35
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/export-jobs/{JobId}/cancel";
36
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
37
+ let body;
38
+ return new protocol_http_1.HttpRequest({
39
+ protocol,
40
+ hostname,
41
+ port,
42
+ method: "PUT",
43
+ headers,
44
+ path: resolvedPath,
45
+ body,
46
+ });
47
+ };
48
+ exports.se_CancelExportJobCommand = se_CancelExportJobCommand;
32
49
  const se_CreateConfigurationSetCommand = async (input, context) => {
33
50
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
34
51
  const headers = {
@@ -275,6 +292,28 @@ const se_CreateEmailTemplateCommand = async (input, context) => {
275
292
  });
276
293
  };
277
294
  exports.se_CreateEmailTemplateCommand = se_CreateEmailTemplateCommand;
295
+ const se_CreateExportJobCommand = async (input, context) => {
296
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
297
+ const headers = {
298
+ "content-type": "application/json",
299
+ };
300
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/export-jobs";
301
+ let body;
302
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
303
+ ExportDataSource: (_) => se_ExportDataSource(_, context),
304
+ ExportDestination: (_) => (0, smithy_client_1._json)(_),
305
+ }));
306
+ return new protocol_http_1.HttpRequest({
307
+ protocol,
308
+ hostname,
309
+ port,
310
+ method: "POST",
311
+ headers,
312
+ path: resolvedPath,
313
+ body,
314
+ });
315
+ };
316
+ exports.se_CreateExportJobCommand = se_CreateExportJobCommand;
278
317
  const se_CreateImportJobCommand = async (input, context) => {
279
318
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
280
319
  const headers = {
@@ -801,6 +840,23 @@ const se_GetEmailTemplateCommand = async (input, context) => {
801
840
  });
802
841
  };
803
842
  exports.se_GetEmailTemplateCommand = se_GetEmailTemplateCommand;
843
+ const se_GetExportJobCommand = async (input, context) => {
844
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
845
+ const headers = {};
846
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/export-jobs/{JobId}";
847
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
848
+ let body;
849
+ return new protocol_http_1.HttpRequest({
850
+ protocol,
851
+ hostname,
852
+ port,
853
+ method: "GET",
854
+ headers,
855
+ path: resolvedPath,
856
+ body,
857
+ });
858
+ };
859
+ exports.se_GetExportJobCommand = se_GetExportJobCommand;
804
860
  const se_GetImportJobCommand = async (input, context) => {
805
861
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
806
862
  const headers = {};
@@ -818,6 +874,23 @@ const se_GetImportJobCommand = async (input, context) => {
818
874
  });
819
875
  };
820
876
  exports.se_GetImportJobCommand = se_GetImportJobCommand;
877
+ const se_GetMessageInsightsCommand = async (input, context) => {
878
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
879
+ const headers = {};
880
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/insights/{MessageId}";
881
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
882
+ let body;
883
+ return new protocol_http_1.HttpRequest({
884
+ protocol,
885
+ hostname,
886
+ port,
887
+ method: "GET",
888
+ headers,
889
+ path: resolvedPath,
890
+ body,
891
+ });
892
+ };
893
+ exports.se_GetMessageInsightsCommand = se_GetMessageInsightsCommand;
821
894
  const se_GetSuppressedDestinationCommand = async (input, context) => {
822
895
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
823
896
  const headers = {};
@@ -1044,6 +1117,30 @@ const se_ListEmailTemplatesCommand = async (input, context) => {
1044
1117
  });
1045
1118
  };
1046
1119
  exports.se_ListEmailTemplatesCommand = se_ListEmailTemplatesCommand;
1120
+ const se_ListExportJobsCommand = async (input, context) => {
1121
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1122
+ const headers = {
1123
+ "content-type": "application/json",
1124
+ };
1125
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/list-export-jobs";
1126
+ let body;
1127
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1128
+ ExportSourceType: [],
1129
+ JobStatus: [],
1130
+ NextToken: [],
1131
+ PageSize: [],
1132
+ }));
1133
+ return new protocol_http_1.HttpRequest({
1134
+ protocol,
1135
+ hostname,
1136
+ port,
1137
+ method: "POST",
1138
+ headers,
1139
+ path: resolvedPath,
1140
+ body,
1141
+ });
1142
+ };
1143
+ exports.se_ListExportJobsCommand = se_ListExportJobsCommand;
1047
1144
  const se_ListImportJobsCommand = async (input, context) => {
1048
1145
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1049
1146
  const headers = {
@@ -1957,6 +2054,42 @@ const de_BatchGetMetricDataCommandError = async (output, context) => {
1957
2054
  });
1958
2055
  }
1959
2056
  };
2057
+ const de_CancelExportJobCommand = async (output, context) => {
2058
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2059
+ return de_CancelExportJobCommandError(output, context);
2060
+ }
2061
+ const contents = (0, smithy_client_1.map)({
2062
+ $metadata: deserializeMetadata(output),
2063
+ });
2064
+ await (0, smithy_client_1.collectBody)(output.body, context);
2065
+ return contents;
2066
+ };
2067
+ exports.de_CancelExportJobCommand = de_CancelExportJobCommand;
2068
+ const de_CancelExportJobCommandError = async (output, context) => {
2069
+ const parsedOutput = {
2070
+ ...output,
2071
+ body: await parseErrorBody(output.body, context),
2072
+ };
2073
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2074
+ switch (errorCode) {
2075
+ case "BadRequestException":
2076
+ case "com.amazonaws.sesv2#BadRequestException":
2077
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2078
+ case "NotFoundException":
2079
+ case "com.amazonaws.sesv2#NotFoundException":
2080
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2081
+ case "TooManyRequestsException":
2082
+ case "com.amazonaws.sesv2#TooManyRequestsException":
2083
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2084
+ default:
2085
+ const parsedBody = parsedOutput.body;
2086
+ return throwDefaultError({
2087
+ output,
2088
+ parsedBody,
2089
+ errorCode,
2090
+ });
2091
+ }
2092
+ };
1960
2093
  const de_CreateConfigurationSetCommand = async (output, context) => {
1961
2094
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1962
2095
  return de_CreateConfigurationSetCommandError(output, context);
@@ -2397,6 +2530,49 @@ const de_CreateEmailTemplateCommandError = async (output, context) => {
2397
2530
  });
2398
2531
  }
2399
2532
  };
2533
+ const de_CreateExportJobCommand = async (output, context) => {
2534
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2535
+ return de_CreateExportJobCommandError(output, context);
2536
+ }
2537
+ const contents = (0, smithy_client_1.map)({
2538
+ $metadata: deserializeMetadata(output),
2539
+ });
2540
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2541
+ const doc = (0, smithy_client_1.take)(data, {
2542
+ JobId: smithy_client_1.expectString,
2543
+ });
2544
+ Object.assign(contents, doc);
2545
+ return contents;
2546
+ };
2547
+ exports.de_CreateExportJobCommand = de_CreateExportJobCommand;
2548
+ const de_CreateExportJobCommandError = async (output, context) => {
2549
+ const parsedOutput = {
2550
+ ...output,
2551
+ body: await parseErrorBody(output.body, context),
2552
+ };
2553
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2554
+ switch (errorCode) {
2555
+ case "BadRequestException":
2556
+ case "com.amazonaws.sesv2#BadRequestException":
2557
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2558
+ case "LimitExceededException":
2559
+ case "com.amazonaws.sesv2#LimitExceededException":
2560
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2561
+ case "NotFoundException":
2562
+ case "com.amazonaws.sesv2#NotFoundException":
2563
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2564
+ case "TooManyRequestsException":
2565
+ case "com.amazonaws.sesv2#TooManyRequestsException":
2566
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2567
+ default:
2568
+ const parsedBody = parsedOutput.body;
2569
+ return throwDefaultError({
2570
+ output,
2571
+ parsedBody,
2572
+ errorCode,
2573
+ });
2574
+ }
2575
+ };
2400
2576
  const de_CreateImportJobCommand = async (output, context) => {
2401
2577
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2402
2578
  return de_CreateImportJobCommandError(output, context);
@@ -3536,6 +3712,54 @@ const de_GetEmailTemplateCommandError = async (output, context) => {
3536
3712
  });
3537
3713
  }
3538
3714
  };
3715
+ const de_GetExportJobCommand = async (output, context) => {
3716
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3717
+ return de_GetExportJobCommandError(output, context);
3718
+ }
3719
+ const contents = (0, smithy_client_1.map)({
3720
+ $metadata: deserializeMetadata(output),
3721
+ });
3722
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3723
+ const doc = (0, smithy_client_1.take)(data, {
3724
+ CompletedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3725
+ CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3726
+ ExportDataSource: (_) => de_ExportDataSource(_, context),
3727
+ ExportDestination: smithy_client_1._json,
3728
+ ExportSourceType: smithy_client_1.expectString,
3729
+ FailureInfo: smithy_client_1._json,
3730
+ JobId: smithy_client_1.expectString,
3731
+ JobStatus: smithy_client_1.expectString,
3732
+ Statistics: smithy_client_1._json,
3733
+ });
3734
+ Object.assign(contents, doc);
3735
+ return contents;
3736
+ };
3737
+ exports.de_GetExportJobCommand = de_GetExportJobCommand;
3738
+ const de_GetExportJobCommandError = async (output, context) => {
3739
+ const parsedOutput = {
3740
+ ...output,
3741
+ body: await parseErrorBody(output.body, context),
3742
+ };
3743
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3744
+ switch (errorCode) {
3745
+ case "BadRequestException":
3746
+ case "com.amazonaws.sesv2#BadRequestException":
3747
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3748
+ case "NotFoundException":
3749
+ case "com.amazonaws.sesv2#NotFoundException":
3750
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3751
+ case "TooManyRequestsException":
3752
+ case "com.amazonaws.sesv2#TooManyRequestsException":
3753
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
3754
+ default:
3755
+ const parsedBody = parsedOutput.body;
3756
+ return throwDefaultError({
3757
+ output,
3758
+ parsedBody,
3759
+ errorCode,
3760
+ });
3761
+ }
3762
+ };
3539
3763
  const de_GetImportJobCommand = async (output, context) => {
3540
3764
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3541
3765
  return de_GetImportJobCommandError(output, context);
@@ -3584,6 +3808,50 @@ const de_GetImportJobCommandError = async (output, context) => {
3584
3808
  });
3585
3809
  }
3586
3810
  };
3811
+ const de_GetMessageInsightsCommand = async (output, context) => {
3812
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3813
+ return de_GetMessageInsightsCommandError(output, context);
3814
+ }
3815
+ const contents = (0, smithy_client_1.map)({
3816
+ $metadata: deserializeMetadata(output),
3817
+ });
3818
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3819
+ const doc = (0, smithy_client_1.take)(data, {
3820
+ EmailTags: smithy_client_1._json,
3821
+ FromEmailAddress: smithy_client_1.expectString,
3822
+ Insights: (_) => de_EmailInsightsList(_, context),
3823
+ MessageId: smithy_client_1.expectString,
3824
+ Subject: smithy_client_1.expectString,
3825
+ });
3826
+ Object.assign(contents, doc);
3827
+ return contents;
3828
+ };
3829
+ exports.de_GetMessageInsightsCommand = de_GetMessageInsightsCommand;
3830
+ const de_GetMessageInsightsCommandError = async (output, context) => {
3831
+ const parsedOutput = {
3832
+ ...output,
3833
+ body: await parseErrorBody(output.body, context),
3834
+ };
3835
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3836
+ switch (errorCode) {
3837
+ case "BadRequestException":
3838
+ case "com.amazonaws.sesv2#BadRequestException":
3839
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3840
+ case "NotFoundException":
3841
+ case "com.amazonaws.sesv2#NotFoundException":
3842
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3843
+ case "TooManyRequestsException":
3844
+ case "com.amazonaws.sesv2#TooManyRequestsException":
3845
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
3846
+ default:
3847
+ const parsedBody = parsedOutput.body;
3848
+ return throwDefaultError({
3849
+ output,
3850
+ parsedBody,
3851
+ errorCode,
3852
+ });
3853
+ }
3854
+ };
3587
3855
  const de_GetSuppressedDestinationCommand = async (output, context) => {
3588
3856
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3589
3857
  return de_GetSuppressedDestinationCommandError(output, context);
@@ -3975,6 +4243,44 @@ const de_ListEmailTemplatesCommandError = async (output, context) => {
3975
4243
  });
3976
4244
  }
3977
4245
  };
4246
+ const de_ListExportJobsCommand = async (output, context) => {
4247
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4248
+ return de_ListExportJobsCommandError(output, context);
4249
+ }
4250
+ const contents = (0, smithy_client_1.map)({
4251
+ $metadata: deserializeMetadata(output),
4252
+ });
4253
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4254
+ const doc = (0, smithy_client_1.take)(data, {
4255
+ ExportJobs: (_) => de_ExportJobSummaryList(_, context),
4256
+ NextToken: smithy_client_1.expectString,
4257
+ });
4258
+ Object.assign(contents, doc);
4259
+ return contents;
4260
+ };
4261
+ exports.de_ListExportJobsCommand = de_ListExportJobsCommand;
4262
+ const de_ListExportJobsCommandError = async (output, context) => {
4263
+ const parsedOutput = {
4264
+ ...output,
4265
+ body: await parseErrorBody(output.body, context),
4266
+ };
4267
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4268
+ switch (errorCode) {
4269
+ case "BadRequestException":
4270
+ case "com.amazonaws.sesv2#BadRequestException":
4271
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
4272
+ case "TooManyRequestsException":
4273
+ case "com.amazonaws.sesv2#TooManyRequestsException":
4274
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
4275
+ default:
4276
+ const parsedBody = parsedOutput.body;
4277
+ return throwDefaultError({
4278
+ output,
4279
+ parsedBody,
4280
+ errorCode,
4281
+ });
4282
+ }
4283
+ };
3978
4284
  const de_ListImportJobsCommand = async (output, context) => {
3979
4285
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3980
4286
  return de_ListImportJobsCommandError(output, context);
@@ -5600,6 +5906,30 @@ const se_EmailContent = (input, context) => {
5600
5906
  Template: smithy_client_1._json,
5601
5907
  });
5602
5908
  };
5909
+ const se_ExportDataSource = (input, context) => {
5910
+ return (0, smithy_client_1.take)(input, {
5911
+ MessageInsightsDataSource: (_) => se_MessageInsightsDataSource(_, context),
5912
+ MetricsDataSource: (_) => se_MetricsDataSource(_, context),
5913
+ });
5914
+ };
5915
+ const se_MessageInsightsDataSource = (input, context) => {
5916
+ return (0, smithy_client_1.take)(input, {
5917
+ EndDate: (_) => Math.round(_.getTime() / 1000),
5918
+ Exclude: smithy_client_1._json,
5919
+ Include: smithy_client_1._json,
5920
+ MaxResults: [],
5921
+ StartDate: (_) => Math.round(_.getTime() / 1000),
5922
+ });
5923
+ };
5924
+ const se_MetricsDataSource = (input, context) => {
5925
+ return (0, smithy_client_1.take)(input, {
5926
+ Dimensions: smithy_client_1._json,
5927
+ EndDate: (_) => Math.round(_.getTime() / 1000),
5928
+ Metrics: smithy_client_1._json,
5929
+ Namespace: [],
5930
+ StartDate: (_) => Math.round(_.getTime() / 1000),
5931
+ });
5932
+ };
5603
5933
  const se_RawMessage = (input, context) => {
5604
5934
  return (0, smithy_client_1.take)(input, {
5605
5935
  Data: context.base64Encoder,
@@ -5752,6 +6082,21 @@ const de_DomainIspPlacements = (output, context) => {
5752
6082
  });
5753
6083
  return retVal;
5754
6084
  };
6085
+ const de_EmailInsights = (output, context) => {
6086
+ return (0, smithy_client_1.take)(output, {
6087
+ Destination: smithy_client_1.expectString,
6088
+ Events: (_) => de_InsightsEvents(_, context),
6089
+ Isp: smithy_client_1.expectString,
6090
+ });
6091
+ };
6092
+ const de_EmailInsightsList = (output, context) => {
6093
+ const retVal = (output || [])
6094
+ .filter((e) => e != null)
6095
+ .map((entry) => {
6096
+ return de_EmailInsights(entry, context);
6097
+ });
6098
+ return retVal;
6099
+ };
5755
6100
  const de_EmailTemplateMetadata = (output, context) => {
5756
6101
  return (0, smithy_client_1.take)(output, {
5757
6102
  CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -5766,6 +6111,29 @@ const de_EmailTemplateMetadataList = (output, context) => {
5766
6111
  });
5767
6112
  return retVal;
5768
6113
  };
6114
+ const de_ExportDataSource = (output, context) => {
6115
+ return (0, smithy_client_1.take)(output, {
6116
+ MessageInsightsDataSource: (_) => de_MessageInsightsDataSource(_, context),
6117
+ MetricsDataSource: (_) => de_MetricsDataSource(_, context),
6118
+ });
6119
+ };
6120
+ const de_ExportJobSummary = (output, context) => {
6121
+ return (0, smithy_client_1.take)(output, {
6122
+ CompletedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6123
+ CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6124
+ ExportSourceType: smithy_client_1.expectString,
6125
+ JobId: smithy_client_1.expectString,
6126
+ JobStatus: smithy_client_1.expectString,
6127
+ });
6128
+ };
6129
+ const de_ExportJobSummaryList = (output, context) => {
6130
+ const retVal = (output || [])
6131
+ .filter((e) => e != null)
6132
+ .map((entry) => {
6133
+ return de_ExportJobSummary(entry, context);
6134
+ });
6135
+ return retVal;
6136
+ };
5769
6137
  const de_ImportJobSummary = (output, context) => {
5770
6138
  return (0, smithy_client_1.take)(output, {
5771
6139
  CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -5784,6 +6152,21 @@ const de_ImportJobSummaryList = (output, context) => {
5784
6152
  });
5785
6153
  return retVal;
5786
6154
  };
6155
+ const de_InsightsEvent = (output, context) => {
6156
+ return (0, smithy_client_1.take)(output, {
6157
+ Details: smithy_client_1._json,
6158
+ Timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6159
+ Type: smithy_client_1.expectString,
6160
+ });
6161
+ };
6162
+ const de_InsightsEvents = (output, context) => {
6163
+ const retVal = (output || [])
6164
+ .filter((e) => e != null)
6165
+ .map((entry) => {
6166
+ return de_InsightsEvent(entry, context);
6167
+ });
6168
+ return retVal;
6169
+ };
5787
6170
  const de_IspPlacement = (output, context) => {
5788
6171
  return (0, smithy_client_1.take)(output, {
5789
6172
  IspName: smithy_client_1.expectString,
@@ -5814,6 +6197,15 @@ const de_ListOfContacts = (output, context) => {
5814
6197
  });
5815
6198
  return retVal;
5816
6199
  };
6200
+ const de_MessageInsightsDataSource = (output, context) => {
6201
+ return (0, smithy_client_1.take)(output, {
6202
+ EndDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6203
+ Exclude: smithy_client_1._json,
6204
+ Include: smithy_client_1._json,
6205
+ MaxResults: smithy_client_1.expectInt32,
6206
+ StartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6207
+ });
6208
+ };
5817
6209
  const de_MetricDataResult = (output, context) => {
5818
6210
  return (0, smithy_client_1.take)(output, {
5819
6211
  Id: smithy_client_1.expectString,
@@ -5829,6 +6221,15 @@ const de_MetricDataResultList = (output, context) => {
5829
6221
  });
5830
6222
  return retVal;
5831
6223
  };
6224
+ const de_MetricsDataSource = (output, context) => {
6225
+ return (0, smithy_client_1.take)(output, {
6226
+ Dimensions: smithy_client_1._json,
6227
+ EndDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6228
+ Metrics: smithy_client_1._json,
6229
+ Namespace: smithy_client_1.expectString,
6230
+ StartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
6231
+ });
6232
+ };
5832
6233
  const de_OverallVolume = (output, context) => {
5833
6234
  return (0, smithy_client_1.take)(output, {
5834
6235
  DomainIspPlacements: (_) => de_DomainIspPlacements(_, context),
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
- const types_1 = require("@smithy/types");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const asPartial = (t) => t;
6
6
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const clientConfiguration = {
8
- ...asPartial((0, types_1.getDefaultClientConfiguration)(runtimeConfig)),
7
+ const extensionConfiguration = {
8
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
9
9
  };
10
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
10
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
11
  return {
12
12
  ...runtimeConfig,
13
- ...(0, types_1.resolveDefaultRuntimeConfig)(clientConfiguration),
13
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
14
14
  };
15
15
  };
16
16
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
package/dist-es/SESv2.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BatchGetMetricDataCommand, } from "./commands/BatchGetMetricDataCommand";
3
+ import { CancelExportJobCommand, } from "./commands/CancelExportJobCommand";
3
4
  import { CreateConfigurationSetCommand, } from "./commands/CreateConfigurationSetCommand";
4
5
  import { CreateConfigurationSetEventDestinationCommand, } from "./commands/CreateConfigurationSetEventDestinationCommand";
5
6
  import { CreateContactCommand, } from "./commands/CreateContactCommand";
@@ -10,6 +11,7 @@ import { CreateDeliverabilityTestReportCommand, } from "./commands/CreateDeliver
10
11
  import { CreateEmailIdentityCommand, } from "./commands/CreateEmailIdentityCommand";
11
12
  import { CreateEmailIdentityPolicyCommand, } from "./commands/CreateEmailIdentityPolicyCommand";
12
13
  import { CreateEmailTemplateCommand, } from "./commands/CreateEmailTemplateCommand";
14
+ import { CreateExportJobCommand, } from "./commands/CreateExportJobCommand";
13
15
  import { CreateImportJobCommand, } from "./commands/CreateImportJobCommand";
14
16
  import { DeleteConfigurationSetCommand, } from "./commands/DeleteConfigurationSetCommand";
15
17
  import { DeleteConfigurationSetEventDestinationCommand, } from "./commands/DeleteConfigurationSetEventDestinationCommand";
@@ -38,7 +40,9 @@ import { GetDomainStatisticsReportCommand, } from "./commands/GetDomainStatistic
38
40
  import { GetEmailIdentityCommand, } from "./commands/GetEmailIdentityCommand";
39
41
  import { GetEmailIdentityPoliciesCommand, } from "./commands/GetEmailIdentityPoliciesCommand";
40
42
  import { GetEmailTemplateCommand, } from "./commands/GetEmailTemplateCommand";
43
+ import { GetExportJobCommand, } from "./commands/GetExportJobCommand";
41
44
  import { GetImportJobCommand, } from "./commands/GetImportJobCommand";
45
+ import { GetMessageInsightsCommand, } from "./commands/GetMessageInsightsCommand";
42
46
  import { GetSuppressedDestinationCommand, } from "./commands/GetSuppressedDestinationCommand";
43
47
  import { ListConfigurationSetsCommand, } from "./commands/ListConfigurationSetsCommand";
44
48
  import { ListContactListsCommand, } from "./commands/ListContactListsCommand";
@@ -49,6 +53,7 @@ import { ListDeliverabilityTestReportsCommand, } from "./commands/ListDeliverabi
49
53
  import { ListDomainDeliverabilityCampaignsCommand, } from "./commands/ListDomainDeliverabilityCampaignsCommand";
50
54
  import { ListEmailIdentitiesCommand, } from "./commands/ListEmailIdentitiesCommand";
51
55
  import { ListEmailTemplatesCommand, } from "./commands/ListEmailTemplatesCommand";
56
+ import { ListExportJobsCommand, } from "./commands/ListExportJobsCommand";
52
57
  import { ListImportJobsCommand, } from "./commands/ListImportJobsCommand";
53
58
  import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
54
59
  import { ListSuppressedDestinationsCommand, } from "./commands/ListSuppressedDestinationsCommand";
@@ -89,6 +94,7 @@ import { UpdateEmailTemplateCommand, } from "./commands/UpdateEmailTemplateComma
89
94
  import { SESv2Client } from "./SESv2Client";
90
95
  const commands = {
91
96
  BatchGetMetricDataCommand,
97
+ CancelExportJobCommand,
92
98
  CreateConfigurationSetCommand,
93
99
  CreateConfigurationSetEventDestinationCommand,
94
100
  CreateContactCommand,
@@ -99,6 +105,7 @@ const commands = {
99
105
  CreateEmailIdentityCommand,
100
106
  CreateEmailIdentityPolicyCommand,
101
107
  CreateEmailTemplateCommand,
108
+ CreateExportJobCommand,
102
109
  CreateImportJobCommand,
103
110
  DeleteConfigurationSetCommand,
104
111
  DeleteConfigurationSetEventDestinationCommand,
@@ -127,7 +134,9 @@ const commands = {
127
134
  GetEmailIdentityCommand,
128
135
  GetEmailIdentityPoliciesCommand,
129
136
  GetEmailTemplateCommand,
137
+ GetExportJobCommand,
130
138
  GetImportJobCommand,
139
+ GetMessageInsightsCommand,
131
140
  GetSuppressedDestinationCommand,
132
141
  ListConfigurationSetsCommand,
133
142
  ListContactListsCommand,
@@ -138,6 +147,7 @@ const commands = {
138
147
  ListDomainDeliverabilityCampaignsCommand,
139
148
  ListEmailIdentitiesCommand,
140
149
  ListEmailTemplatesCommand,
150
+ ListExportJobsCommand,
141
151
  ListImportJobsCommand,
142
152
  ListRecommendationsCommand,
143
153
  ListSuppressedDestinationsCommand,