@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.
- package/README.md +40 -0
- package/dist-cjs/SESv2.js +10 -0
- package/dist-cjs/commands/CancelExportJobCommand.js +46 -0
- package/dist-cjs/commands/CreateExportJobCommand.js +47 -0
- package/dist-cjs/commands/GetExportJobCommand.js +47 -0
- package/dist-cjs/commands/GetMessageInsightsCommand.js +47 -0
- package/dist-cjs/commands/ListExportJobsCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +76 -8
- package/dist-cjs/models/models_1.js +2 -0
- package/dist-cjs/pagination/ListExportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +405 -4
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/SESv2.js +10 -0
- package/dist-es/commands/CancelExportJobCommand.js +42 -0
- package/dist-es/commands/CreateExportJobCommand.js +43 -0
- package/dist-es/commands/GetExportJobCommand.js +43 -0
- package/dist-es/commands/GetMessageInsightsCommand.js +43 -0
- package/dist-es/commands/ListExportJobsCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +67 -6
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListExportJobsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +391 -0
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/SESv2.d.ts +35 -0
- package/dist-types/SESv2Client.d.ts +7 -2
- package/dist-types/commands/CancelExportJobCommand.d.ts +80 -0
- package/dist-types/commands/CreateExportJobCommand.d.ts +152 -0
- package/dist-types/commands/GetExportJobCommand.d.ts +161 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetMessageInsightsCommand.d.ts +115 -0
- package/dist-types/commands/ListExportJobsCommand.d.ts +91 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +2 -1
- package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -1
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
- package/dist-types/commands/SendEmailCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactListCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +811 -558
- package/dist-types/models/models_1.d.ts +523 -0
- package/dist-types/pagination/ListExportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/SESv2.d.ts +85 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CancelExportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMessageInsightsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListExportJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -102
- package/dist-types/ts3.4/models/models_1.d.ts +109 -0
- package/dist-types/ts3.4/pagination/ListExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
- package/package.json +29 -29
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -2
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
package/README.md
CHANGED
|
@@ -217,6 +217,14 @@ BatchGetMetricData
|
|
|
217
217
|
|
|
218
218
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/batchgetmetricdatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/batchgetmetricdatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/batchgetmetricdatacommandoutput.html)
|
|
219
219
|
|
|
220
|
+
</details>
|
|
221
|
+
<details>
|
|
222
|
+
<summary>
|
|
223
|
+
CancelExportJob
|
|
224
|
+
</summary>
|
|
225
|
+
|
|
226
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/cancelexportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/cancelexportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/cancelexportjobcommandoutput.html)
|
|
227
|
+
|
|
220
228
|
</details>
|
|
221
229
|
<details>
|
|
222
230
|
<summary>
|
|
@@ -297,6 +305,14 @@ CreateEmailTemplate
|
|
|
297
305
|
|
|
298
306
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/createemailtemplatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/createemailtemplatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/createemailtemplatecommandoutput.html)
|
|
299
307
|
|
|
308
|
+
</details>
|
|
309
|
+
<details>
|
|
310
|
+
<summary>
|
|
311
|
+
CreateExportJob
|
|
312
|
+
</summary>
|
|
313
|
+
|
|
314
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/createexportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/createexportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/createexportjobcommandoutput.html)
|
|
315
|
+
|
|
300
316
|
</details>
|
|
301
317
|
<details>
|
|
302
318
|
<summary>
|
|
@@ -521,6 +537,14 @@ GetEmailTemplate
|
|
|
521
537
|
|
|
522
538
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/getemailtemplatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getemailtemplatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getemailtemplatecommandoutput.html)
|
|
523
539
|
|
|
540
|
+
</details>
|
|
541
|
+
<details>
|
|
542
|
+
<summary>
|
|
543
|
+
GetExportJob
|
|
544
|
+
</summary>
|
|
545
|
+
|
|
546
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/getexportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getexportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getexportjobcommandoutput.html)
|
|
547
|
+
|
|
524
548
|
</details>
|
|
525
549
|
<details>
|
|
526
550
|
<summary>
|
|
@@ -529,6 +553,14 @@ GetImportJob
|
|
|
529
553
|
|
|
530
554
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/getimportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getimportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getimportjobcommandoutput.html)
|
|
531
555
|
|
|
556
|
+
</details>
|
|
557
|
+
<details>
|
|
558
|
+
<summary>
|
|
559
|
+
GetMessageInsights
|
|
560
|
+
</summary>
|
|
561
|
+
|
|
562
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/getmessageinsightscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getmessageinsightscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/getmessageinsightscommandoutput.html)
|
|
563
|
+
|
|
532
564
|
</details>
|
|
533
565
|
<details>
|
|
534
566
|
<summary>
|
|
@@ -609,6 +641,14 @@ ListEmailTemplates
|
|
|
609
641
|
|
|
610
642
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/listemailtemplatescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/listemailtemplatescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/listemailtemplatescommandoutput.html)
|
|
611
643
|
|
|
644
|
+
</details>
|
|
645
|
+
<details>
|
|
646
|
+
<summary>
|
|
647
|
+
ListExportJobs
|
|
648
|
+
</summary>
|
|
649
|
+
|
|
650
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/listexportjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/listexportjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/listexportjobscommandoutput.html)
|
|
651
|
+
|
|
612
652
|
</details>
|
|
613
653
|
<details>
|
|
614
654
|
<summary>
|
package/dist-cjs/SESv2.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SESv2 = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BatchGetMetricDataCommand_1 = require("./commands/BatchGetMetricDataCommand");
|
|
6
|
+
const CancelExportJobCommand_1 = require("./commands/CancelExportJobCommand");
|
|
6
7
|
const CreateConfigurationSetCommand_1 = require("./commands/CreateConfigurationSetCommand");
|
|
7
8
|
const CreateConfigurationSetEventDestinationCommand_1 = require("./commands/CreateConfigurationSetEventDestinationCommand");
|
|
8
9
|
const CreateContactCommand_1 = require("./commands/CreateContactCommand");
|
|
@@ -13,6 +14,7 @@ const CreateDeliverabilityTestReportCommand_1 = require("./commands/CreateDelive
|
|
|
13
14
|
const CreateEmailIdentityCommand_1 = require("./commands/CreateEmailIdentityCommand");
|
|
14
15
|
const CreateEmailIdentityPolicyCommand_1 = require("./commands/CreateEmailIdentityPolicyCommand");
|
|
15
16
|
const CreateEmailTemplateCommand_1 = require("./commands/CreateEmailTemplateCommand");
|
|
17
|
+
const CreateExportJobCommand_1 = require("./commands/CreateExportJobCommand");
|
|
16
18
|
const CreateImportJobCommand_1 = require("./commands/CreateImportJobCommand");
|
|
17
19
|
const DeleteConfigurationSetCommand_1 = require("./commands/DeleteConfigurationSetCommand");
|
|
18
20
|
const DeleteConfigurationSetEventDestinationCommand_1 = require("./commands/DeleteConfigurationSetEventDestinationCommand");
|
|
@@ -41,7 +43,9 @@ const GetDomainStatisticsReportCommand_1 = require("./commands/GetDomainStatisti
|
|
|
41
43
|
const GetEmailIdentityCommand_1 = require("./commands/GetEmailIdentityCommand");
|
|
42
44
|
const GetEmailIdentityPoliciesCommand_1 = require("./commands/GetEmailIdentityPoliciesCommand");
|
|
43
45
|
const GetEmailTemplateCommand_1 = require("./commands/GetEmailTemplateCommand");
|
|
46
|
+
const GetExportJobCommand_1 = require("./commands/GetExportJobCommand");
|
|
44
47
|
const GetImportJobCommand_1 = require("./commands/GetImportJobCommand");
|
|
48
|
+
const GetMessageInsightsCommand_1 = require("./commands/GetMessageInsightsCommand");
|
|
45
49
|
const GetSuppressedDestinationCommand_1 = require("./commands/GetSuppressedDestinationCommand");
|
|
46
50
|
const ListConfigurationSetsCommand_1 = require("./commands/ListConfigurationSetsCommand");
|
|
47
51
|
const ListContactListsCommand_1 = require("./commands/ListContactListsCommand");
|
|
@@ -52,6 +56,7 @@ const ListDeliverabilityTestReportsCommand_1 = require("./commands/ListDeliverab
|
|
|
52
56
|
const ListDomainDeliverabilityCampaignsCommand_1 = require("./commands/ListDomainDeliverabilityCampaignsCommand");
|
|
53
57
|
const ListEmailIdentitiesCommand_1 = require("./commands/ListEmailIdentitiesCommand");
|
|
54
58
|
const ListEmailTemplatesCommand_1 = require("./commands/ListEmailTemplatesCommand");
|
|
59
|
+
const ListExportJobsCommand_1 = require("./commands/ListExportJobsCommand");
|
|
55
60
|
const ListImportJobsCommand_1 = require("./commands/ListImportJobsCommand");
|
|
56
61
|
const ListRecommendationsCommand_1 = require("./commands/ListRecommendationsCommand");
|
|
57
62
|
const ListSuppressedDestinationsCommand_1 = require("./commands/ListSuppressedDestinationsCommand");
|
|
@@ -92,6 +97,7 @@ const UpdateEmailTemplateCommand_1 = require("./commands/UpdateEmailTemplateComm
|
|
|
92
97
|
const SESv2Client_1 = require("./SESv2Client");
|
|
93
98
|
const commands = {
|
|
94
99
|
BatchGetMetricDataCommand: BatchGetMetricDataCommand_1.BatchGetMetricDataCommand,
|
|
100
|
+
CancelExportJobCommand: CancelExportJobCommand_1.CancelExportJobCommand,
|
|
95
101
|
CreateConfigurationSetCommand: CreateConfigurationSetCommand_1.CreateConfigurationSetCommand,
|
|
96
102
|
CreateConfigurationSetEventDestinationCommand: CreateConfigurationSetEventDestinationCommand_1.CreateConfigurationSetEventDestinationCommand,
|
|
97
103
|
CreateContactCommand: CreateContactCommand_1.CreateContactCommand,
|
|
@@ -102,6 +108,7 @@ const commands = {
|
|
|
102
108
|
CreateEmailIdentityCommand: CreateEmailIdentityCommand_1.CreateEmailIdentityCommand,
|
|
103
109
|
CreateEmailIdentityPolicyCommand: CreateEmailIdentityPolicyCommand_1.CreateEmailIdentityPolicyCommand,
|
|
104
110
|
CreateEmailTemplateCommand: CreateEmailTemplateCommand_1.CreateEmailTemplateCommand,
|
|
111
|
+
CreateExportJobCommand: CreateExportJobCommand_1.CreateExportJobCommand,
|
|
105
112
|
CreateImportJobCommand: CreateImportJobCommand_1.CreateImportJobCommand,
|
|
106
113
|
DeleteConfigurationSetCommand: DeleteConfigurationSetCommand_1.DeleteConfigurationSetCommand,
|
|
107
114
|
DeleteConfigurationSetEventDestinationCommand: DeleteConfigurationSetEventDestinationCommand_1.DeleteConfigurationSetEventDestinationCommand,
|
|
@@ -130,7 +137,9 @@ const commands = {
|
|
|
130
137
|
GetEmailIdentityCommand: GetEmailIdentityCommand_1.GetEmailIdentityCommand,
|
|
131
138
|
GetEmailIdentityPoliciesCommand: GetEmailIdentityPoliciesCommand_1.GetEmailIdentityPoliciesCommand,
|
|
132
139
|
GetEmailTemplateCommand: GetEmailTemplateCommand_1.GetEmailTemplateCommand,
|
|
140
|
+
GetExportJobCommand: GetExportJobCommand_1.GetExportJobCommand,
|
|
133
141
|
GetImportJobCommand: GetImportJobCommand_1.GetImportJobCommand,
|
|
142
|
+
GetMessageInsightsCommand: GetMessageInsightsCommand_1.GetMessageInsightsCommand,
|
|
134
143
|
GetSuppressedDestinationCommand: GetSuppressedDestinationCommand_1.GetSuppressedDestinationCommand,
|
|
135
144
|
ListConfigurationSetsCommand: ListConfigurationSetsCommand_1.ListConfigurationSetsCommand,
|
|
136
145
|
ListContactListsCommand: ListContactListsCommand_1.ListContactListsCommand,
|
|
@@ -141,6 +150,7 @@ const commands = {
|
|
|
141
150
|
ListDomainDeliverabilityCampaignsCommand: ListDomainDeliverabilityCampaignsCommand_1.ListDomainDeliverabilityCampaignsCommand,
|
|
142
151
|
ListEmailIdentitiesCommand: ListEmailIdentitiesCommand_1.ListEmailIdentitiesCommand,
|
|
143
152
|
ListEmailTemplatesCommand: ListEmailTemplatesCommand_1.ListEmailTemplatesCommand,
|
|
153
|
+
ListExportJobsCommand: ListExportJobsCommand_1.ListExportJobsCommand,
|
|
144
154
|
ListImportJobsCommand: ListImportJobsCommand_1.ListImportJobsCommand,
|
|
145
155
|
ListRecommendationsCommand: ListRecommendationsCommand_1.ListRecommendationsCommand,
|
|
146
156
|
ListSuppressedDestinationsCommand: ListSuppressedDestinationsCommand_1.ListSuppressedDestinationsCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelExportJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CancelExportJobCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelExportJobCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SESv2Client";
|
|
28
|
+
const commandName = "CancelExportJobCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_CancelExportJobCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_CancelExportJobCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CancelExportJobCommand = CancelExportJobCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateExportJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateExportJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateExportJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SESv2Client";
|
|
29
|
+
const commandName = "CreateExportJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.CreateExportJobRequestFilterSensitiveLog,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_restJson1_1.se_CreateExportJobCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_restJson1_1.de_CreateExportJobCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.CreateExportJobCommand = CreateExportJobCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetExportJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetExportJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetExportJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SESv2Client";
|
|
29
|
+
const commandName = "GetExportJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.GetExportJobResponseFilterSensitiveLog,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_restJson1_1.se_GetExportJobCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_restJson1_1.de_GetExportJobCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.GetExportJobCommand = GetExportJobCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetMessageInsightsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetMessageInsightsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMessageInsightsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SESv2Client";
|
|
29
|
+
const commandName = "GetMessageInsightsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.GetMessageInsightsResponseFilterSensitiveLog,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_restJson1_1.se_GetMessageInsightsCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_restJson1_1.de_GetMessageInsightsCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.GetMessageInsightsCommand = GetMessageInsightsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExportJobsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListExportJobsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListExportJobsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SESv2Client";
|
|
28
|
+
const commandName = "ListExportJobsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListExportJobsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListExportJobsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListExportJobsCommand = ListExportJobsCommand;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./BatchGetMetricDataCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelExportJobCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateConfigurationSetCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateConfigurationSetEventDestinationCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateContactCommand"), exports);
|
|
@@ -12,6 +13,7 @@ tslib_1.__exportStar(require("./CreateDeliverabilityTestReportCommand"), exports
|
|
|
12
13
|
tslib_1.__exportStar(require("./CreateEmailIdentityCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./CreateEmailIdentityPolicyCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./CreateEmailTemplateCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./CreateExportJobCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./CreateImportJobCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./DeleteConfigurationSetCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./DeleteConfigurationSetEventDestinationCommand"), exports);
|
|
@@ -40,7 +42,9 @@ tslib_1.__exportStar(require("./GetDomainStatisticsReportCommand"), exports);
|
|
|
40
42
|
tslib_1.__exportStar(require("./GetEmailIdentityCommand"), exports);
|
|
41
43
|
tslib_1.__exportStar(require("./GetEmailIdentityPoliciesCommand"), exports);
|
|
42
44
|
tslib_1.__exportStar(require("./GetEmailTemplateCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./GetExportJobCommand"), exports);
|
|
43
46
|
tslib_1.__exportStar(require("./GetImportJobCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetMessageInsightsCommand"), exports);
|
|
44
48
|
tslib_1.__exportStar(require("./GetSuppressedDestinationCommand"), exports);
|
|
45
49
|
tslib_1.__exportStar(require("./ListConfigurationSetsCommand"), exports);
|
|
46
50
|
tslib_1.__exportStar(require("./ListContactListsCommand"), exports);
|
|
@@ -51,6 +55,7 @@ tslib_1.__exportStar(require("./ListDeliverabilityTestReportsCommand"), exports)
|
|
|
51
55
|
tslib_1.__exportStar(require("./ListDomainDeliverabilityCampaignsCommand"), exports);
|
|
52
56
|
tslib_1.__exportStar(require("./ListEmailIdentitiesCommand"), exports);
|
|
53
57
|
tslib_1.__exportStar(require("./ListEmailTemplatesCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./ListExportJobsCommand"), exports);
|
|
54
59
|
tslib_1.__exportStar(require("./ListImportJobsCommand"), exports);
|
|
55
60
|
tslib_1.__exportStar(require("./ListRecommendationsCommand"), exports);
|
|
56
61
|
tslib_1.__exportStar(require("./ListSuppressedDestinationsCommand"), exports);
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://email.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = exports.PutAccountDetailsRequestFilterSensitiveLog = exports.GetAccountResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.RecommendationImpact = exports.ListRecommendationsFilterKey = exports.InvalidNextTokenException = exports.ImportDestinationType = exports.VerificationStatus = exports.MailFromDomainStatus = exports.JobStatus = exports.ExportSourceType = exports.DeliverabilityDashboardAccountStatus = exports.WarmupStatus = exports.SuppressionListImportAction = exports.DataFormat = exports.MetricAggregation = exports.EngagementEventType = exports.DeliveryEventType = exports.IdentityType = exports.DkimStatus = exports.DkimSigningAttributesOrigin = exports.DkimSigningKeyLength = exports.SendingPausedException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.DeliverabilityTestStatus = exports.ScalingMode = exports.EventType = exports.LimitExceededException = exports.FeatureStatus = exports.SuppressionListReason = exports.TlsPolicy = exports.ContactListImportAction = exports.SubscriptionStatus = exports.ConflictException = exports.ConcurrentModificationException = exports.DimensionValueSource = exports.BulkEmailStatus = exports.BounceType = exports.BehaviorOnMxFailure = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServiceErrorException = exports.QueryErrorCode = exports.MetricNamespace = exports.Metric = exports.MetricDimensionName = exports.BadRequestException = exports.AlreadyExistsException = exports.AccountSuspendedException = exports.ReviewStatus = exports.MailType = exports.ContactLanguage = void 0;
|
|
4
|
+
exports.PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = exports.PutAccountDetailsRequestFilterSensitiveLog = exports.GetMessageInsightsResponseFilterSensitiveLog = exports.GetExportJobResponseFilterSensitiveLog = exports.GetAccountResponseFilterSensitiveLog = exports.EmailInsightsFilterSensitiveLog = exports.CreateExportJobRequestFilterSensitiveLog = exports.ExportDataSourceFilterSensitiveLog = exports.MessageInsightsDataSourceFilterSensitiveLog = exports.MessageInsightsFiltersFilterSensitiveLog = exports.CreateEmailIdentityRequestFilterSensitiveLog = exports.DkimSigningAttributesFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.RecommendationType = exports.RecommendationStatus = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const SESv2ServiceException_1 = require("./SESv2ServiceException");
|
|
7
7
|
exports.ContactLanguage = {
|
|
@@ -124,6 +124,11 @@ exports.BehaviorOnMxFailure = {
|
|
|
124
124
|
REJECT_MESSAGE: "REJECT_MESSAGE",
|
|
125
125
|
USE_DEFAULT_VALUE: "USE_DEFAULT_VALUE",
|
|
126
126
|
};
|
|
127
|
+
exports.BounceType = {
|
|
128
|
+
PERMANENT: "PERMANENT",
|
|
129
|
+
TRANSIENT: "TRANSIENT",
|
|
130
|
+
UNDETERMINED: "UNDETERMINED",
|
|
131
|
+
};
|
|
127
132
|
exports.BulkEmailStatus = {
|
|
128
133
|
ACCOUNT_DAILY_QUOTA_EXCEEDED: "ACCOUNT_DAILY_QUOTA_EXCEEDED",
|
|
129
134
|
ACCOUNT_SENDING_PAUSED: "ACCOUNT_SENDING_PAUSED",
|
|
@@ -283,6 +288,22 @@ exports.IdentityType = {
|
|
|
283
288
|
EMAIL_ADDRESS: "EMAIL_ADDRESS",
|
|
284
289
|
MANAGED_DOMAIN: "MANAGED_DOMAIN",
|
|
285
290
|
};
|
|
291
|
+
exports.DeliveryEventType = {
|
|
292
|
+
COMPLAINT: "COMPLAINT",
|
|
293
|
+
DELIVERY: "DELIVERY",
|
|
294
|
+
PERMANENT_BOUNCE: "PERMANENT_BOUNCE",
|
|
295
|
+
SEND: "SEND",
|
|
296
|
+
TRANSIENT_BOUNCE: "TRANSIENT_BOUNCE",
|
|
297
|
+
UNDETERMINED_BOUNCE: "UNDETERMINED_BOUNCE",
|
|
298
|
+
};
|
|
299
|
+
exports.EngagementEventType = {
|
|
300
|
+
CLICK: "CLICK",
|
|
301
|
+
OPEN: "OPEN",
|
|
302
|
+
};
|
|
303
|
+
exports.MetricAggregation = {
|
|
304
|
+
RATE: "RATE",
|
|
305
|
+
VOLUME: "VOLUME",
|
|
306
|
+
};
|
|
286
307
|
exports.DataFormat = {
|
|
287
308
|
CSV: "CSV",
|
|
288
309
|
JSON: "JSON",
|
|
@@ -300,6 +321,17 @@ exports.DeliverabilityDashboardAccountStatus = {
|
|
|
300
321
|
DISABLED: "DISABLED",
|
|
301
322
|
PENDING_EXPIRATION: "PENDING_EXPIRATION",
|
|
302
323
|
};
|
|
324
|
+
exports.ExportSourceType = {
|
|
325
|
+
MESSAGE_INSIGHTS: "MESSAGE_INSIGHTS",
|
|
326
|
+
METRICS_DATA: "METRICS_DATA",
|
|
327
|
+
};
|
|
328
|
+
exports.JobStatus = {
|
|
329
|
+
CANCELLED: "CANCELLED",
|
|
330
|
+
COMPLETED: "COMPLETED",
|
|
331
|
+
CREATED: "CREATED",
|
|
332
|
+
FAILED: "FAILED",
|
|
333
|
+
PROCESSING: "PROCESSING",
|
|
334
|
+
};
|
|
303
335
|
exports.MailFromDomainStatus = {
|
|
304
336
|
FAILED: "FAILED",
|
|
305
337
|
PENDING: "PENDING",
|
|
@@ -313,12 +345,6 @@ exports.VerificationStatus = {
|
|
|
313
345
|
SUCCESS: "SUCCESS",
|
|
314
346
|
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
315
347
|
};
|
|
316
|
-
exports.JobStatus = {
|
|
317
|
-
COMPLETED: "COMPLETED",
|
|
318
|
-
CREATED: "CREATED",
|
|
319
|
-
FAILED: "FAILED",
|
|
320
|
-
PROCESSING: "PROCESSING",
|
|
321
|
-
};
|
|
322
348
|
exports.ImportDestinationType = {
|
|
323
349
|
CONTACT_LIST: "CONTACT_LIST",
|
|
324
350
|
SUPPRESSION_LIST: "SUPPRESSION_LIST",
|
|
@@ -375,11 +401,53 @@ const CreateEmailIdentityRequestFilterSensitiveLog = (obj) => ({
|
|
|
375
401
|
}),
|
|
376
402
|
});
|
|
377
403
|
exports.CreateEmailIdentityRequestFilterSensitiveLog = CreateEmailIdentityRequestFilterSensitiveLog;
|
|
404
|
+
const MessageInsightsFiltersFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
...(obj.FromEmailAddress && { FromEmailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
407
|
+
...(obj.Destination && { Destination: smithy_client_1.SENSITIVE_STRING }),
|
|
408
|
+
...(obj.Subject && { Subject: smithy_client_1.SENSITIVE_STRING }),
|
|
409
|
+
});
|
|
410
|
+
exports.MessageInsightsFiltersFilterSensitiveLog = MessageInsightsFiltersFilterSensitiveLog;
|
|
411
|
+
const MessageInsightsDataSourceFilterSensitiveLog = (obj) => ({
|
|
412
|
+
...obj,
|
|
413
|
+
...(obj.Include && { Include: (0, exports.MessageInsightsFiltersFilterSensitiveLog)(obj.Include) }),
|
|
414
|
+
...(obj.Exclude && { Exclude: (0, exports.MessageInsightsFiltersFilterSensitiveLog)(obj.Exclude) }),
|
|
415
|
+
});
|
|
416
|
+
exports.MessageInsightsDataSourceFilterSensitiveLog = MessageInsightsDataSourceFilterSensitiveLog;
|
|
417
|
+
const ExportDataSourceFilterSensitiveLog = (obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
...(obj.MessageInsightsDataSource && {
|
|
420
|
+
MessageInsightsDataSource: (0, exports.MessageInsightsDataSourceFilterSensitiveLog)(obj.MessageInsightsDataSource),
|
|
421
|
+
}),
|
|
422
|
+
});
|
|
423
|
+
exports.ExportDataSourceFilterSensitiveLog = ExportDataSourceFilterSensitiveLog;
|
|
424
|
+
const CreateExportJobRequestFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
...(obj.ExportDataSource && { ExportDataSource: (0, exports.ExportDataSourceFilterSensitiveLog)(obj.ExportDataSource) }),
|
|
427
|
+
});
|
|
428
|
+
exports.CreateExportJobRequestFilterSensitiveLog = CreateExportJobRequestFilterSensitiveLog;
|
|
429
|
+
const EmailInsightsFilterSensitiveLog = (obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
...(obj.Destination && { Destination: smithy_client_1.SENSITIVE_STRING }),
|
|
432
|
+
});
|
|
433
|
+
exports.EmailInsightsFilterSensitiveLog = EmailInsightsFilterSensitiveLog;
|
|
378
434
|
const GetAccountResponseFilterSensitiveLog = (obj) => ({
|
|
379
435
|
...obj,
|
|
380
436
|
...(obj.Details && { Details: (0, exports.AccountDetailsFilterSensitiveLog)(obj.Details) }),
|
|
381
437
|
});
|
|
382
438
|
exports.GetAccountResponseFilterSensitiveLog = GetAccountResponseFilterSensitiveLog;
|
|
439
|
+
const GetExportJobResponseFilterSensitiveLog = (obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
...(obj.ExportDataSource && { ExportDataSource: (0, exports.ExportDataSourceFilterSensitiveLog)(obj.ExportDataSource) }),
|
|
442
|
+
});
|
|
443
|
+
exports.GetExportJobResponseFilterSensitiveLog = GetExportJobResponseFilterSensitiveLog;
|
|
444
|
+
const GetMessageInsightsResponseFilterSensitiveLog = (obj) => ({
|
|
445
|
+
...obj,
|
|
446
|
+
...(obj.FromEmailAddress && { FromEmailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
447
|
+
...(obj.Subject && { Subject: smithy_client_1.SENSITIVE_STRING }),
|
|
448
|
+
...(obj.Insights && { Insights: obj.Insights.map((item) => (0, exports.EmailInsightsFilterSensitiveLog)(item)) }),
|
|
449
|
+
});
|
|
450
|
+
exports.GetMessageInsightsResponseFilterSensitiveLog = GetMessageInsightsResponseFilterSensitiveLog;
|
|
383
451
|
const PutAccountDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
384
452
|
...obj,
|
|
385
453
|
...(obj.WebsiteURL && { WebsiteURL: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListExportJobs = void 0;
|
|
4
|
+
const ListExportJobsCommand_1 = require("../commands/ListExportJobsCommand");
|
|
5
|
+
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListExportJobsCommand_1.ListExportJobsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListExportJobs(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["PageSize"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListExportJobs = paginateListExportJobs;
|
|
@@ -12,6 +12,7 @@ tslib_1.__exportStar(require("./ListDeliverabilityTestReportsPaginator"), export
|
|
|
12
12
|
tslib_1.__exportStar(require("./ListDomainDeliverabilityCampaignsPaginator"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./ListEmailIdentitiesPaginator"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./ListEmailTemplatesPaginator"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListExportJobsPaginator"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./ListImportJobsPaginator"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./ListRecommendationsPaginator"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./ListSuppressedDestinationsPaginator"), exports);
|