@aws-sdk/client-sesv2 3.708.0 → 3.710.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 +32 -0
- package/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +258 -11
- package/dist-es/SESv2.js +8 -0
- package/dist-es/commands/CreateMultiRegionEndpointCommand.js +22 -0
- package/dist-es/commands/DeleteMultiRegionEndpointCommand.js +22 -0
- package/dist-es/commands/GetMultiRegionEndpointCommand.js +22 -0
- package/dist-es/commands/ListMultiRegionEndpointsCommand.js +22 -0
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +1 -1
- package/dist-es/commands/SendBulkEmailCommand.js +4 -1
- package/dist-es/commands/SendEmailCommand.js +4 -1
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +37 -8
- package/dist-es/models/models_1.js +5 -1
- package/dist-es/pagination/ListMultiRegionEndpointsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +128 -0
- package/dist-types/SESv2.d.ts +29 -0
- package/dist-types/SESv2Client.d.ts +6 -2
- package/dist-types/commands/CreateEmailIdentityCommand.d.ts +2 -1
- package/dist-types/commands/CreateMultiRegionEndpointCommand.d.ts +103 -0
- package/dist-types/commands/DeleteMultiRegionEndpointCommand.d.ts +85 -0
- package/dist-types/commands/GetEmailIdentityCommand.d.ts +2 -2
- package/dist-types/commands/GetMultiRegionEndpointCommand.d.ts +91 -0
- package/dist-types/commands/ListMultiRegionEndpointsCommand.d.ts +92 -0
- package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +1 -1
- package/dist-types/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +1 -1
- package/dist-types/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -0
- package/dist-types/commands/SendEmailCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +730 -232
- package/dist-types/models/models_1.d.ts +206 -1
- package/dist-types/pagination/ListMultiRegionEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/SESv2.d.ts +69 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateMultiRegionEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMultiRegionEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMultiRegionEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListMultiRegionEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -44
- package/dist-types/ts3.4/models/models_1.d.ts +44 -0
- package/dist-types/ts3.4/pagination/ListMultiRegionEndpointsPaginator.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 +48 -0
- package/package.json +36 -36
package/dist-es/SESv2.js
CHANGED
|
@@ -13,6 +13,7 @@ import { CreateEmailIdentityPolicyCommand, } from "./commands/CreateEmailIdentit
|
|
|
13
13
|
import { CreateEmailTemplateCommand, } from "./commands/CreateEmailTemplateCommand";
|
|
14
14
|
import { CreateExportJobCommand, } from "./commands/CreateExportJobCommand";
|
|
15
15
|
import { CreateImportJobCommand, } from "./commands/CreateImportJobCommand";
|
|
16
|
+
import { CreateMultiRegionEndpointCommand, } from "./commands/CreateMultiRegionEndpointCommand";
|
|
16
17
|
import { DeleteConfigurationSetCommand, } from "./commands/DeleteConfigurationSetCommand";
|
|
17
18
|
import { DeleteConfigurationSetEventDestinationCommand, } from "./commands/DeleteConfigurationSetEventDestinationCommand";
|
|
18
19
|
import { DeleteContactCommand, } from "./commands/DeleteContactCommand";
|
|
@@ -22,6 +23,7 @@ import { DeleteDedicatedIpPoolCommand, } from "./commands/DeleteDedicatedIpPoolC
|
|
|
22
23
|
import { DeleteEmailIdentityCommand, } from "./commands/DeleteEmailIdentityCommand";
|
|
23
24
|
import { DeleteEmailIdentityPolicyCommand, } from "./commands/DeleteEmailIdentityPolicyCommand";
|
|
24
25
|
import { DeleteEmailTemplateCommand, } from "./commands/DeleteEmailTemplateCommand";
|
|
26
|
+
import { DeleteMultiRegionEndpointCommand, } from "./commands/DeleteMultiRegionEndpointCommand";
|
|
25
27
|
import { DeleteSuppressedDestinationCommand, } from "./commands/DeleteSuppressedDestinationCommand";
|
|
26
28
|
import { GetAccountCommand } from "./commands/GetAccountCommand";
|
|
27
29
|
import { GetBlacklistReportsCommand, } from "./commands/GetBlacklistReportsCommand";
|
|
@@ -43,6 +45,7 @@ import { GetEmailTemplateCommand, } from "./commands/GetEmailTemplateCommand";
|
|
|
43
45
|
import { GetExportJobCommand, } from "./commands/GetExportJobCommand";
|
|
44
46
|
import { GetImportJobCommand, } from "./commands/GetImportJobCommand";
|
|
45
47
|
import { GetMessageInsightsCommand, } from "./commands/GetMessageInsightsCommand";
|
|
48
|
+
import { GetMultiRegionEndpointCommand, } from "./commands/GetMultiRegionEndpointCommand";
|
|
46
49
|
import { GetSuppressedDestinationCommand, } from "./commands/GetSuppressedDestinationCommand";
|
|
47
50
|
import { ListConfigurationSetsCommand, } from "./commands/ListConfigurationSetsCommand";
|
|
48
51
|
import { ListContactListsCommand, } from "./commands/ListContactListsCommand";
|
|
@@ -55,6 +58,7 @@ import { ListEmailIdentitiesCommand, } from "./commands/ListEmailIdentitiesComma
|
|
|
55
58
|
import { ListEmailTemplatesCommand, } from "./commands/ListEmailTemplatesCommand";
|
|
56
59
|
import { ListExportJobsCommand, } from "./commands/ListExportJobsCommand";
|
|
57
60
|
import { ListImportJobsCommand, } from "./commands/ListImportJobsCommand";
|
|
61
|
+
import { ListMultiRegionEndpointsCommand, } from "./commands/ListMultiRegionEndpointsCommand";
|
|
58
62
|
import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
|
|
59
63
|
import { ListSuppressedDestinationsCommand, } from "./commands/ListSuppressedDestinationsCommand";
|
|
60
64
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -107,6 +111,7 @@ const commands = {
|
|
|
107
111
|
CreateEmailTemplateCommand,
|
|
108
112
|
CreateExportJobCommand,
|
|
109
113
|
CreateImportJobCommand,
|
|
114
|
+
CreateMultiRegionEndpointCommand,
|
|
110
115
|
DeleteConfigurationSetCommand,
|
|
111
116
|
DeleteConfigurationSetEventDestinationCommand,
|
|
112
117
|
DeleteContactCommand,
|
|
@@ -116,6 +121,7 @@ const commands = {
|
|
|
116
121
|
DeleteEmailIdentityCommand,
|
|
117
122
|
DeleteEmailIdentityPolicyCommand,
|
|
118
123
|
DeleteEmailTemplateCommand,
|
|
124
|
+
DeleteMultiRegionEndpointCommand,
|
|
119
125
|
DeleteSuppressedDestinationCommand,
|
|
120
126
|
GetAccountCommand,
|
|
121
127
|
GetBlacklistReportsCommand,
|
|
@@ -137,6 +143,7 @@ const commands = {
|
|
|
137
143
|
GetExportJobCommand,
|
|
138
144
|
GetImportJobCommand,
|
|
139
145
|
GetMessageInsightsCommand,
|
|
146
|
+
GetMultiRegionEndpointCommand,
|
|
140
147
|
GetSuppressedDestinationCommand,
|
|
141
148
|
ListConfigurationSetsCommand,
|
|
142
149
|
ListContactListsCommand,
|
|
@@ -149,6 +156,7 @@ const commands = {
|
|
|
149
156
|
ListEmailTemplatesCommand,
|
|
150
157
|
ListExportJobsCommand,
|
|
151
158
|
ListImportJobsCommand,
|
|
159
|
+
ListMultiRegionEndpointsCommand,
|
|
152
160
|
ListRecommendationsCommand,
|
|
153
161
|
ListSuppressedDestinationsCommand,
|
|
154
162
|
ListTagsForResourceCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateMultiRegionEndpointCommand, se_CreateMultiRegionEndpointCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateMultiRegionEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("SimpleEmailService_v2", "CreateMultiRegionEndpoint", {})
|
|
17
|
+
.n("SESv2Client", "CreateMultiRegionEndpointCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateMultiRegionEndpointCommand)
|
|
20
|
+
.de(de_CreateMultiRegionEndpointCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteMultiRegionEndpointCommand, se_DeleteMultiRegionEndpointCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteMultiRegionEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("SimpleEmailService_v2", "DeleteMultiRegionEndpoint", {})
|
|
17
|
+
.n("SESv2Client", "DeleteMultiRegionEndpointCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteMultiRegionEndpointCommand)
|
|
20
|
+
.de(de_DeleteMultiRegionEndpointCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetMultiRegionEndpointCommand, se_GetMultiRegionEndpointCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetMultiRegionEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("SimpleEmailService_v2", "GetMultiRegionEndpoint", {})
|
|
17
|
+
.n("SESv2Client", "GetMultiRegionEndpointCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetMultiRegionEndpointCommand)
|
|
20
|
+
.de(de_GetMultiRegionEndpointCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListMultiRegionEndpointsCommand, se_ListMultiRegionEndpointsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMultiRegionEndpointsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("SimpleEmailService_v2", "ListMultiRegionEndpoints", {})
|
|
17
|
+
.n("SESv2Client", "ListMultiRegionEndpointsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListMultiRegionEndpointsCommand)
|
|
20
|
+
.de(de_ListMultiRegionEndpointsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { de_PutEmailIdentityDkimSigningAttributesCommand, se_PutEmailIdentityDkimSigningAttributesCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class PutEmailIdentityDkimSigningAttributesCommand extends $Command
|
|
@@ -6,7 +6,10 @@ import { de_SendBulkEmailCommand, se_SendBulkEmailCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class SendBulkEmailCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
EndpointId: { type: "contextParams", name: "EndpointId" },
|
|
12
|
+
})
|
|
10
13
|
.m(function (Command, cs, config, o) {
|
|
11
14
|
return [
|
|
12
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,7 +6,10 @@ import { de_SendEmailCommand, se_SendEmailCommand } from "../protocols/Aws_restJ
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class SendEmailCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
EndpointId: { type: "contextParams", name: "EndpointId" },
|
|
12
|
+
})
|
|
10
13
|
.m(function (Command, cs, config, o) {
|
|
11
14
|
return [
|
|
12
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -12,6 +12,7 @@ export * from "./CreateEmailIdentityPolicyCommand";
|
|
|
12
12
|
export * from "./CreateEmailTemplateCommand";
|
|
13
13
|
export * from "./CreateExportJobCommand";
|
|
14
14
|
export * from "./CreateImportJobCommand";
|
|
15
|
+
export * from "./CreateMultiRegionEndpointCommand";
|
|
15
16
|
export * from "./DeleteConfigurationSetCommand";
|
|
16
17
|
export * from "./DeleteConfigurationSetEventDestinationCommand";
|
|
17
18
|
export * from "./DeleteContactCommand";
|
|
@@ -21,6 +22,7 @@ export * from "./DeleteDedicatedIpPoolCommand";
|
|
|
21
22
|
export * from "./DeleteEmailIdentityCommand";
|
|
22
23
|
export * from "./DeleteEmailIdentityPolicyCommand";
|
|
23
24
|
export * from "./DeleteEmailTemplateCommand";
|
|
25
|
+
export * from "./DeleteMultiRegionEndpointCommand";
|
|
24
26
|
export * from "./DeleteSuppressedDestinationCommand";
|
|
25
27
|
export * from "./GetAccountCommand";
|
|
26
28
|
export * from "./GetBlacklistReportsCommand";
|
|
@@ -42,6 +44,7 @@ export * from "./GetEmailTemplateCommand";
|
|
|
42
44
|
export * from "./GetExportJobCommand";
|
|
43
45
|
export * from "./GetImportJobCommand";
|
|
44
46
|
export * from "./GetMessageInsightsCommand";
|
|
47
|
+
export * from "./GetMultiRegionEndpointCommand";
|
|
45
48
|
export * from "./GetSuppressedDestinationCommand";
|
|
46
49
|
export * from "./ListConfigurationSetsCommand";
|
|
47
50
|
export * from "./ListContactListsCommand";
|
|
@@ -54,6 +57,7 @@ export * from "./ListEmailIdentitiesCommand";
|
|
|
54
57
|
export * from "./ListEmailTemplatesCommand";
|
|
55
58
|
export * from "./ListExportJobsCommand";
|
|
56
59
|
export * from "./ListImportJobsCommand";
|
|
60
|
+
export * from "./ListMultiRegionEndpointsCommand";
|
|
57
61
|
export * from "./ListRecommendationsCommand";
|
|
58
62
|
export * from "./ListSuppressedDestinationsCommand";
|
|
59
63
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -3,7 +3,7 @@ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy
|
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
6
|
+
params: ["Endpoint", "EndpointId", "Region", "UseDualStack", "UseFIPS"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
9
|
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [
|
|
1
|
+
const z = "required", A = "type", B = "fn", C = "argv", D = "ref";
|
|
2
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "endpoint", f = "tree", g = "error", h = { [z]: false, [A]: "String" }, i = { [z]: true, "default": false, [A]: "Boolean" }, j = { [D]: "EndpointId" }, k = { [B]: c, [C]: [{ [D]: "Region" }] }, l = { [B]: "aws.partition", [C]: [{ [D]: "Region" }], "assign": "PartitionResult" }, m = { [D]: "UseFIPS" }, n = { [D]: "Endpoint" }, o = { "authSchemes": [{ "name": "sigv4a", "signingName": "ses", "signingRegionSet": ["*"] }] }, p = {}, q = { [B]: d, [C]: [{ [D]: "UseDualStack" }, true] }, r = { [B]: d, [C]: [true, { [B]: "getAttr", [C]: [{ [D]: "PartitionResult" }, "supportsDualStack"] }] }, s = { [g]: "DualStack is enabled but this partition does not support DualStack", [A]: g }, t = { [B]: d, [C]: [m, true] }, u = { [B]: "getAttr", [C]: [{ [D]: "PartitionResult" }, "supportsFIPS"] }, v = [{ [B]: c, [C]: [n] }], w = [q], x = [r], y = [t];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, EndpointId: h }, rules: [{ conditions: [{ [B]: c, [C]: [j] }, k, l], rules: [{ conditions: [{ [B]: "isValidHostLabel", [C]: [j, b] }], rules: [{ conditions: [{ [B]: d, [C]: [m, a] }], rules: [{ conditions: v, endpoint: { url: n, properties: o, headers: p }, [A]: e }, { conditions: w, rules: [{ conditions: x, rules: [{ endpoint: { url: "https://{EndpointId}.endpoints.email.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: p }, [A]: e }], [A]: f }, s], [A]: f }, { endpoint: { url: "https://{EndpointId}.endpoints.email.{PartitionResult#dnsSuffix}", properties: o, headers: p }, [A]: e }], [A]: f }, { error: "Invalid Configuration: FIPS is not supported with multi-region endpoints", [A]: g }], [A]: f }, { error: "EndpointId must be a valid host label", [A]: g }], [A]: f }, { conditions: v, rules: [{ conditions: y, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [A]: g }, { conditions: w, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [A]: g }, { endpoint: { url: n, properties: p, headers: p }, [A]: e }], [A]: f }, { conditions: [k], rules: [{ conditions: [l], rules: [{ conditions: [t, q], rules: [{ conditions: [{ [B]: d, [C]: [b, u] }, r], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [A]: g }], [A]: f }, { conditions: y, rules: [{ conditions: [{ [B]: d, [C]: [u, b] }], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [A]: g }], [A]: f }, { conditions: w, rules: [{ conditions: x, rules: [{ endpoint: { url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }, s], [A]: f }, { endpoint: { url: "https://email.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }], [A]: f }, { error: "Invalid Configuration: Missing Region", [A]: g }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -257,14 +257,36 @@ export class SendingPausedException extends __BaseException {
|
|
|
257
257
|
Object.setPrototypeOf(this, SendingPausedException.prototype);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
export const DkimSigningKeyLength = {
|
|
261
|
-
RSA_1024_BIT: "RSA_1024_BIT",
|
|
262
|
-
RSA_2048_BIT: "RSA_2048_BIT",
|
|
263
|
-
};
|
|
264
260
|
export const DkimSigningAttributesOrigin = {
|
|
265
261
|
AWS_SES: "AWS_SES",
|
|
262
|
+
AWS_SES_AF_SOUTH_1: "AWS_SES_AF_SOUTH_1",
|
|
263
|
+
AWS_SES_AP_NORTHEAST_1: "AWS_SES_AP_NORTHEAST_1",
|
|
264
|
+
AWS_SES_AP_NORTHEAST_2: "AWS_SES_AP_NORTHEAST_2",
|
|
265
|
+
AWS_SES_AP_NORTHEAST_3: "AWS_SES_AP_NORTHEAST_3",
|
|
266
|
+
AWS_SES_AP_SOUTHEAST_1: "AWS_SES_AP_SOUTHEAST_1",
|
|
267
|
+
AWS_SES_AP_SOUTHEAST_2: "AWS_SES_AP_SOUTHEAST_2",
|
|
268
|
+
AWS_SES_AP_SOUTHEAST_3: "AWS_SES_AP_SOUTHEAST_3",
|
|
269
|
+
AWS_SES_AP_SOUTH_1: "AWS_SES_AP_SOUTH_1",
|
|
270
|
+
AWS_SES_CA_CENTRAL_1: "AWS_SES_CA_CENTRAL_1",
|
|
271
|
+
AWS_SES_EU_CENTRAL_1: "AWS_SES_EU_CENTRAL_1",
|
|
272
|
+
AWS_SES_EU_NORTH_1: "AWS_SES_EU_NORTH_1",
|
|
273
|
+
AWS_SES_EU_SOUTH_1: "AWS_SES_EU_SOUTH_1",
|
|
274
|
+
AWS_SES_EU_WEST_1: "AWS_SES_EU_WEST_1",
|
|
275
|
+
AWS_SES_EU_WEST_2: "AWS_SES_EU_WEST_2",
|
|
276
|
+
AWS_SES_EU_WEST_3: "AWS_SES_EU_WEST_3",
|
|
277
|
+
AWS_SES_IL_CENTRAL_1: "AWS_SES_IL_CENTRAL_1",
|
|
278
|
+
AWS_SES_ME_SOUTH_1: "AWS_SES_ME_SOUTH_1",
|
|
279
|
+
AWS_SES_SA_EAST_1: "AWS_SES_SA_EAST_1",
|
|
280
|
+
AWS_SES_US_EAST_1: "AWS_SES_US_EAST_1",
|
|
281
|
+
AWS_SES_US_EAST_2: "AWS_SES_US_EAST_2",
|
|
282
|
+
AWS_SES_US_WEST_1: "AWS_SES_US_WEST_1",
|
|
283
|
+
AWS_SES_US_WEST_2: "AWS_SES_US_WEST_2",
|
|
266
284
|
EXTERNAL: "EXTERNAL",
|
|
267
285
|
};
|
|
286
|
+
export const DkimSigningKeyLength = {
|
|
287
|
+
RSA_1024_BIT: "RSA_1024_BIT",
|
|
288
|
+
RSA_2048_BIT: "RSA_2048_BIT",
|
|
289
|
+
};
|
|
268
290
|
export const DkimStatus = {
|
|
269
291
|
FAILED: "FAILED",
|
|
270
292
|
NOT_STARTED: "NOT_STARTED",
|
|
@@ -301,6 +323,12 @@ export const SuppressionListImportAction = {
|
|
|
301
323
|
DELETE: "DELETE",
|
|
302
324
|
PUT: "PUT",
|
|
303
325
|
};
|
|
326
|
+
export const Status = {
|
|
327
|
+
CREATING: "CREATING",
|
|
328
|
+
DELETING: "DELETING",
|
|
329
|
+
FAILED: "FAILED",
|
|
330
|
+
READY: "READY",
|
|
331
|
+
};
|
|
304
332
|
export const WarmupStatus = {
|
|
305
333
|
DONE: "DONE",
|
|
306
334
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -331,6 +359,11 @@ export const VerificationError = {
|
|
|
331
359
|
DNS_SERVER_ERROR: "DNS_SERVER_ERROR",
|
|
332
360
|
HOST_NOT_FOUND: "HOST_NOT_FOUND",
|
|
333
361
|
INVALID_VALUE: "INVALID_VALUE",
|
|
362
|
+
REPLICATION_ACCESS_DENIED: "REPLICATION_ACCESS_DENIED",
|
|
363
|
+
REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED: "REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED",
|
|
364
|
+
REPLICATION_PRIMARY_INVALID_REGION: "REPLICATION_PRIMARY_INVALID_REGION",
|
|
365
|
+
REPLICATION_PRIMARY_NOT_FOUND: "REPLICATION_PRIMARY_NOT_FOUND",
|
|
366
|
+
REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED: "REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED",
|
|
334
367
|
SERVICE_ERROR: "SERVICE_ERROR",
|
|
335
368
|
TYPE_NOT_FOUND: "TYPE_NOT_FOUND",
|
|
336
369
|
};
|
|
@@ -438,7 +471,3 @@ export const PutAccountDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
|
438
471
|
...(obj.UseCaseDescription && { UseCaseDescription: SENSITIVE_STRING }),
|
|
439
472
|
...(obj.AdditionalContactEmailAddresses && { AdditionalContactEmailAddresses: SENSITIVE_STRING }),
|
|
440
473
|
});
|
|
441
|
-
export const PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
442
|
-
...obj,
|
|
443
|
-
...(obj.SigningAttributes && { SigningAttributes: DkimSigningAttributesFilterSensitiveLog(obj.SigningAttributes) }),
|
|
444
|
-
});
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { DkimSigningAttributesFilterSensitiveLog, } from "./models_0";
|
|
2
|
+
export const PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
3
|
+
...obj,
|
|
4
|
+
...(obj.SigningAttributes && { SigningAttributes: DkimSigningAttributesFilterSensitiveLog(obj.SigningAttributes) }),
|
|
5
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListMultiRegionEndpointsCommand, } from "../commands/ListMultiRegionEndpointsCommand";
|
|
3
|
+
import { SESv2Client } from "../SESv2Client";
|
|
4
|
+
export const paginateListMultiRegionEndpoints = createPaginator(SESv2Client, ListMultiRegionEndpointsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -11,5 +11,6 @@ export * from "./ListEmailIdentitiesPaginator";
|
|
|
11
11
|
export * from "./ListEmailTemplatesPaginator";
|
|
12
12
|
export * from "./ListExportJobsPaginator";
|
|
13
13
|
export * from "./ListImportJobsPaginator";
|
|
14
|
+
export * from "./ListMultiRegionEndpointsPaginator";
|
|
14
15
|
export * from "./ListRecommendationsPaginator";
|
|
15
16
|
export * from "./ListSuppressedDestinationsPaginator";
|
|
@@ -215,6 +215,21 @@ export const se_CreateImportJobCommand = async (input, context) => {
|
|
|
215
215
|
b.m("POST").h(headers).b(body);
|
|
216
216
|
return b.build();
|
|
217
217
|
};
|
|
218
|
+
export const se_CreateMultiRegionEndpointCommand = async (input, context) => {
|
|
219
|
+
const b = rb(input, context);
|
|
220
|
+
const headers = {
|
|
221
|
+
"content-type": "application/json",
|
|
222
|
+
};
|
|
223
|
+
b.bp("/v2/email/multi-region-endpoints");
|
|
224
|
+
let body;
|
|
225
|
+
body = JSON.stringify(take(input, {
|
|
226
|
+
Details: (_) => _json(_),
|
|
227
|
+
EndpointName: [],
|
|
228
|
+
Tags: (_) => _json(_),
|
|
229
|
+
}));
|
|
230
|
+
b.m("POST").h(headers).b(body);
|
|
231
|
+
return b.build();
|
|
232
|
+
};
|
|
218
233
|
export const se_DeleteConfigurationSetCommand = async (input, context) => {
|
|
219
234
|
const b = rb(input, context);
|
|
220
235
|
const headers = {};
|
|
@@ -299,6 +314,15 @@ export const se_DeleteEmailTemplateCommand = async (input, context) => {
|
|
|
299
314
|
b.m("DELETE").h(headers).b(body);
|
|
300
315
|
return b.build();
|
|
301
316
|
};
|
|
317
|
+
export const se_DeleteMultiRegionEndpointCommand = async (input, context) => {
|
|
318
|
+
const b = rb(input, context);
|
|
319
|
+
const headers = {};
|
|
320
|
+
b.bp("/v2/email/multi-region-endpoints/{EndpointName}");
|
|
321
|
+
b.p("EndpointName", () => input.EndpointName, "{EndpointName}", false);
|
|
322
|
+
let body;
|
|
323
|
+
b.m("DELETE").h(headers).b(body);
|
|
324
|
+
return b.build();
|
|
325
|
+
};
|
|
302
326
|
export const se_DeleteSuppressedDestinationCommand = async (input, context) => {
|
|
303
327
|
const b = rb(input, context);
|
|
304
328
|
const headers = {};
|
|
@@ -497,6 +521,15 @@ export const se_GetMessageInsightsCommand = async (input, context) => {
|
|
|
497
521
|
b.m("GET").h(headers).b(body);
|
|
498
522
|
return b.build();
|
|
499
523
|
};
|
|
524
|
+
export const se_GetMultiRegionEndpointCommand = async (input, context) => {
|
|
525
|
+
const b = rb(input, context);
|
|
526
|
+
const headers = {};
|
|
527
|
+
b.bp("/v2/email/multi-region-endpoints/{EndpointName}");
|
|
528
|
+
b.p("EndpointName", () => input.EndpointName, "{EndpointName}", false);
|
|
529
|
+
let body;
|
|
530
|
+
b.m("GET").h(headers).b(body);
|
|
531
|
+
return b.build();
|
|
532
|
+
};
|
|
500
533
|
export const se_GetSuppressedDestinationCommand = async (input, context) => {
|
|
501
534
|
const b = rb(input, context);
|
|
502
535
|
const headers = {};
|
|
@@ -652,6 +685,18 @@ export const se_ListImportJobsCommand = async (input, context) => {
|
|
|
652
685
|
b.m("POST").h(headers).b(body);
|
|
653
686
|
return b.build();
|
|
654
687
|
};
|
|
688
|
+
export const se_ListMultiRegionEndpointsCommand = async (input, context) => {
|
|
689
|
+
const b = rb(input, context);
|
|
690
|
+
const headers = {};
|
|
691
|
+
b.bp("/v2/email/multi-region-endpoints");
|
|
692
|
+
const query = map({
|
|
693
|
+
[_NT]: [, input[_NT]],
|
|
694
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
695
|
+
});
|
|
696
|
+
let body;
|
|
697
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
698
|
+
return b.build();
|
|
699
|
+
};
|
|
655
700
|
export const se_ListRecommendationsCommand = async (input, context) => {
|
|
656
701
|
const b = rb(input, context);
|
|
657
702
|
const headers = {
|
|
@@ -1004,6 +1049,7 @@ export const se_SendBulkEmailCommand = async (input, context) => {
|
|
|
1004
1049
|
ConfigurationSetName: [],
|
|
1005
1050
|
DefaultContent: (_) => _json(_),
|
|
1006
1051
|
DefaultEmailTags: (_) => _json(_),
|
|
1052
|
+
EndpointId: [],
|
|
1007
1053
|
FeedbackForwardingEmailAddress: [],
|
|
1008
1054
|
FeedbackForwardingEmailAddressIdentityArn: [],
|
|
1009
1055
|
FromEmailAddress: [],
|
|
@@ -1040,6 +1086,7 @@ export const se_SendEmailCommand = async (input, context) => {
|
|
|
1040
1086
|
Content: (_) => se_EmailContent(_, context),
|
|
1041
1087
|
Destination: (_) => _json(_),
|
|
1042
1088
|
EmailTags: (_) => _json(_),
|
|
1089
|
+
EndpointId: [],
|
|
1043
1090
|
FeedbackForwardingEmailAddress: [],
|
|
1044
1091
|
FeedbackForwardingEmailAddressIdentityArn: [],
|
|
1045
1092
|
FromEmailAddress: [],
|
|
@@ -1348,6 +1395,21 @@ export const de_CreateImportJobCommand = async (output, context) => {
|
|
|
1348
1395
|
Object.assign(contents, doc);
|
|
1349
1396
|
return contents;
|
|
1350
1397
|
};
|
|
1398
|
+
export const de_CreateMultiRegionEndpointCommand = async (output, context) => {
|
|
1399
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1400
|
+
return de_CommandError(output, context);
|
|
1401
|
+
}
|
|
1402
|
+
const contents = map({
|
|
1403
|
+
$metadata: deserializeMetadata(output),
|
|
1404
|
+
});
|
|
1405
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1406
|
+
const doc = take(data, {
|
|
1407
|
+
EndpointId: __expectString,
|
|
1408
|
+
Status: __expectString,
|
|
1409
|
+
});
|
|
1410
|
+
Object.assign(contents, doc);
|
|
1411
|
+
return contents;
|
|
1412
|
+
};
|
|
1351
1413
|
export const de_DeleteConfigurationSetCommand = async (output, context) => {
|
|
1352
1414
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1353
1415
|
return de_CommandError(output, context);
|
|
@@ -1438,6 +1500,20 @@ export const de_DeleteEmailTemplateCommand = async (output, context) => {
|
|
|
1438
1500
|
await collectBody(output.body, context);
|
|
1439
1501
|
return contents;
|
|
1440
1502
|
};
|
|
1503
|
+
export const de_DeleteMultiRegionEndpointCommand = async (output, context) => {
|
|
1504
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1505
|
+
return de_CommandError(output, context);
|
|
1506
|
+
}
|
|
1507
|
+
const contents = map({
|
|
1508
|
+
$metadata: deserializeMetadata(output),
|
|
1509
|
+
});
|
|
1510
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1511
|
+
const doc = take(data, {
|
|
1512
|
+
Status: __expectString,
|
|
1513
|
+
});
|
|
1514
|
+
Object.assign(contents, doc);
|
|
1515
|
+
return contents;
|
|
1516
|
+
};
|
|
1441
1517
|
export const de_DeleteSuppressedDestinationCommand = async (output, context) => {
|
|
1442
1518
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1443
1519
|
return de_CommandError(output, context);
|
|
@@ -1799,6 +1875,25 @@ export const de_GetMessageInsightsCommand = async (output, context) => {
|
|
|
1799
1875
|
Object.assign(contents, doc);
|
|
1800
1876
|
return contents;
|
|
1801
1877
|
};
|
|
1878
|
+
export const de_GetMultiRegionEndpointCommand = async (output, context) => {
|
|
1879
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1880
|
+
return de_CommandError(output, context);
|
|
1881
|
+
}
|
|
1882
|
+
const contents = map({
|
|
1883
|
+
$metadata: deserializeMetadata(output),
|
|
1884
|
+
});
|
|
1885
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1886
|
+
const doc = take(data, {
|
|
1887
|
+
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1888
|
+
EndpointId: __expectString,
|
|
1889
|
+
EndpointName: __expectString,
|
|
1890
|
+
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1891
|
+
Routes: _json,
|
|
1892
|
+
Status: __expectString,
|
|
1893
|
+
});
|
|
1894
|
+
Object.assign(contents, doc);
|
|
1895
|
+
return contents;
|
|
1896
|
+
};
|
|
1802
1897
|
export const de_GetSuppressedDestinationCommand = async (output, context) => {
|
|
1803
1898
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1804
1899
|
return de_CommandError(output, context);
|
|
@@ -1978,6 +2073,21 @@ export const de_ListImportJobsCommand = async (output, context) => {
|
|
|
1978
2073
|
Object.assign(contents, doc);
|
|
1979
2074
|
return contents;
|
|
1980
2075
|
};
|
|
2076
|
+
export const de_ListMultiRegionEndpointsCommand = async (output, context) => {
|
|
2077
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2078
|
+
return de_CommandError(output, context);
|
|
2079
|
+
}
|
|
2080
|
+
const contents = map({
|
|
2081
|
+
$metadata: deserializeMetadata(output),
|
|
2082
|
+
});
|
|
2083
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2084
|
+
const doc = take(data, {
|
|
2085
|
+
MultiRegionEndpoints: (_) => de_MultiRegionEndpoints(_, context),
|
|
2086
|
+
NextToken: __expectString,
|
|
2087
|
+
});
|
|
2088
|
+
Object.assign(contents, doc);
|
|
2089
|
+
return contents;
|
|
2090
|
+
};
|
|
1981
2091
|
export const de_ListRecommendationsCommand = async (output, context) => {
|
|
1982
2092
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1983
2093
|
return de_CommandError(output, context);
|
|
@@ -2960,6 +3070,24 @@ const de_MetricsDataSource = (output, context) => {
|
|
|
2960
3070
|
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2961
3071
|
});
|
|
2962
3072
|
};
|
|
3073
|
+
const de_MultiRegionEndpoint = (output, context) => {
|
|
3074
|
+
return take(output, {
|
|
3075
|
+
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3076
|
+
EndpointId: __expectString,
|
|
3077
|
+
EndpointName: __expectString,
|
|
3078
|
+
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3079
|
+
Regions: _json,
|
|
3080
|
+
Status: __expectString,
|
|
3081
|
+
});
|
|
3082
|
+
};
|
|
3083
|
+
const de_MultiRegionEndpoints = (output, context) => {
|
|
3084
|
+
const retVal = (output || [])
|
|
3085
|
+
.filter((e) => e != null)
|
|
3086
|
+
.map((entry) => {
|
|
3087
|
+
return de_MultiRegionEndpoint(entry, context);
|
|
3088
|
+
});
|
|
3089
|
+
return retVal;
|
|
3090
|
+
};
|
|
2963
3091
|
const de_OverallVolume = (output, context) => {
|
|
2964
3092
|
return take(output, {
|
|
2965
3093
|
DomainIspPlacements: (_) => de_DomainIspPlacements(_, context),
|
package/dist-types/SESv2.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { CreateEmailIdentityPolicyCommandInput, CreateEmailIdentityPolicyCommand
|
|
|
13
13
|
import { CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput } from "./commands/CreateEmailTemplateCommand";
|
|
14
14
|
import { CreateExportJobCommandInput, CreateExportJobCommandOutput } from "./commands/CreateExportJobCommand";
|
|
15
15
|
import { CreateImportJobCommandInput, CreateImportJobCommandOutput } from "./commands/CreateImportJobCommand";
|
|
16
|
+
import { CreateMultiRegionEndpointCommandInput, CreateMultiRegionEndpointCommandOutput } from "./commands/CreateMultiRegionEndpointCommand";
|
|
16
17
|
import { DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput } from "./commands/DeleteConfigurationSetCommand";
|
|
17
18
|
import { DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput } from "./commands/DeleteConfigurationSetEventDestinationCommand";
|
|
18
19
|
import { DeleteContactCommandInput, DeleteContactCommandOutput } from "./commands/DeleteContactCommand";
|
|
@@ -22,6 +23,7 @@ import { DeleteDedicatedIpPoolCommandInput, DeleteDedicatedIpPoolCommandOutput }
|
|
|
22
23
|
import { DeleteEmailIdentityCommandInput, DeleteEmailIdentityCommandOutput } from "./commands/DeleteEmailIdentityCommand";
|
|
23
24
|
import { DeleteEmailIdentityPolicyCommandInput, DeleteEmailIdentityPolicyCommandOutput } from "./commands/DeleteEmailIdentityPolicyCommand";
|
|
24
25
|
import { DeleteEmailTemplateCommandInput, DeleteEmailTemplateCommandOutput } from "./commands/DeleteEmailTemplateCommand";
|
|
26
|
+
import { DeleteMultiRegionEndpointCommandInput, DeleteMultiRegionEndpointCommandOutput } from "./commands/DeleteMultiRegionEndpointCommand";
|
|
25
27
|
import { DeleteSuppressedDestinationCommandInput, DeleteSuppressedDestinationCommandOutput } from "./commands/DeleteSuppressedDestinationCommand";
|
|
26
28
|
import { GetAccountCommandInput, GetAccountCommandOutput } from "./commands/GetAccountCommand";
|
|
27
29
|
import { GetBlacklistReportsCommandInput, GetBlacklistReportsCommandOutput } from "./commands/GetBlacklistReportsCommand";
|
|
@@ -43,6 +45,7 @@ import { GetEmailTemplateCommandInput, GetEmailTemplateCommandOutput } from "./c
|
|
|
43
45
|
import { GetExportJobCommandInput, GetExportJobCommandOutput } from "./commands/GetExportJobCommand";
|
|
44
46
|
import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
|
|
45
47
|
import { GetMessageInsightsCommandInput, GetMessageInsightsCommandOutput } from "./commands/GetMessageInsightsCommand";
|
|
48
|
+
import { GetMultiRegionEndpointCommandInput, GetMultiRegionEndpointCommandOutput } from "./commands/GetMultiRegionEndpointCommand";
|
|
46
49
|
import { GetSuppressedDestinationCommandInput, GetSuppressedDestinationCommandOutput } from "./commands/GetSuppressedDestinationCommand";
|
|
47
50
|
import { ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput } from "./commands/ListConfigurationSetsCommand";
|
|
48
51
|
import { ListContactListsCommandInput, ListContactListsCommandOutput } from "./commands/ListContactListsCommand";
|
|
@@ -55,6 +58,7 @@ import { ListEmailIdentitiesCommandInput, ListEmailIdentitiesCommandOutput } fro
|
|
|
55
58
|
import { ListEmailTemplatesCommandInput, ListEmailTemplatesCommandOutput } from "./commands/ListEmailTemplatesCommand";
|
|
56
59
|
import { ListExportJobsCommandInput, ListExportJobsCommandOutput } from "./commands/ListExportJobsCommand";
|
|
57
60
|
import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
|
|
61
|
+
import { ListMultiRegionEndpointsCommandInput, ListMultiRegionEndpointsCommandOutput } from "./commands/ListMultiRegionEndpointsCommand";
|
|
58
62
|
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
|
|
59
63
|
import { ListSuppressedDestinationsCommandInput, ListSuppressedDestinationsCommandOutput } from "./commands/ListSuppressedDestinationsCommand";
|
|
60
64
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -177,6 +181,12 @@ export interface SESv2 {
|
|
|
177
181
|
createImportJob(args: CreateImportJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateImportJobCommandOutput>;
|
|
178
182
|
createImportJob(args: CreateImportJobCommandInput, cb: (err: any, data?: CreateImportJobCommandOutput) => void): void;
|
|
179
183
|
createImportJob(args: CreateImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateImportJobCommandOutput) => void): void;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link CreateMultiRegionEndpointCommand}
|
|
186
|
+
*/
|
|
187
|
+
createMultiRegionEndpoint(args: CreateMultiRegionEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateMultiRegionEndpointCommandOutput>;
|
|
188
|
+
createMultiRegionEndpoint(args: CreateMultiRegionEndpointCommandInput, cb: (err: any, data?: CreateMultiRegionEndpointCommandOutput) => void): void;
|
|
189
|
+
createMultiRegionEndpoint(args: CreateMultiRegionEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultiRegionEndpointCommandOutput) => void): void;
|
|
180
190
|
/**
|
|
181
191
|
* @see {@link DeleteConfigurationSetCommand}
|
|
182
192
|
*/
|
|
@@ -231,6 +241,12 @@ export interface SESv2 {
|
|
|
231
241
|
deleteEmailTemplate(args: DeleteEmailTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEmailTemplateCommandOutput>;
|
|
232
242
|
deleteEmailTemplate(args: DeleteEmailTemplateCommandInput, cb: (err: any, data?: DeleteEmailTemplateCommandOutput) => void): void;
|
|
233
243
|
deleteEmailTemplate(args: DeleteEmailTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEmailTemplateCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link DeleteMultiRegionEndpointCommand}
|
|
246
|
+
*/
|
|
247
|
+
deleteMultiRegionEndpoint(args: DeleteMultiRegionEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMultiRegionEndpointCommandOutput>;
|
|
248
|
+
deleteMultiRegionEndpoint(args: DeleteMultiRegionEndpointCommandInput, cb: (err: any, data?: DeleteMultiRegionEndpointCommandOutput) => void): void;
|
|
249
|
+
deleteMultiRegionEndpoint(args: DeleteMultiRegionEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMultiRegionEndpointCommandOutput) => void): void;
|
|
234
250
|
/**
|
|
235
251
|
* @see {@link DeleteSuppressedDestinationCommand}
|
|
236
252
|
*/
|
|
@@ -360,6 +376,12 @@ export interface SESv2 {
|
|
|
360
376
|
getMessageInsights(args: GetMessageInsightsCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageInsightsCommandOutput>;
|
|
361
377
|
getMessageInsights(args: GetMessageInsightsCommandInput, cb: (err: any, data?: GetMessageInsightsCommandOutput) => void): void;
|
|
362
378
|
getMessageInsights(args: GetMessageInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageInsightsCommandOutput) => void): void;
|
|
379
|
+
/**
|
|
380
|
+
* @see {@link GetMultiRegionEndpointCommand}
|
|
381
|
+
*/
|
|
382
|
+
getMultiRegionEndpoint(args: GetMultiRegionEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetMultiRegionEndpointCommandOutput>;
|
|
383
|
+
getMultiRegionEndpoint(args: GetMultiRegionEndpointCommandInput, cb: (err: any, data?: GetMultiRegionEndpointCommandOutput) => void): void;
|
|
384
|
+
getMultiRegionEndpoint(args: GetMultiRegionEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMultiRegionEndpointCommandOutput) => void): void;
|
|
363
385
|
/**
|
|
364
386
|
* @see {@link GetSuppressedDestinationCommand}
|
|
365
387
|
*/
|
|
@@ -441,6 +463,13 @@ export interface SESv2 {
|
|
|
441
463
|
listImportJobs(args: ListImportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportJobsCommandOutput>;
|
|
442
464
|
listImportJobs(args: ListImportJobsCommandInput, cb: (err: any, data?: ListImportJobsCommandOutput) => void): void;
|
|
443
465
|
listImportJobs(args: ListImportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportJobsCommandOutput) => void): void;
|
|
466
|
+
/**
|
|
467
|
+
* @see {@link ListMultiRegionEndpointsCommand}
|
|
468
|
+
*/
|
|
469
|
+
listMultiRegionEndpoints(): Promise<ListMultiRegionEndpointsCommandOutput>;
|
|
470
|
+
listMultiRegionEndpoints(args: ListMultiRegionEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListMultiRegionEndpointsCommandOutput>;
|
|
471
|
+
listMultiRegionEndpoints(args: ListMultiRegionEndpointsCommandInput, cb: (err: any, data?: ListMultiRegionEndpointsCommandOutput) => void): void;
|
|
472
|
+
listMultiRegionEndpoints(args: ListMultiRegionEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMultiRegionEndpointsCommandOutput) => void): void;
|
|
444
473
|
/**
|
|
445
474
|
* @see {@link ListRecommendationsCommand}
|
|
446
475
|
*/
|