@aws-sdk/client-sesv2 3.282.0 → 3.288.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/pagination/GetDedicatedIpsPaginator.js +1 -8
- package/dist-cjs/pagination/ListConfigurationSetsPaginator.js +1 -8
- package/dist-cjs/pagination/ListContactListsPaginator.js +1 -8
- package/dist-cjs/pagination/ListContactsPaginator.js +1 -8
- package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +1 -8
- package/dist-cjs/pagination/ListDedicatedIpPoolsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDeliverabilityTestReportsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js +1 -8
- package/dist-cjs/pagination/ListEmailIdentitiesPaginator.js +1 -8
- package/dist-cjs/pagination/ListEmailTemplatesPaginator.js +1 -8
- package/dist-cjs/pagination/ListImportJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSuppressedDestinationsPaginator.js +1 -8
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +1 -8
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +1 -8
- package/dist-es/pagination/ListContactListsPaginator.js +1 -8
- package/dist-es/pagination/ListContactsPaginator.js +1 -8
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +1 -8
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +1 -8
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +1 -8
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +1 -8
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +1 -8
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +1 -8
- package/dist-es/pagination/ListImportJobsPaginator.js +1 -8
- package/dist-es/pagination/ListRecommendationsPaginator.js +1 -8
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +1 -8
- package/dist-types/SESv2.d.ts +70 -81
- package/dist-types/SESv2Client.d.ts +2 -3
- package/dist-types/commands/BatchGetMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateEmailIdentityCommand.d.ts +5 -5
- package/dist-types/commands/CreateEmailIdentityPolicyCommand.d.ts +4 -5
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEmailIdentityPolicyCommand.d.ts +4 -5
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +1 -2
- package/dist-types/commands/GetConfigurationSetCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -2
- package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +1 -2
- package/dist-types/commands/GetEmailIdentityPoliciesCommand.d.ts +4 -4
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -2
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/ListEmailTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountVdmAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutConfigurationSetVdmOptionsCommand.d.ts +1 -1
- package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +2 -3
- package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +1 -2
- package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +7 -7
- package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -2
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +2 -2
- package/dist-types/commands/SendEmailCommand.d.ts +4 -4
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +1 -2
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +4 -5
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +307 -231
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
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 }, { 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 }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -389,6 +389,7 @@ var RecommendationStatus;
|
|
|
389
389
|
})(RecommendationStatus = exports.RecommendationStatus || (exports.RecommendationStatus = {}));
|
|
390
390
|
var RecommendationType;
|
|
391
391
|
(function (RecommendationType) {
|
|
392
|
+
RecommendationType["BIMI"] = "BIMI";
|
|
392
393
|
RecommendationType["DKIM"] = "DKIM";
|
|
393
394
|
RecommendationType["DMARC"] = "DMARC";
|
|
394
395
|
RecommendationType["SPF"] = "SPF";
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetDedicatedIps = void 0;
|
|
4
4
|
const GetDedicatedIpsCommand_1 = require("../commands/GetDedicatedIpsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetDedicatedIpsCommand_1.GetDedicatedIpsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getDedicatedIps(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetDedicatedIps(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetDedicatedIps(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationSets = void 0;
|
|
4
4
|
const ListConfigurationSetsCommand_1 = require("../commands/ListConfigurationSetsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListConfigurationSetsCommand_1.ListConfigurationSetsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listConfigurationSets(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListConfigurationSets(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListConfigurationSets(config, input, ...additionalArgume
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContactLists = void 0;
|
|
4
4
|
const ListContactListsCommand_1 = require("../commands/ListContactListsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListContactListsCommand_1.ListContactListsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listContactLists(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListContactLists(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListContactLists(config, input, ...additionalArguments)
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContacts = void 0;
|
|
4
4
|
const ListContactsCommand_1 = require("../commands/ListContactsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListContactsCommand_1.ListContactsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listContacts(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListContacts(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListContacts(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomVerificationEmailTemplates = void 0;
|
|
4
4
|
const ListCustomVerificationEmailTemplatesCommand_1 = require("../commands/ListCustomVerificationEmailTemplatesCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListCustomVerificationEmailTemplatesCommand_1.ListCustomVerificationEmailTemplatesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listCustomVerificationEmailTemplates(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListCustomVerificationEmailTemplates(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListCustomVerificationEmailTemplates(config, input, ...a
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDedicatedIpPools = void 0;
|
|
4
4
|
const ListDedicatedIpPoolsCommand_1 = require("../commands/ListDedicatedIpPoolsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListDedicatedIpPoolsCommand_1.ListDedicatedIpPoolsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listDedicatedIpPools(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListDedicatedIpPools(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListDedicatedIpPools(config, input, ...additionalArgumen
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDeliverabilityTestReports = void 0;
|
|
4
4
|
const ListDeliverabilityTestReportsCommand_1 = require("../commands/ListDeliverabilityTestReportsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListDeliverabilityTestReportsCommand_1.ListDeliverabilityTestReportsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listDeliverabilityTestReports(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListDeliverabilityTestReports(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListDeliverabilityTestReports(config, input, ...addition
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDomainDeliverabilityCampaigns = void 0;
|
|
4
4
|
const ListDomainDeliverabilityCampaignsCommand_1 = require("../commands/ListDomainDeliverabilityCampaignsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListDomainDeliverabilityCampaignsCommand_1.ListDomainDeliverabilityCampaignsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listDomainDeliverabilityCampaigns(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListDomainDeliverabilityCampaigns(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListDomainDeliverabilityCampaigns(config, input, ...addi
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEmailIdentities = void 0;
|
|
4
4
|
const ListEmailIdentitiesCommand_1 = require("../commands/ListEmailIdentitiesCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListEmailIdentitiesCommand_1.ListEmailIdentitiesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listEmailIdentities(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListEmailIdentities(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListEmailIdentities(config, input, ...additionalArgument
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEmailTemplates = void 0;
|
|
4
4
|
const ListEmailTemplatesCommand_1 = require("../commands/ListEmailTemplatesCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListEmailTemplatesCommand_1.ListEmailTemplatesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listEmailTemplates(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListEmailTemplates(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListEmailTemplates(config, input, ...additionalArguments
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImportJobs = void 0;
|
|
4
4
|
const ListImportJobsCommand_1 = require("../commands/ListImportJobsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListImportJobsCommand_1.ListImportJobsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listImportJobs(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListImportJobs(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListImportJobs(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecommendations = void 0;
|
|
4
4
|
const ListRecommendationsCommand_1 = require("../commands/ListRecommendationsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListRecommendationsCommand_1.ListRecommendationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listRecommendations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListRecommendations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListRecommendations(config, input, ...additionalArgument
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSuppressedDestinations = void 0;
|
|
4
4
|
const ListSuppressedDestinationsCommand_1 = require("../commands/ListSuppressedDestinationsCommand");
|
|
5
|
-
const SESv2_1 = require("../SESv2");
|
|
6
5
|
const SESv2Client_1 = require("../SESv2Client");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListSuppressedDestinationsCommand_1.ListSuppressedDestinationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listSuppressedDestinations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListSuppressedDestinations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListSuppressedDestinations(config, input, ...additionalA
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
16
|
+
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
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 }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -368,6 +368,7 @@ export var RecommendationStatus;
|
|
|
368
368
|
})(RecommendationStatus || (RecommendationStatus = {}));
|
|
369
369
|
export var RecommendationType;
|
|
370
370
|
(function (RecommendationType) {
|
|
371
|
+
RecommendationType["BIMI"] = "BIMI";
|
|
371
372
|
RecommendationType["DKIM"] = "DKIM";
|
|
372
373
|
RecommendationType["DMARC"] = "DMARC";
|
|
373
374
|
RecommendationType["SPF"] = "SPF";
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetDedicatedIpsCommand, } from "../commands/GetDedicatedIpsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetDedicatedIpsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getDedicatedIps(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetDedicatedIps(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetDedicatedIps(config, input, ...additionalArgum
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListConfigurationSetsCommand, } from "../commands/ListConfigurationSetsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListConfigurationSetsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listConfigurationSets(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListConfigurationSets(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListConfigurationSets(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListContactListsCommand, } from "../commands/ListContactListsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListContactListsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listContactLists(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListContactLists(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListContactLists(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListContactsCommand, } from "../commands/ListContactsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListContactsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listContacts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListContacts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListContacts(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListCustomVerificationEmailTemplatesCommand, } from "../commands/ListCustomVerificationEmailTemplatesCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListCustomVerificationEmailTemplatesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listCustomVerificationEmailTemplates(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListCustomVerificationEmailTemplates(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListCustomVerificationEmailTemplates(config, inpu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDedicatedIpPoolsCommand, } from "../commands/ListDedicatedIpPoolsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDedicatedIpPoolsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDedicatedIpPools(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDedicatedIpPools(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDedicatedIpPools(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDeliverabilityTestReportsCommand, } from "../commands/ListDeliverabilityTestReportsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDeliverabilityTestReportsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDeliverabilityTestReports(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDeliverabilityTestReports(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDeliverabilityTestReports(config, input, ...a
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDomainDeliverabilityCampaignsCommand, } from "../commands/ListDomainDeliverabilityCampaignsCommand";
|
|
2
|
-
import { SESv2 } from "../SESv2";
|
|
3
2
|
import { SESv2Client } from "../SESv2Client";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDomainDeliverabilityCampaignsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDomainDeliverabilityCampaigns(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDomainDeliverabilityCampaigns(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDomainDeliverabilityCampaigns(config, input,
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SESv2Client) {
|
|
13
|
+
if (config.client instanceof SESv2Client) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|