@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
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_CancelExportJobCommand, se_CancelExportJobCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class CancelExportJobCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CancelExportJobCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "SESv2Client";
25
+ const commandName = "CancelExportJobCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_CancelExportJobCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_CancelExportJobCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { CreateExportJobRequestFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_CreateExportJobCommand, se_CreateExportJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateExportJobCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateExportJobCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "SESv2Client";
26
+ const commandName = "CreateExportJobCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: CreateExportJobRequestFilterSensitiveLog,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_CreateExportJobCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_CreateExportJobCommand(output, context);
42
+ }
43
+ }
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { GetExportJobResponseFilterSensitiveLog } from "../models/models_0";
5
+ import { de_GetExportJobCommand, se_GetExportJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetExportJobCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetExportJobCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "SESv2Client";
26
+ const commandName = "GetExportJobCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: GetExportJobResponseFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_GetExportJobCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_GetExportJobCommand(output, context);
42
+ }
43
+ }
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { GetMessageInsightsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_GetMessageInsightsCommand, se_GetMessageInsightsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetMessageInsightsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetMessageInsightsCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "SESv2Client";
26
+ const commandName = "GetMessageInsightsCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: GetMessageInsightsResponseFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_GetMessageInsightsCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_GetMessageInsightsCommand(output, context);
42
+ }
43
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ListExportJobsCommand, se_ListExportJobsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListExportJobsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListExportJobsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "SESv2Client";
25
+ const commandName = "ListExportJobsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListExportJobsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListExportJobsCommand(output, context);
41
+ }
42
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./BatchGetMetricDataCommand";
2
+ export * from "./CancelExportJobCommand";
2
3
  export * from "./CreateConfigurationSetCommand";
3
4
  export * from "./CreateConfigurationSetEventDestinationCommand";
4
5
  export * from "./CreateContactCommand";
@@ -9,6 +10,7 @@ export * from "./CreateDeliverabilityTestReportCommand";
9
10
  export * from "./CreateEmailIdentityCommand";
10
11
  export * from "./CreateEmailIdentityPolicyCommand";
11
12
  export * from "./CreateEmailTemplateCommand";
13
+ export * from "./CreateExportJobCommand";
12
14
  export * from "./CreateImportJobCommand";
13
15
  export * from "./DeleteConfigurationSetCommand";
14
16
  export * from "./DeleteConfigurationSetEventDestinationCommand";
@@ -37,7 +39,9 @@ export * from "./GetDomainStatisticsReportCommand";
37
39
  export * from "./GetEmailIdentityCommand";
38
40
  export * from "./GetEmailIdentityPoliciesCommand";
39
41
  export * from "./GetEmailTemplateCommand";
42
+ export * from "./GetExportJobCommand";
40
43
  export * from "./GetImportJobCommand";
44
+ export * from "./GetMessageInsightsCommand";
41
45
  export * from "./GetSuppressedDestinationCommand";
42
46
  export * from "./ListConfigurationSetsCommand";
43
47
  export * from "./ListContactListsCommand";
@@ -48,6 +52,7 @@ export * from "./ListDeliverabilityTestReportsCommand";
48
52
  export * from "./ListDomainDeliverabilityCampaignsCommand";
49
53
  export * from "./ListEmailIdentitiesCommand";
50
54
  export * from "./ListEmailTemplatesCommand";
55
+ export * from "./ListExportJobsCommand";
51
56
  export * from "./ListImportJobsCommand";
52
57
  export * from "./ListRecommendationsCommand";
53
58
  export * from "./ListSuppressedDestinationsCommand";
@@ -1,4 +1,4 @@
1
1
  const q = "required", r = "fn", s = "argv", t = "ref";
2
2
  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" }];
3
- 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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ 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: [{ 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: [{ 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 }] }, { type: b, rules: [{ endpoint: { url: "https://email.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ 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 }] };
4
4
  export const ruleSet = _data;
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";
@@ -114,6 +114,11 @@ export const BehaviorOnMxFailure = {
114
114
  REJECT_MESSAGE: "REJECT_MESSAGE",
115
115
  USE_DEFAULT_VALUE: "USE_DEFAULT_VALUE",
116
116
  };
117
+ export const BounceType = {
118
+ PERMANENT: "PERMANENT",
119
+ TRANSIENT: "TRANSIENT",
120
+ UNDETERMINED: "UNDETERMINED",
121
+ };
117
122
  export const BulkEmailStatus = {
118
123
  ACCOUNT_DAILY_QUOTA_EXCEEDED: "ACCOUNT_DAILY_QUOTA_EXCEEDED",
119
124
  ACCOUNT_SENDING_PAUSED: "ACCOUNT_SENDING_PAUSED",
@@ -267,6 +272,22 @@ export const IdentityType = {
267
272
  EMAIL_ADDRESS: "EMAIL_ADDRESS",
268
273
  MANAGED_DOMAIN: "MANAGED_DOMAIN",
269
274
  };
275
+ export const DeliveryEventType = {
276
+ COMPLAINT: "COMPLAINT",
277
+ DELIVERY: "DELIVERY",
278
+ PERMANENT_BOUNCE: "PERMANENT_BOUNCE",
279
+ SEND: "SEND",
280
+ TRANSIENT_BOUNCE: "TRANSIENT_BOUNCE",
281
+ UNDETERMINED_BOUNCE: "UNDETERMINED_BOUNCE",
282
+ };
283
+ export const EngagementEventType = {
284
+ CLICK: "CLICK",
285
+ OPEN: "OPEN",
286
+ };
287
+ export const MetricAggregation = {
288
+ RATE: "RATE",
289
+ VOLUME: "VOLUME",
290
+ };
270
291
  export const DataFormat = {
271
292
  CSV: "CSV",
272
293
  JSON: "JSON",
@@ -284,6 +305,17 @@ export const DeliverabilityDashboardAccountStatus = {
284
305
  DISABLED: "DISABLED",
285
306
  PENDING_EXPIRATION: "PENDING_EXPIRATION",
286
307
  };
308
+ export const ExportSourceType = {
309
+ MESSAGE_INSIGHTS: "MESSAGE_INSIGHTS",
310
+ METRICS_DATA: "METRICS_DATA",
311
+ };
312
+ export const JobStatus = {
313
+ CANCELLED: "CANCELLED",
314
+ COMPLETED: "COMPLETED",
315
+ CREATED: "CREATED",
316
+ FAILED: "FAILED",
317
+ PROCESSING: "PROCESSING",
318
+ };
287
319
  export const MailFromDomainStatus = {
288
320
  FAILED: "FAILED",
289
321
  PENDING: "PENDING",
@@ -297,12 +329,6 @@ export const VerificationStatus = {
297
329
  SUCCESS: "SUCCESS",
298
330
  TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
299
331
  };
300
- export const JobStatus = {
301
- COMPLETED: "COMPLETED",
302
- CREATED: "CREATED",
303
- FAILED: "FAILED",
304
- PROCESSING: "PROCESSING",
305
- };
306
332
  export const ImportDestinationType = {
307
333
  CONTACT_LIST: "CONTACT_LIST",
308
334
  SUPPRESSION_LIST: "SUPPRESSION_LIST",
@@ -355,10 +381,45 @@ export const CreateEmailIdentityRequestFilterSensitiveLog = (obj) => ({
355
381
  DkimSigningAttributes: DkimSigningAttributesFilterSensitiveLog(obj.DkimSigningAttributes),
356
382
  }),
357
383
  });
384
+ export const MessageInsightsFiltersFilterSensitiveLog = (obj) => ({
385
+ ...obj,
386
+ ...(obj.FromEmailAddress && { FromEmailAddress: SENSITIVE_STRING }),
387
+ ...(obj.Destination && { Destination: SENSITIVE_STRING }),
388
+ ...(obj.Subject && { Subject: SENSITIVE_STRING }),
389
+ });
390
+ export const MessageInsightsDataSourceFilterSensitiveLog = (obj) => ({
391
+ ...obj,
392
+ ...(obj.Include && { Include: MessageInsightsFiltersFilterSensitiveLog(obj.Include) }),
393
+ ...(obj.Exclude && { Exclude: MessageInsightsFiltersFilterSensitiveLog(obj.Exclude) }),
394
+ });
395
+ export const ExportDataSourceFilterSensitiveLog = (obj) => ({
396
+ ...obj,
397
+ ...(obj.MessageInsightsDataSource && {
398
+ MessageInsightsDataSource: MessageInsightsDataSourceFilterSensitiveLog(obj.MessageInsightsDataSource),
399
+ }),
400
+ });
401
+ export const CreateExportJobRequestFilterSensitiveLog = (obj) => ({
402
+ ...obj,
403
+ ...(obj.ExportDataSource && { ExportDataSource: ExportDataSourceFilterSensitiveLog(obj.ExportDataSource) }),
404
+ });
405
+ export const EmailInsightsFilterSensitiveLog = (obj) => ({
406
+ ...obj,
407
+ ...(obj.Destination && { Destination: SENSITIVE_STRING }),
408
+ });
358
409
  export const GetAccountResponseFilterSensitiveLog = (obj) => ({
359
410
  ...obj,
360
411
  ...(obj.Details && { Details: AccountDetailsFilterSensitiveLog(obj.Details) }),
361
412
  });
413
+ export const GetExportJobResponseFilterSensitiveLog = (obj) => ({
414
+ ...obj,
415
+ ...(obj.ExportDataSource && { ExportDataSource: ExportDataSourceFilterSensitiveLog(obj.ExportDataSource) }),
416
+ });
417
+ export const GetMessageInsightsResponseFilterSensitiveLog = (obj) => ({
418
+ ...obj,
419
+ ...(obj.FromEmailAddress && { FromEmailAddress: SENSITIVE_STRING }),
420
+ ...(obj.Subject && { Subject: SENSITIVE_STRING }),
421
+ ...(obj.Insights && { Insights: obj.Insights.map((item) => EmailInsightsFilterSensitiveLog(item)) }),
422
+ });
362
423
  export const PutAccountDetailsRequestFilterSensitiveLog = (obj) => ({
363
424
  ...obj,
364
425
  ...(obj.WebsiteURL && { WebsiteURL: SENSITIVE_STRING }),
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { ListExportJobsCommand, } from "../commands/ListExportJobsCommand";
2
+ import { SESv2Client } from "../SESv2Client";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListExportJobsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListExportJobs(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["PageSize"] = config.pageSize;
13
+ if (config.client instanceof SESv2Client) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected SESv2 | SESv2Client");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -9,6 +9,7 @@ export * from "./ListDeliverabilityTestReportsPaginator";
9
9
  export * from "./ListDomainDeliverabilityCampaignsPaginator";
10
10
  export * from "./ListEmailIdentitiesPaginator";
11
11
  export * from "./ListEmailTemplatesPaginator";
12
+ export * from "./ListExportJobsPaginator";
12
13
  export * from "./ListImportJobsPaginator";
13
14
  export * from "./ListRecommendationsPaginator";
14
15
  export * from "./ListSuppressedDestinationsPaginator";