@aws-sdk/client-route-53 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/models/models_0.js +3 -0
- package/dist-cjs/pagination/ListCidrBlocksPaginator.js +2 -24
- package/dist-cjs/pagination/ListCidrCollectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCidrLocationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHealthChecksPaginator.js +2 -24
- package/dist-cjs/pagination/ListHostedZonesPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restXml.js +1839 -2334
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/ListCidrBlocksPaginator.js +2 -23
- package/dist-es/pagination/ListCidrCollectionsPaginator.js +2 -23
- package/dist-es/pagination/ListCidrLocationsPaginator.js +2 -23
- package/dist-es/pagination/ListHealthChecksPaginator.js +2 -23
- package/dist-es/pagination/ListHostedZonesPaginator.js +2 -23
- package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restXml.js +1840 -2335
- package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +1 -1
- package/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
- package/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
- package/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
- package/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
- package/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
- package/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
- package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +3 -4
- package/dist-types/pagination/ListCidrBlocksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCidrCollectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCidrLocationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHealthChecksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHostedZonesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueryLoggingConfigsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/pagination/ListCidrBlocksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCidrCollectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCidrLocationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHealthChecksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHostedZonesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueryLoggingConfigsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -95,6 +95,7 @@ export const CloudWatchRegion = {
|
|
|
95
95
|
ap_southeast_3: "ap-southeast-3",
|
|
96
96
|
ap_southeast_4: "ap-southeast-4",
|
|
97
97
|
ca_central_1: "ca-central-1",
|
|
98
|
+
ca_west_1: "ca-west-1",
|
|
98
99
|
cn_north_1: "cn-north-1",
|
|
99
100
|
cn_northwest_1: "cn-northwest-1",
|
|
100
101
|
eu_central_1: "eu-central-1",
|
|
@@ -132,6 +133,7 @@ export const VPCRegion = {
|
|
|
132
133
|
ap_southeast_3: "ap-southeast-3",
|
|
133
134
|
ap_southeast_4: "ap-southeast-4",
|
|
134
135
|
ca_central_1: "ca-central-1",
|
|
136
|
+
ca_west_1: "ca-west-1",
|
|
135
137
|
cn_north_1: "cn-north-1",
|
|
136
138
|
eu_central_1: "eu-central-1",
|
|
137
139
|
eu_central_2: "eu-central-2",
|
|
@@ -304,6 +306,7 @@ export const ResourceRecordSetRegion = {
|
|
|
304
306
|
ap_southeast_3: "ap-southeast-3",
|
|
305
307
|
ap_southeast_4: "ap-southeast-4",
|
|
306
308
|
ca_central_1: "ca-central-1",
|
|
309
|
+
ca_west_1: "ca-west-1",
|
|
307
310
|
cn_north_1: "cn-north-1",
|
|
308
311
|
cn_northwest_1: "cn-northwest-1",
|
|
309
312
|
eu_central_1: "eu-central-1",
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCidrBlocksCommand, } from "../commands/ListCidrBlocksCommand";
|
|
2
3
|
import { Route53Client } from "../Route53Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCidrBlocksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCidrBlocks(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 Route53Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53 | Route53Client");
|
|
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 paginateListCidrBlocks = createPaginator(Route53Client, ListCidrBlocksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCidrCollectionsCommand, } from "../commands/ListCidrCollectionsCommand";
|
|
2
3
|
import { Route53Client } from "../Route53Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCidrCollectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCidrCollections(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 Route53Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53 | Route53Client");
|
|
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 paginateListCidrCollections = createPaginator(Route53Client, ListCidrCollectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCidrLocationsCommand, } from "../commands/ListCidrLocationsCommand";
|
|
2
3
|
import { Route53Client } from "../Route53Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCidrLocationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCidrLocations(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 Route53Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53 | Route53Client");
|
|
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 paginateListCidrLocations = createPaginator(Route53Client, ListCidrLocationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListHealthChecksCommand, } from "../commands/ListHealthChecksCommand";
|
|
2
3
|
import { Route53Client } from "../Route53Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListHealthChecksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListHealthChecks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53 | Route53Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListHealthChecks = createPaginator(Route53Client, ListHealthChecksCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListHostedZonesCommand, } from "../commands/ListHostedZonesCommand";
|
|
2
3
|
import { Route53Client } from "../Route53Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListHostedZonesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListHostedZones(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53 | Route53Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListHostedZones = createPaginator(Route53Client, ListHostedZonesCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListQueryLoggingConfigsCommand, } from "../commands/ListQueryLoggingConfigsCommand";
|
|
2
3
|
import { Route53Client } from "../Route53Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListQueryLoggingConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListQueryLoggingConfigs(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 Route53Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53 | Route53Client");
|
|
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 paginateListQueryLoggingConfigs = createPaginator(Route53Client, ListQueryLoggingConfigsCommand, "NextToken", "NextToken", "MaxResults");
|