@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
@@ -9,6 +9,7 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
9
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
10
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { BatchGetMetricDataCommandInput, BatchGetMetricDataCommandOutput } from "./commands/BatchGetMetricDataCommand";
12
+ import { CancelExportJobCommandInput, CancelExportJobCommandOutput } from "./commands/CancelExportJobCommand";
12
13
  import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
13
14
  import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
14
15
  import { CreateContactCommandInput, CreateContactCommandOutput } from "./commands/CreateContactCommand";
@@ -19,6 +20,7 @@ import { CreateDeliverabilityTestReportCommandInput, CreateDeliverabilityTestRep
19
20
  import { CreateEmailIdentityCommandInput, CreateEmailIdentityCommandOutput } from "./commands/CreateEmailIdentityCommand";
20
21
  import { CreateEmailIdentityPolicyCommandInput, CreateEmailIdentityPolicyCommandOutput } from "./commands/CreateEmailIdentityPolicyCommand";
21
22
  import { CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput } from "./commands/CreateEmailTemplateCommand";
23
+ import { CreateExportJobCommandInput, CreateExportJobCommandOutput } from "./commands/CreateExportJobCommand";
22
24
  import { CreateImportJobCommandInput, CreateImportJobCommandOutput } from "./commands/CreateImportJobCommand";
23
25
  import { DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput } from "./commands/DeleteConfigurationSetCommand";
24
26
  import { DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput } from "./commands/DeleteConfigurationSetEventDestinationCommand";
@@ -47,7 +49,9 @@ import { GetDomainStatisticsReportCommandInput, GetDomainStatisticsReportCommand
47
49
  import { GetEmailIdentityCommandInput, GetEmailIdentityCommandOutput } from "./commands/GetEmailIdentityCommand";
48
50
  import { GetEmailIdentityPoliciesCommandInput, GetEmailIdentityPoliciesCommandOutput } from "./commands/GetEmailIdentityPoliciesCommand";
49
51
  import { GetEmailTemplateCommandInput, GetEmailTemplateCommandOutput } from "./commands/GetEmailTemplateCommand";
52
+ import { GetExportJobCommandInput, GetExportJobCommandOutput } from "./commands/GetExportJobCommand";
50
53
  import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
54
+ import { GetMessageInsightsCommandInput, GetMessageInsightsCommandOutput } from "./commands/GetMessageInsightsCommand";
51
55
  import { GetSuppressedDestinationCommandInput, GetSuppressedDestinationCommandOutput } from "./commands/GetSuppressedDestinationCommand";
52
56
  import { ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput } from "./commands/ListConfigurationSetsCommand";
53
57
  import { ListContactListsCommandInput, ListContactListsCommandOutput } from "./commands/ListContactListsCommand";
@@ -58,6 +62,7 @@ import { ListDeliverabilityTestReportsCommandInput, ListDeliverabilityTestReport
58
62
  import { ListDomainDeliverabilityCampaignsCommandInput, ListDomainDeliverabilityCampaignsCommandOutput } from "./commands/ListDomainDeliverabilityCampaignsCommand";
59
63
  import { ListEmailIdentitiesCommandInput, ListEmailIdentitiesCommandOutput } from "./commands/ListEmailIdentitiesCommand";
60
64
  import { ListEmailTemplatesCommandInput, ListEmailTemplatesCommandOutput } from "./commands/ListEmailTemplatesCommand";
65
+ import { ListExportJobsCommandInput, ListExportJobsCommandOutput } from "./commands/ListExportJobsCommand";
61
66
  import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
62
67
  import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
63
68
  import { ListSuppressedDestinationsCommandInput, ListSuppressedDestinationsCommandOutput } from "./commands/ListSuppressedDestinationsCommand";
@@ -101,11 +106,11 @@ export { __Client };
101
106
  /**
102
107
  * @public
103
108
  */
104
- export type ServiceInputTypes = BatchGetMetricDataCommandInput | CreateConfigurationSetCommandInput | CreateConfigurationSetEventDestinationCommandInput | CreateContactCommandInput | CreateContactListCommandInput | CreateCustomVerificationEmailTemplateCommandInput | CreateDedicatedIpPoolCommandInput | CreateDeliverabilityTestReportCommandInput | CreateEmailIdentityCommandInput | CreateEmailIdentityPolicyCommandInput | CreateEmailTemplateCommandInput | CreateImportJobCommandInput | DeleteConfigurationSetCommandInput | DeleteConfigurationSetEventDestinationCommandInput | DeleteContactCommandInput | DeleteContactListCommandInput | DeleteCustomVerificationEmailTemplateCommandInput | DeleteDedicatedIpPoolCommandInput | DeleteEmailIdentityCommandInput | DeleteEmailIdentityPolicyCommandInput | DeleteEmailTemplateCommandInput | DeleteSuppressedDestinationCommandInput | GetAccountCommandInput | GetBlacklistReportsCommandInput | GetConfigurationSetCommandInput | GetConfigurationSetEventDestinationsCommandInput | GetContactCommandInput | GetContactListCommandInput | GetCustomVerificationEmailTemplateCommandInput | GetDedicatedIpCommandInput | GetDedicatedIpPoolCommandInput | GetDedicatedIpsCommandInput | GetDeliverabilityDashboardOptionsCommandInput | GetDeliverabilityTestReportCommandInput | GetDomainDeliverabilityCampaignCommandInput | GetDomainStatisticsReportCommandInput | GetEmailIdentityCommandInput | GetEmailIdentityPoliciesCommandInput | GetEmailTemplateCommandInput | GetImportJobCommandInput | GetSuppressedDestinationCommandInput | ListConfigurationSetsCommandInput | ListContactListsCommandInput | ListContactsCommandInput | ListCustomVerificationEmailTemplatesCommandInput | ListDedicatedIpPoolsCommandInput | ListDeliverabilityTestReportsCommandInput | ListDomainDeliverabilityCampaignsCommandInput | ListEmailIdentitiesCommandInput | ListEmailTemplatesCommandInput | ListImportJobsCommandInput | ListRecommendationsCommandInput | ListSuppressedDestinationsCommandInput | ListTagsForResourceCommandInput | PutAccountDedicatedIpWarmupAttributesCommandInput | PutAccountDetailsCommandInput | PutAccountSendingAttributesCommandInput | PutAccountSuppressionAttributesCommandInput | PutAccountVdmAttributesCommandInput | PutConfigurationSetDeliveryOptionsCommandInput | PutConfigurationSetReputationOptionsCommandInput | PutConfigurationSetSendingOptionsCommandInput | PutConfigurationSetSuppressionOptionsCommandInput | PutConfigurationSetTrackingOptionsCommandInput | PutConfigurationSetVdmOptionsCommandInput | PutDedicatedIpInPoolCommandInput | PutDedicatedIpPoolScalingAttributesCommandInput | PutDedicatedIpWarmupAttributesCommandInput | PutDeliverabilityDashboardOptionCommandInput | PutEmailIdentityConfigurationSetAttributesCommandInput | PutEmailIdentityDkimAttributesCommandInput | PutEmailIdentityDkimSigningAttributesCommandInput | PutEmailIdentityFeedbackAttributesCommandInput | PutEmailIdentityMailFromAttributesCommandInput | PutSuppressedDestinationCommandInput | SendBulkEmailCommandInput | SendCustomVerificationEmailCommandInput | SendEmailCommandInput | TagResourceCommandInput | TestRenderEmailTemplateCommandInput | UntagResourceCommandInput | UpdateConfigurationSetEventDestinationCommandInput | UpdateContactCommandInput | UpdateContactListCommandInput | UpdateCustomVerificationEmailTemplateCommandInput | UpdateEmailIdentityPolicyCommandInput | UpdateEmailTemplateCommandInput;
109
+ export type ServiceInputTypes = BatchGetMetricDataCommandInput | CancelExportJobCommandInput | CreateConfigurationSetCommandInput | CreateConfigurationSetEventDestinationCommandInput | CreateContactCommandInput | CreateContactListCommandInput | CreateCustomVerificationEmailTemplateCommandInput | CreateDedicatedIpPoolCommandInput | CreateDeliverabilityTestReportCommandInput | CreateEmailIdentityCommandInput | CreateEmailIdentityPolicyCommandInput | CreateEmailTemplateCommandInput | CreateExportJobCommandInput | CreateImportJobCommandInput | DeleteConfigurationSetCommandInput | DeleteConfigurationSetEventDestinationCommandInput | DeleteContactCommandInput | DeleteContactListCommandInput | DeleteCustomVerificationEmailTemplateCommandInput | DeleteDedicatedIpPoolCommandInput | DeleteEmailIdentityCommandInput | DeleteEmailIdentityPolicyCommandInput | DeleteEmailTemplateCommandInput | DeleteSuppressedDestinationCommandInput | GetAccountCommandInput | GetBlacklistReportsCommandInput | GetConfigurationSetCommandInput | GetConfigurationSetEventDestinationsCommandInput | GetContactCommandInput | GetContactListCommandInput | GetCustomVerificationEmailTemplateCommandInput | GetDedicatedIpCommandInput | GetDedicatedIpPoolCommandInput | GetDedicatedIpsCommandInput | GetDeliverabilityDashboardOptionsCommandInput | GetDeliverabilityTestReportCommandInput | GetDomainDeliverabilityCampaignCommandInput | GetDomainStatisticsReportCommandInput | GetEmailIdentityCommandInput | GetEmailIdentityPoliciesCommandInput | GetEmailTemplateCommandInput | GetExportJobCommandInput | GetImportJobCommandInput | GetMessageInsightsCommandInput | GetSuppressedDestinationCommandInput | ListConfigurationSetsCommandInput | ListContactListsCommandInput | ListContactsCommandInput | ListCustomVerificationEmailTemplatesCommandInput | ListDedicatedIpPoolsCommandInput | ListDeliverabilityTestReportsCommandInput | ListDomainDeliverabilityCampaignsCommandInput | ListEmailIdentitiesCommandInput | ListEmailTemplatesCommandInput | ListExportJobsCommandInput | ListImportJobsCommandInput | ListRecommendationsCommandInput | ListSuppressedDestinationsCommandInput | ListTagsForResourceCommandInput | PutAccountDedicatedIpWarmupAttributesCommandInput | PutAccountDetailsCommandInput | PutAccountSendingAttributesCommandInput | PutAccountSuppressionAttributesCommandInput | PutAccountVdmAttributesCommandInput | PutConfigurationSetDeliveryOptionsCommandInput | PutConfigurationSetReputationOptionsCommandInput | PutConfigurationSetSendingOptionsCommandInput | PutConfigurationSetSuppressionOptionsCommandInput | PutConfigurationSetTrackingOptionsCommandInput | PutConfigurationSetVdmOptionsCommandInput | PutDedicatedIpInPoolCommandInput | PutDedicatedIpPoolScalingAttributesCommandInput | PutDedicatedIpWarmupAttributesCommandInput | PutDeliverabilityDashboardOptionCommandInput | PutEmailIdentityConfigurationSetAttributesCommandInput | PutEmailIdentityDkimAttributesCommandInput | PutEmailIdentityDkimSigningAttributesCommandInput | PutEmailIdentityFeedbackAttributesCommandInput | PutEmailIdentityMailFromAttributesCommandInput | PutSuppressedDestinationCommandInput | SendBulkEmailCommandInput | SendCustomVerificationEmailCommandInput | SendEmailCommandInput | TagResourceCommandInput | TestRenderEmailTemplateCommandInput | UntagResourceCommandInput | UpdateConfigurationSetEventDestinationCommandInput | UpdateContactCommandInput | UpdateContactListCommandInput | UpdateCustomVerificationEmailTemplateCommandInput | UpdateEmailIdentityPolicyCommandInput | UpdateEmailTemplateCommandInput;
105
110
  /**
106
111
  * @public
107
112
  */
108
- export type ServiceOutputTypes = BatchGetMetricDataCommandOutput | CreateConfigurationSetCommandOutput | CreateConfigurationSetEventDestinationCommandOutput | CreateContactCommandOutput | CreateContactListCommandOutput | CreateCustomVerificationEmailTemplateCommandOutput | CreateDedicatedIpPoolCommandOutput | CreateDeliverabilityTestReportCommandOutput | CreateEmailIdentityCommandOutput | CreateEmailIdentityPolicyCommandOutput | CreateEmailTemplateCommandOutput | CreateImportJobCommandOutput | DeleteConfigurationSetCommandOutput | DeleteConfigurationSetEventDestinationCommandOutput | DeleteContactCommandOutput | DeleteContactListCommandOutput | DeleteCustomVerificationEmailTemplateCommandOutput | DeleteDedicatedIpPoolCommandOutput | DeleteEmailIdentityCommandOutput | DeleteEmailIdentityPolicyCommandOutput | DeleteEmailTemplateCommandOutput | DeleteSuppressedDestinationCommandOutput | GetAccountCommandOutput | GetBlacklistReportsCommandOutput | GetConfigurationSetCommandOutput | GetConfigurationSetEventDestinationsCommandOutput | GetContactCommandOutput | GetContactListCommandOutput | GetCustomVerificationEmailTemplateCommandOutput | GetDedicatedIpCommandOutput | GetDedicatedIpPoolCommandOutput | GetDedicatedIpsCommandOutput | GetDeliverabilityDashboardOptionsCommandOutput | GetDeliverabilityTestReportCommandOutput | GetDomainDeliverabilityCampaignCommandOutput | GetDomainStatisticsReportCommandOutput | GetEmailIdentityCommandOutput | GetEmailIdentityPoliciesCommandOutput | GetEmailTemplateCommandOutput | GetImportJobCommandOutput | GetSuppressedDestinationCommandOutput | ListConfigurationSetsCommandOutput | ListContactListsCommandOutput | ListContactsCommandOutput | ListCustomVerificationEmailTemplatesCommandOutput | ListDedicatedIpPoolsCommandOutput | ListDeliverabilityTestReportsCommandOutput | ListDomainDeliverabilityCampaignsCommandOutput | ListEmailIdentitiesCommandOutput | ListEmailTemplatesCommandOutput | ListImportJobsCommandOutput | ListRecommendationsCommandOutput | ListSuppressedDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDedicatedIpWarmupAttributesCommandOutput | PutAccountDetailsCommandOutput | PutAccountSendingAttributesCommandOutput | PutAccountSuppressionAttributesCommandOutput | PutAccountVdmAttributesCommandOutput | PutConfigurationSetDeliveryOptionsCommandOutput | PutConfigurationSetReputationOptionsCommandOutput | PutConfigurationSetSendingOptionsCommandOutput | PutConfigurationSetSuppressionOptionsCommandOutput | PutConfigurationSetTrackingOptionsCommandOutput | PutConfigurationSetVdmOptionsCommandOutput | PutDedicatedIpInPoolCommandOutput | PutDedicatedIpPoolScalingAttributesCommandOutput | PutDedicatedIpWarmupAttributesCommandOutput | PutDeliverabilityDashboardOptionCommandOutput | PutEmailIdentityConfigurationSetAttributesCommandOutput | PutEmailIdentityDkimAttributesCommandOutput | PutEmailIdentityDkimSigningAttributesCommandOutput | PutEmailIdentityFeedbackAttributesCommandOutput | PutEmailIdentityMailFromAttributesCommandOutput | PutSuppressedDestinationCommandOutput | SendBulkEmailCommandOutput | SendCustomVerificationEmailCommandOutput | SendEmailCommandOutput | TagResourceCommandOutput | TestRenderEmailTemplateCommandOutput | UntagResourceCommandOutput | UpdateConfigurationSetEventDestinationCommandOutput | UpdateContactCommandOutput | UpdateContactListCommandOutput | UpdateCustomVerificationEmailTemplateCommandOutput | UpdateEmailIdentityPolicyCommandOutput | UpdateEmailTemplateCommandOutput;
113
+ export type ServiceOutputTypes = BatchGetMetricDataCommandOutput | CancelExportJobCommandOutput | CreateConfigurationSetCommandOutput | CreateConfigurationSetEventDestinationCommandOutput | CreateContactCommandOutput | CreateContactListCommandOutput | CreateCustomVerificationEmailTemplateCommandOutput | CreateDedicatedIpPoolCommandOutput | CreateDeliverabilityTestReportCommandOutput | CreateEmailIdentityCommandOutput | CreateEmailIdentityPolicyCommandOutput | CreateEmailTemplateCommandOutput | CreateExportJobCommandOutput | CreateImportJobCommandOutput | DeleteConfigurationSetCommandOutput | DeleteConfigurationSetEventDestinationCommandOutput | DeleteContactCommandOutput | DeleteContactListCommandOutput | DeleteCustomVerificationEmailTemplateCommandOutput | DeleteDedicatedIpPoolCommandOutput | DeleteEmailIdentityCommandOutput | DeleteEmailIdentityPolicyCommandOutput | DeleteEmailTemplateCommandOutput | DeleteSuppressedDestinationCommandOutput | GetAccountCommandOutput | GetBlacklistReportsCommandOutput | GetConfigurationSetCommandOutput | GetConfigurationSetEventDestinationsCommandOutput | GetContactCommandOutput | GetContactListCommandOutput | GetCustomVerificationEmailTemplateCommandOutput | GetDedicatedIpCommandOutput | GetDedicatedIpPoolCommandOutput | GetDedicatedIpsCommandOutput | GetDeliverabilityDashboardOptionsCommandOutput | GetDeliverabilityTestReportCommandOutput | GetDomainDeliverabilityCampaignCommandOutput | GetDomainStatisticsReportCommandOutput | GetEmailIdentityCommandOutput | GetEmailIdentityPoliciesCommandOutput | GetEmailTemplateCommandOutput | GetExportJobCommandOutput | GetImportJobCommandOutput | GetMessageInsightsCommandOutput | GetSuppressedDestinationCommandOutput | ListConfigurationSetsCommandOutput | ListContactListsCommandOutput | ListContactsCommandOutput | ListCustomVerificationEmailTemplatesCommandOutput | ListDedicatedIpPoolsCommandOutput | ListDeliverabilityTestReportsCommandOutput | ListDomainDeliverabilityCampaignsCommandOutput | ListEmailIdentitiesCommandOutput | ListEmailTemplatesCommandOutput | ListExportJobsCommandOutput | ListImportJobsCommandOutput | ListRecommendationsCommandOutput | ListSuppressedDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDedicatedIpWarmupAttributesCommandOutput | PutAccountDetailsCommandOutput | PutAccountSendingAttributesCommandOutput | PutAccountSuppressionAttributesCommandOutput | PutAccountVdmAttributesCommandOutput | PutConfigurationSetDeliveryOptionsCommandOutput | PutConfigurationSetReputationOptionsCommandOutput | PutConfigurationSetSendingOptionsCommandOutput | PutConfigurationSetSuppressionOptionsCommandOutput | PutConfigurationSetTrackingOptionsCommandOutput | PutConfigurationSetVdmOptionsCommandOutput | PutDedicatedIpInPoolCommandOutput | PutDedicatedIpPoolScalingAttributesCommandOutput | PutDedicatedIpWarmupAttributesCommandOutput | PutDeliverabilityDashboardOptionCommandOutput | PutEmailIdentityConfigurationSetAttributesCommandOutput | PutEmailIdentityDkimAttributesCommandOutput | PutEmailIdentityDkimSigningAttributesCommandOutput | PutEmailIdentityFeedbackAttributesCommandOutput | PutEmailIdentityMailFromAttributesCommandOutput | PutSuppressedDestinationCommandOutput | SendBulkEmailCommandOutput | SendCustomVerificationEmailCommandOutput | SendEmailCommandOutput | TagResourceCommandOutput | TestRenderEmailTemplateCommandOutput | UntagResourceCommandOutput | UpdateConfigurationSetEventDestinationCommandOutput | UpdateContactCommandOutput | UpdateContactListCommandOutput | UpdateCustomVerificationEmailTemplateCommandOutput | UpdateEmailIdentityPolicyCommandOutput | UpdateEmailTemplateCommandOutput;
109
114
  /**
110
115
  * @public
111
116
  */
@@ -0,0 +1,80 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CancelExportJobRequest, CancelExportJobResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CancelExportJobCommand}.
14
+ */
15
+ export interface CancelExportJobCommandInput extends CancelExportJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CancelExportJobCommand}.
21
+ */
22
+ export interface CancelExportJobCommandOutput extends CancelExportJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Cancels an export job.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { SESv2Client, CancelExportJobCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
31
+ * // const { SESv2Client, CancelExportJobCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
32
+ * const client = new SESv2Client(config);
33
+ * const input = { // CancelExportJobRequest
34
+ * JobId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new CancelExportJobCommand(input);
37
+ * const response = await client.send(command);
38
+ * // {};
39
+ *
40
+ * ```
41
+ *
42
+ * @param CancelExportJobCommandInput - {@link CancelExportJobCommandInput}
43
+ * @returns {@link CancelExportJobCommandOutput}
44
+ * @see {@link CancelExportJobCommandInput} for command's `input` shape.
45
+ * @see {@link CancelExportJobCommandOutput} for command's `response` shape.
46
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
47
+ *
48
+ * @throws {@link BadRequestException} (client fault)
49
+ * <p>The input you provided is invalid.</p>
50
+ *
51
+ * @throws {@link NotFoundException} (client fault)
52
+ * <p>The resource you attempted to access doesn't exist.</p>
53
+ *
54
+ * @throws {@link TooManyRequestsException} (client fault)
55
+ * <p>Too many requests have been made to the operation.</p>
56
+ *
57
+ * @throws {@link SESv2ServiceException}
58
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
59
+ *
60
+ */
61
+ export declare class CancelExportJobCommand extends $Command<CancelExportJobCommandInput, CancelExportJobCommandOutput, SESv2ClientResolvedConfig> {
62
+ readonly input: CancelExportJobCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: CancelExportJobCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelExportJobCommandInput, CancelExportJobCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -0,0 +1,152 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateExportJobRequest, CreateExportJobResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateExportJobCommand}.
14
+ */
15
+ export interface CreateExportJobCommandInput extends CreateExportJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateExportJobCommand}.
21
+ */
22
+ export interface CreateExportJobCommandOutput extends CreateExportJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates an export job for a data source and destination.</p>
27
+ * <p>You can execute this operation no more than once per second.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SESv2Client, CreateExportJobCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
32
+ * // const { SESv2Client, CreateExportJobCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
33
+ * const client = new SESv2Client(config);
34
+ * const input = { // CreateExportJobRequest
35
+ * ExportDataSource: { // ExportDataSource
36
+ * MetricsDataSource: { // MetricsDataSource
37
+ * Dimensions: { // ExportDimensions // required
38
+ * "<keys>": [ // ExportDimensionValue
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * Namespace: "VDM", // required
43
+ * Metrics: [ // ExportMetrics // required
44
+ * { // ExportMetric
45
+ * Name: "SEND" || "COMPLAINT" || "PERMANENT_BOUNCE" || "TRANSIENT_BOUNCE" || "OPEN" || "CLICK" || "DELIVERY" || "DELIVERY_OPEN" || "DELIVERY_CLICK" || "DELIVERY_COMPLAINT",
46
+ * Aggregation: "RATE" || "VOLUME",
47
+ * },
48
+ * ],
49
+ * StartDate: new Date("TIMESTAMP"), // required
50
+ * EndDate: new Date("TIMESTAMP"), // required
51
+ * },
52
+ * MessageInsightsDataSource: { // MessageInsightsDataSource
53
+ * StartDate: new Date("TIMESTAMP"), // required
54
+ * EndDate: new Date("TIMESTAMP"), // required
55
+ * Include: { // MessageInsightsFilters
56
+ * FromEmailAddress: [ // EmailAddressFilterList
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * Destination: [
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * Subject: [ // EmailSubjectFilterList
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * Isp: [ // IspFilterList
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * LastDeliveryEvent: [ // LastDeliveryEventList
69
+ * "SEND" || "DELIVERY" || "TRANSIENT_BOUNCE" || "PERMANENT_BOUNCE" || "UNDETERMINED_BOUNCE" || "COMPLAINT",
70
+ * ],
71
+ * LastEngagementEvent: [ // LastEngagementEventList
72
+ * "OPEN" || "CLICK",
73
+ * ],
74
+ * },
75
+ * Exclude: {
76
+ * FromEmailAddress: [
77
+ * "STRING_VALUE",
78
+ * ],
79
+ * Destination: [
80
+ * "STRING_VALUE",
81
+ * ],
82
+ * Subject: [
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * Isp: [
86
+ * "STRING_VALUE",
87
+ * ],
88
+ * LastDeliveryEvent: [
89
+ * "SEND" || "DELIVERY" || "TRANSIENT_BOUNCE" || "PERMANENT_BOUNCE" || "UNDETERMINED_BOUNCE" || "COMPLAINT",
90
+ * ],
91
+ * LastEngagementEvent: [
92
+ * "OPEN" || "CLICK",
93
+ * ],
94
+ * },
95
+ * MaxResults: Number("int"),
96
+ * },
97
+ * },
98
+ * ExportDestination: { // ExportDestination
99
+ * DataFormat: "CSV" || "JSON", // required
100
+ * S3Url: "STRING_VALUE",
101
+ * },
102
+ * };
103
+ * const command = new CreateExportJobCommand(input);
104
+ * const response = await client.send(command);
105
+ * // { // CreateExportJobResponse
106
+ * // JobId: "STRING_VALUE",
107
+ * // };
108
+ *
109
+ * ```
110
+ *
111
+ * @param CreateExportJobCommandInput - {@link CreateExportJobCommandInput}
112
+ * @returns {@link CreateExportJobCommandOutput}
113
+ * @see {@link CreateExportJobCommandInput} for command's `input` shape.
114
+ * @see {@link CreateExportJobCommandOutput} for command's `response` shape.
115
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
116
+ *
117
+ * @throws {@link BadRequestException} (client fault)
118
+ * <p>The input you provided is invalid.</p>
119
+ *
120
+ * @throws {@link LimitExceededException} (client fault)
121
+ * <p>There are too many instances of the specified resource type.</p>
122
+ *
123
+ * @throws {@link NotFoundException} (client fault)
124
+ * <p>The resource you attempted to access doesn't exist.</p>
125
+ *
126
+ * @throws {@link TooManyRequestsException} (client fault)
127
+ * <p>Too many requests have been made to the operation.</p>
128
+ *
129
+ * @throws {@link SESv2ServiceException}
130
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
131
+ *
132
+ */
133
+ export declare class CreateExportJobCommand extends $Command<CreateExportJobCommandInput, CreateExportJobCommandOutput, SESv2ClientResolvedConfig> {
134
+ readonly input: CreateExportJobCommandInput;
135
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
136
+ /**
137
+ * @public
138
+ */
139
+ constructor(input: CreateExportJobCommandInput);
140
+ /**
141
+ * @internal
142
+ */
143
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExportJobCommandInput, CreateExportJobCommandOutput>;
144
+ /**
145
+ * @internal
146
+ */
147
+ private serialize;
148
+ /**
149
+ * @internal
150
+ */
151
+ private deserialize;
152
+ }
@@ -0,0 +1,161 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GetExportJobRequest, GetExportJobResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetExportJobCommand}.
14
+ */
15
+ export interface GetExportJobCommandInput extends GetExportJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetExportJobCommand}.
21
+ */
22
+ export interface GetExportJobCommandOutput extends GetExportJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Provides information about an export job.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { SESv2Client, GetExportJobCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
31
+ * // const { SESv2Client, GetExportJobCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
32
+ * const client = new SESv2Client(config);
33
+ * const input = { // GetExportJobRequest
34
+ * JobId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetExportJobCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetExportJobResponse
39
+ * // JobId: "STRING_VALUE",
40
+ * // ExportSourceType: "METRICS_DATA" || "MESSAGE_INSIGHTS",
41
+ * // JobStatus: "CREATED" || "PROCESSING" || "COMPLETED" || "FAILED" || "CANCELLED",
42
+ * // ExportDestination: { // ExportDestination
43
+ * // DataFormat: "CSV" || "JSON", // required
44
+ * // S3Url: "STRING_VALUE",
45
+ * // },
46
+ * // ExportDataSource: { // ExportDataSource
47
+ * // MetricsDataSource: { // MetricsDataSource
48
+ * // Dimensions: { // ExportDimensions // required
49
+ * // "<keys>": [ // ExportDimensionValue
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // },
53
+ * // Namespace: "VDM", // required
54
+ * // Metrics: [ // ExportMetrics // required
55
+ * // { // ExportMetric
56
+ * // Name: "SEND" || "COMPLAINT" || "PERMANENT_BOUNCE" || "TRANSIENT_BOUNCE" || "OPEN" || "CLICK" || "DELIVERY" || "DELIVERY_OPEN" || "DELIVERY_CLICK" || "DELIVERY_COMPLAINT",
57
+ * // Aggregation: "RATE" || "VOLUME",
58
+ * // },
59
+ * // ],
60
+ * // StartDate: new Date("TIMESTAMP"), // required
61
+ * // EndDate: new Date("TIMESTAMP"), // required
62
+ * // },
63
+ * // MessageInsightsDataSource: { // MessageInsightsDataSource
64
+ * // StartDate: new Date("TIMESTAMP"), // required
65
+ * // EndDate: new Date("TIMESTAMP"), // required
66
+ * // Include: { // MessageInsightsFilters
67
+ * // FromEmailAddress: [ // EmailAddressFilterList
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // Destination: [
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // Subject: [ // EmailSubjectFilterList
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // Isp: [ // IspFilterList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // LastDeliveryEvent: [ // LastDeliveryEventList
80
+ * // "SEND" || "DELIVERY" || "TRANSIENT_BOUNCE" || "PERMANENT_BOUNCE" || "UNDETERMINED_BOUNCE" || "COMPLAINT",
81
+ * // ],
82
+ * // LastEngagementEvent: [ // LastEngagementEventList
83
+ * // "OPEN" || "CLICK",
84
+ * // ],
85
+ * // },
86
+ * // Exclude: {
87
+ * // FromEmailAddress: [
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // Destination: [
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // Subject: [
94
+ * // "STRING_VALUE",
95
+ * // ],
96
+ * // Isp: [
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // LastDeliveryEvent: [
100
+ * // "SEND" || "DELIVERY" || "TRANSIENT_BOUNCE" || "PERMANENT_BOUNCE" || "UNDETERMINED_BOUNCE" || "COMPLAINT",
101
+ * // ],
102
+ * // LastEngagementEvent: [
103
+ * // "OPEN" || "CLICK",
104
+ * // ],
105
+ * // },
106
+ * // MaxResults: Number("int"),
107
+ * // },
108
+ * // },
109
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
110
+ * // CompletedTimestamp: new Date("TIMESTAMP"),
111
+ * // FailureInfo: { // FailureInfo
112
+ * // FailedRecordsS3Url: "STRING_VALUE",
113
+ * // ErrorMessage: "STRING_VALUE",
114
+ * // },
115
+ * // Statistics: { // ExportStatistics
116
+ * // ProcessedRecordsCount: Number("int"),
117
+ * // ExportedRecordsCount: Number("int"),
118
+ * // },
119
+ * // };
120
+ *
121
+ * ```
122
+ *
123
+ * @param GetExportJobCommandInput - {@link GetExportJobCommandInput}
124
+ * @returns {@link GetExportJobCommandOutput}
125
+ * @see {@link GetExportJobCommandInput} for command's `input` shape.
126
+ * @see {@link GetExportJobCommandOutput} for command's `response` shape.
127
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
128
+ *
129
+ * @throws {@link BadRequestException} (client fault)
130
+ * <p>The input you provided is invalid.</p>
131
+ *
132
+ * @throws {@link NotFoundException} (client fault)
133
+ * <p>The resource you attempted to access doesn't exist.</p>
134
+ *
135
+ * @throws {@link TooManyRequestsException} (client fault)
136
+ * <p>Too many requests have been made to the operation.</p>
137
+ *
138
+ * @throws {@link SESv2ServiceException}
139
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
140
+ *
141
+ */
142
+ export declare class GetExportJobCommand extends $Command<GetExportJobCommandInput, GetExportJobCommandOutput, SESv2ClientResolvedConfig> {
143
+ readonly input: GetExportJobCommandInput;
144
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
145
+ /**
146
+ * @public
147
+ */
148
+ constructor(input: GetExportJobCommandInput);
149
+ /**
150
+ * @internal
151
+ */
152
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetExportJobCommandInput, GetExportJobCommandOutput>;
153
+ /**
154
+ * @internal
155
+ */
156
+ private serialize;
157
+ /**
158
+ * @internal
159
+ */
160
+ private deserialize;
161
+ }
@@ -54,7 +54,7 @@ export interface GetImportJobCommandOutput extends GetImportJobResponse, __Metad
54
54
  * // FailedRecordsS3Url: "STRING_VALUE",
55
55
  * // ErrorMessage: "STRING_VALUE",
56
56
  * // },
57
- * // JobStatus: "CREATED" || "PROCESSING" || "COMPLETED" || "FAILED",
57
+ * // JobStatus: "CREATED" || "PROCESSING" || "COMPLETED" || "FAILED" || "CANCELLED",
58
58
  * // CreatedTimestamp: new Date("TIMESTAMP"),
59
59
  * // CompletedTimestamp: new Date("TIMESTAMP"),
60
60
  * // ProcessedRecordsCount: Number("int"),
@@ -0,0 +1,115 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GetMessageInsightsRequest, GetMessageInsightsResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMessageInsightsCommand}.
14
+ */
15
+ export interface GetMessageInsightsCommandInput extends GetMessageInsightsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMessageInsightsCommand}.
21
+ */
22
+ export interface GetMessageInsightsCommandOutput extends GetMessageInsightsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Provides information about a specific message, including the from address, the
27
+ * subject, the recipient address, email tags, as well as events associated with the message.</p>
28
+ * <p>You can execute this operation no more than once per second.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { SESv2Client, GetMessageInsightsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
33
+ * // const { SESv2Client, GetMessageInsightsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
34
+ * const client = new SESv2Client(config);
35
+ * const input = { // GetMessageInsightsRequest
36
+ * MessageId: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetMessageInsightsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetMessageInsightsResponse
41
+ * // MessageId: "STRING_VALUE",
42
+ * // FromEmailAddress: "STRING_VALUE",
43
+ * // Subject: "STRING_VALUE",
44
+ * // EmailTags: [ // MessageTagList
45
+ * // { // MessageTag
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Value: "STRING_VALUE", // required
48
+ * // },
49
+ * // ],
50
+ * // Insights: [ // EmailInsightsList
51
+ * // { // EmailInsights
52
+ * // Destination: "STRING_VALUE",
53
+ * // Isp: "STRING_VALUE",
54
+ * // Events: [ // InsightsEvents
55
+ * // { // InsightsEvent
56
+ * // Timestamp: new Date("TIMESTAMP"),
57
+ * // Type: "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE" || "DELIVERY_DELAY" || "SUBSCRIPTION",
58
+ * // Details: { // EventDetails
59
+ * // Bounce: { // Bounce
60
+ * // BounceType: "UNDETERMINED" || "TRANSIENT" || "PERMANENT",
61
+ * // BounceSubType: "STRING_VALUE",
62
+ * // DiagnosticCode: "STRING_VALUE",
63
+ * // },
64
+ * // Complaint: { // Complaint
65
+ * // ComplaintSubType: "STRING_VALUE",
66
+ * // ComplaintFeedbackType: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // ],
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param GetMessageInsightsCommandInput - {@link GetMessageInsightsCommandInput}
78
+ * @returns {@link GetMessageInsightsCommandOutput}
79
+ * @see {@link GetMessageInsightsCommandInput} for command's `input` shape.
80
+ * @see {@link GetMessageInsightsCommandOutput} for command's `response` shape.
81
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
82
+ *
83
+ * @throws {@link BadRequestException} (client fault)
84
+ * <p>The input you provided is invalid.</p>
85
+ *
86
+ * @throws {@link NotFoundException} (client fault)
87
+ * <p>The resource you attempted to access doesn't exist.</p>
88
+ *
89
+ * @throws {@link TooManyRequestsException} (client fault)
90
+ * <p>Too many requests have been made to the operation.</p>
91
+ *
92
+ * @throws {@link SESv2ServiceException}
93
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
94
+ *
95
+ */
96
+ export declare class GetMessageInsightsCommand extends $Command<GetMessageInsightsCommandInput, GetMessageInsightsCommandOutput, SESv2ClientResolvedConfig> {
97
+ readonly input: GetMessageInsightsCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: GetMessageInsightsCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMessageInsightsCommandInput, GetMessageInsightsCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }