@aws-sdk/client-route53resolver 3.476.0 → 3.478.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/pagination/ListFirewallConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFirewallDomainListsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFirewallDomainsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFirewallRuleGroupAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFirewallRuleGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFirewallRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListOutpostResolversPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverDnssecConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverEndpointIpAddressesPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverQueryLogConfigAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverQueryLogConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverRuleAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResolverRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-es/pagination/ListFirewallConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListFirewallDomainListsPaginator.js +2 -23
- package/dist-es/pagination/ListFirewallDomainsPaginator.js +2 -23
- package/dist-es/pagination/ListFirewallRuleGroupAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListFirewallRuleGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListFirewallRulesPaginator.js +2 -23
- package/dist-es/pagination/ListOutpostResolversPaginator.js +2 -23
- package/dist-es/pagination/ListResolverConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListResolverDnssecConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListResolverEndpointIpAddressesPaginator.js +2 -23
- package/dist-es/pagination/ListResolverEndpointsPaginator.js +2 -23
- package/dist-es/pagination/ListResolverQueryLogConfigAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListResolverQueryLogConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListResolverRuleAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListResolverRulesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-types/pagination/ListFirewallConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFirewallDomainListsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFirewallDomainsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFirewallRuleGroupAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFirewallRuleGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFirewallRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOutpostResolversPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverDnssecConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverEndpointIpAddressesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverQueryLogConfigAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverQueryLogConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverRuleAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResolverRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListFirewallConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFirewallDomainListsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFirewallDomainsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFirewallRuleGroupAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFirewallRuleGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFirewallRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOutpostResolversPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverDnssecConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverEndpointIpAddressesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverQueryLogConfigAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverQueryLogConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverRuleAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResolverRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFirewallRuleGroupsCommand, } from "../commands/ListFirewallRuleGroupsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFirewallRuleGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFirewallRuleGroups(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFirewallRuleGroups = createPaginator(Route53ResolverClient, ListFirewallRuleGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFirewallRulesCommand, } from "../commands/ListFirewallRulesCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFirewallRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFirewallRules(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFirewallRules = createPaginator(Route53ResolverClient, ListFirewallRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOutpostResolversCommand, } from "../commands/ListOutpostResolversCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOutpostResolversCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOutpostResolvers(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOutpostResolvers = createPaginator(Route53ResolverClient, ListOutpostResolversCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverConfigsCommand, } from "../commands/ListResolverConfigsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverConfigs(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverConfigs = createPaginator(Route53ResolverClient, ListResolverConfigsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverDnssecConfigsCommand, } from "../commands/ListResolverDnssecConfigsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverDnssecConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverDnssecConfigs(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverDnssecConfigs = createPaginator(Route53ResolverClient, ListResolverDnssecConfigsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverEndpointIpAddressesCommand, } from "../commands/ListResolverEndpointIpAddressesCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverEndpointIpAddressesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverEndpointIpAddresses(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverEndpointIpAddresses = createPaginator(Route53ResolverClient, ListResolverEndpointIpAddressesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverEndpointsCommand, } from "../commands/ListResolverEndpointsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverEndpointsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverEndpoints(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverEndpoints = createPaginator(Route53ResolverClient, ListResolverEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverQueryLogConfigAssociationsCommand, } from "../commands/ListResolverQueryLogConfigAssociationsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverQueryLogConfigAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverQueryLogConfigAssociations(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverQueryLogConfigAssociations = createPaginator(Route53ResolverClient, ListResolverQueryLogConfigAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverQueryLogConfigsCommand, } from "../commands/ListResolverQueryLogConfigsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverQueryLogConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverQueryLogConfigs(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverQueryLogConfigs = createPaginator(Route53ResolverClient, ListResolverQueryLogConfigsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverRuleAssociationsCommand, } from "../commands/ListResolverRuleAssociationsCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverRuleAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverRuleAssociations(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverRuleAssociations = createPaginator(Route53ResolverClient, ListResolverRuleAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResolverRulesCommand, } from "../commands/ListResolverRulesCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResolverRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResolverRules(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResolverRules = createPaginator(Route53ResolverClient, ListResolverRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
|
|
2
3
|
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTagsForResource(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["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTagsForResource = createPaginator(Route53ResolverClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallConfigs: (config: Route53ResolverPaginationConfiguration, input: ListFirewallConfigsCommandInput, ...rest: any[]) => Paginator<ListFirewallConfigsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallDomainLists: (config: Route53ResolverPaginationConfiguration, input: ListFirewallDomainListsCommandInput, ...rest: any[]) => Paginator<ListFirewallDomainListsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallDomains: (config: Route53ResolverPaginationConfiguration, input: ListFirewallDomainsCommandInput, ...rest: any[]) => Paginator<ListFirewallDomainsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallRuleGroupAssociations: (config: Route53ResolverPaginationConfiguration, input: ListFirewallRuleGroupAssociationsCommandInput, ...rest: any[]) => Paginator<ListFirewallRuleGroupAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallRuleGroups: (config: Route53ResolverPaginationConfiguration, input: ListFirewallRuleGroupsCommandInput, ...rest: any[]) => Paginator<ListFirewallRuleGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallRules: (config: Route53ResolverPaginationConfiguration, input: ListFirewallRulesCommandInput, ...rest: any[]) => Paginator<ListFirewallRulesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListOutpostResolvers: (config: Route53ResolverPaginationConfiguration, input: ListOutpostResolversCommandInput, ...rest: any[]) => Paginator<ListOutpostResolversCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverConfigs: (config: Route53ResolverPaginationConfiguration, input: ListResolverConfigsCommandInput, ...rest: any[]) => Paginator<ListResolverConfigsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverDnssecConfigs: (config: Route53ResolverPaginationConfiguration, input: ListResolverDnssecConfigsCommandInput, ...rest: any[]) => Paginator<ListResolverDnssecConfigsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverEndpointIpAddresses: (config: Route53ResolverPaginationConfiguration, input: ListResolverEndpointIpAddressesCommandInput, ...rest: any[]) => Paginator<ListResolverEndpointIpAddressesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverEndpoints: (config: Route53ResolverPaginationConfiguration, input: ListResolverEndpointsCommandInput, ...rest: any[]) => Paginator<ListResolverEndpointsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverQueryLogConfigAssociations: (config: Route53ResolverPaginationConfiguration, input: ListResolverQueryLogConfigAssociationsCommandInput, ...rest: any[]) => Paginator<ListResolverQueryLogConfigAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverQueryLogConfigs: (config: Route53ResolverPaginationConfiguration, input: ListResolverQueryLogConfigsCommandInput, ...rest: any[]) => Paginator<ListResolverQueryLogConfigsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverRuleAssociations: (config: Route53ResolverPaginationConfiguration, input: ListResolverRuleAssociationsCommandInput, ...rest: any[]) => Paginator<ListResolverRuleAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverRules: (config: Route53ResolverPaginationConfiguration, input: ListResolverRulesCommandInput, ...rest: any[]) => Paginator<ListResolverRulesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTagsForResource: (config: Route53ResolverPaginationConfiguration, input: ListTagsForResourceCommandInput, ...rest: any[]) => Paginator<ListTagsForResourceCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFirewallConfigsCommandOutput,
|
|
5
5
|
} from "../commands/ListFirewallConfigsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallConfigs: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListFirewallConfigsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallConfigsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFirewallDomainListsCommandOutput,
|
|
5
5
|
} from "../commands/ListFirewallDomainListsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallDomainLists: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListFirewallDomainListsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallDomainListsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFirewallDomainsCommandOutput,
|
|
5
5
|
} from "../commands/ListFirewallDomainsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallDomains: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListFirewallDomainsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallDomainsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFirewallRuleGroupAssociationsCommandOutput,
|
|
5
5
|
} from "../commands/ListFirewallRuleGroupAssociationsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallRuleGroupAssociations: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListFirewallRuleGroupAssociationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallRuleGroupAssociationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFirewallRuleGroupsCommandOutput,
|
|
5
5
|
} from "../commands/ListFirewallRuleGroupsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallRuleGroups: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListFirewallRuleGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallRuleGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFirewallRulesCommandOutput,
|
|
5
5
|
} from "../commands/ListFirewallRulesCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFirewallRules: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListFirewallRulesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallRulesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListOutpostResolversCommandOutput,
|
|
5
5
|
} from "../commands/ListOutpostResolversCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListOutpostResolvers: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListOutpostResolversCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListOutpostResolversCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListResolverConfigsCommandOutput,
|
|
5
5
|
} from "../commands/ListResolverConfigsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverConfigs: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListResolverConfigsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResolverConfigsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListResolverDnssecConfigsCommandOutput,
|
|
5
5
|
} from "../commands/ListResolverDnssecConfigsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverDnssecConfigs: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListResolverDnssecConfigsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResolverDnssecConfigsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListResolverEndpointIpAddressesCommandOutput,
|
|
5
5
|
} from "../commands/ListResolverEndpointIpAddressesCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverEndpointIpAddresses: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListResolverEndpointIpAddressesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResolverEndpointIpAddressesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListResolverEndpointsCommandOutput,
|
|
5
5
|
} from "../commands/ListResolverEndpointsCommand";
|
|
6
6
|
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResolverEndpoints: (
|
|
8
8
|
config: Route53ResolverPaginationConfiguration,
|
|
9
9
|
input: ListResolverEndpointsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResolverEndpointsCommandOutput>;
|