@aws-sdk/client-global-accelerator 3.477.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/ListAcceleratorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListByoipCidrsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCrossAccountAttachmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCrossAccountResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomRoutingAcceleratorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomRoutingEndpointGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomRoutingListenersPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomRoutingPortMappingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEndpointGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListListenersPaginator.js +2 -24
- package/dist-es/pagination/ListAcceleratorsPaginator.js +2 -23
- package/dist-es/pagination/ListByoipCidrsPaginator.js +2 -23
- package/dist-es/pagination/ListCrossAccountAttachmentsPaginator.js +2 -23
- package/dist-es/pagination/ListCrossAccountResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListCustomRoutingAcceleratorsPaginator.js +2 -23
- package/dist-es/pagination/ListCustomRoutingEndpointGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListCustomRoutingListenersPaginator.js +2 -23
- package/dist-es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +2 -23
- package/dist-es/pagination/ListCustomRoutingPortMappingsPaginator.js +2 -23
- package/dist-es/pagination/ListEndpointGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListListenersPaginator.js +2 -23
- package/dist-types/pagination/ListAcceleratorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListByoipCidrsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCrossAccountAttachmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCrossAccountResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomRoutingAcceleratorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomRoutingEndpointGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomRoutingListenersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomRoutingPortMappingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEndpointGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListListenersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAcceleratorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListByoipCidrsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCrossAccountAttachmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCrossAccountResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomRoutingAcceleratorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomRoutingEndpointGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomRoutingListenersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomRoutingPortMappingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEndpointGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListListenersPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccelerators = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAcceleratorsCommand_1 = require("../commands/ListAcceleratorsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAcceleratorsCommand_1.ListAcceleratorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAccelerators(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAccelerators = paginateListAccelerators;
|
|
7
|
+
exports.paginateListAccelerators = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListAcceleratorsCommand_1.ListAcceleratorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListByoipCidrs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListByoipCidrsCommand_1 = require("../commands/ListByoipCidrsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListByoipCidrsCommand_1.ListByoipCidrsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListByoipCidrs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListByoipCidrs = paginateListByoipCidrs;
|
|
7
|
+
exports.paginateListByoipCidrs = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListByoipCidrsCommand_1.ListByoipCidrsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCrossAccountAttachments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCrossAccountAttachmentsCommand_1 = require("../commands/ListCrossAccountAttachmentsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCrossAccountAttachmentsCommand_1.ListCrossAccountAttachmentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCrossAccountAttachments(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCrossAccountAttachments = paginateListCrossAccountAttachments;
|
|
7
|
+
exports.paginateListCrossAccountAttachments = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCrossAccountAttachmentsCommand_1.ListCrossAccountAttachmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCrossAccountResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCrossAccountResourcesCommand_1 = require("../commands/ListCrossAccountResourcesCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCrossAccountResourcesCommand_1.ListCrossAccountResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCrossAccountResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCrossAccountResources = paginateListCrossAccountResources;
|
|
7
|
+
exports.paginateListCrossAccountResources = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCrossAccountResourcesCommand_1.ListCrossAccountResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomRoutingAccelerators = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomRoutingAcceleratorsCommand_1 = require("../commands/ListCustomRoutingAcceleratorsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCustomRoutingAcceleratorsCommand_1.ListCustomRoutingAcceleratorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCustomRoutingAccelerators(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCustomRoutingAccelerators = paginateListCustomRoutingAccelerators;
|
|
7
|
+
exports.paginateListCustomRoutingAccelerators = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCustomRoutingAcceleratorsCommand_1.ListCustomRoutingAcceleratorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomRoutingEndpointGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomRoutingEndpointGroupsCommand_1 = require("../commands/ListCustomRoutingEndpointGroupsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCustomRoutingEndpointGroupsCommand_1.ListCustomRoutingEndpointGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCustomRoutingEndpointGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCustomRoutingEndpointGroups = paginateListCustomRoutingEndpointGroups;
|
|
7
|
+
exports.paginateListCustomRoutingEndpointGroups = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCustomRoutingEndpointGroupsCommand_1.ListCustomRoutingEndpointGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomRoutingListeners = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomRoutingListenersCommand_1 = require("../commands/ListCustomRoutingListenersCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCustomRoutingListenersCommand_1.ListCustomRoutingListenersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCustomRoutingListeners(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCustomRoutingListeners = paginateListCustomRoutingListeners;
|
|
7
|
+
exports.paginateListCustomRoutingListeners = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCustomRoutingListenersCommand_1.ListCustomRoutingListenersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomRoutingPortMappingsByDestination = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomRoutingPortMappingsByDestinationCommand_1 = require("../commands/ListCustomRoutingPortMappingsByDestinationCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCustomRoutingPortMappingsByDestinationCommand_1.ListCustomRoutingPortMappingsByDestinationCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCustomRoutingPortMappingsByDestination(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCustomRoutingPortMappingsByDestination = paginateListCustomRoutingPortMappingsByDestination;
|
|
7
|
+
exports.paginateListCustomRoutingPortMappingsByDestination = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCustomRoutingPortMappingsByDestinationCommand_1.ListCustomRoutingPortMappingsByDestinationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomRoutingPortMappings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomRoutingPortMappingsCommand_1 = require("../commands/ListCustomRoutingPortMappingsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCustomRoutingPortMappingsCommand_1.ListCustomRoutingPortMappingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCustomRoutingPortMappings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCustomRoutingPortMappings = paginateListCustomRoutingPortMappings;
|
|
7
|
+
exports.paginateListCustomRoutingPortMappings = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListCustomRoutingPortMappingsCommand_1.ListCustomRoutingPortMappingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEndpointGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEndpointGroupsCommand_1 = require("../commands/ListEndpointGroupsCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEndpointGroupsCommand_1.ListEndpointGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEndpointGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEndpointGroups = paginateListEndpointGroups;
|
|
7
|
+
exports.paginateListEndpointGroups = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListEndpointGroupsCommand_1.ListEndpointGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListListeners = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListListenersCommand_1 = require("../commands/ListListenersCommand");
|
|
5
6
|
const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListListenersCommand_1.ListListenersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListListeners(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof GlobalAcceleratorClient_1.GlobalAcceleratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListListeners = paginateListListeners;
|
|
7
|
+
exports.paginateListListeners = (0, core_1.createPaginator)(GlobalAcceleratorClient_1.GlobalAcceleratorClient, ListListenersCommand_1.ListListenersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAcceleratorsCommand, } from "../commands/ListAcceleratorsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAcceleratorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccelerators(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListAccelerators = createPaginator(GlobalAcceleratorClient, ListAcceleratorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListByoipCidrsCommand, } from "../commands/ListByoipCidrsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListByoipCidrsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListByoipCidrs(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListByoipCidrs = createPaginator(GlobalAcceleratorClient, ListByoipCidrsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCrossAccountAttachmentsCommand, } from "../commands/ListCrossAccountAttachmentsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCrossAccountAttachmentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCrossAccountAttachments(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCrossAccountAttachments = createPaginator(GlobalAcceleratorClient, ListCrossAccountAttachmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCrossAccountResourcesCommand, } from "../commands/ListCrossAccountResourcesCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCrossAccountResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCrossAccountResources(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCrossAccountResources = createPaginator(GlobalAcceleratorClient, ListCrossAccountResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomRoutingAcceleratorsCommand, } from "../commands/ListCustomRoutingAcceleratorsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomRoutingAcceleratorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomRoutingAccelerators(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCustomRoutingAccelerators = createPaginator(GlobalAcceleratorClient, ListCustomRoutingAcceleratorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomRoutingEndpointGroupsCommand, } from "../commands/ListCustomRoutingEndpointGroupsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomRoutingEndpointGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomRoutingEndpointGroups(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCustomRoutingEndpointGroups = createPaginator(GlobalAcceleratorClient, ListCustomRoutingEndpointGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomRoutingListenersCommand, } from "../commands/ListCustomRoutingListenersCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomRoutingListenersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomRoutingListeners(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCustomRoutingListeners = createPaginator(GlobalAcceleratorClient, ListCustomRoutingListenersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomRoutingPortMappingsByDestinationCommand, } from "../commands/ListCustomRoutingPortMappingsByDestinationCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomRoutingPortMappingsByDestinationCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomRoutingPortMappingsByDestination(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCustomRoutingPortMappingsByDestination = createPaginator(GlobalAcceleratorClient, ListCustomRoutingPortMappingsByDestinationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomRoutingPortMappingsCommand, } from "../commands/ListCustomRoutingPortMappingsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomRoutingPortMappingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomRoutingPortMappings(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListCustomRoutingPortMappings = createPaginator(GlobalAcceleratorClient, ListCustomRoutingPortMappingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEndpointGroupsCommand, } from "../commands/ListEndpointGroupsCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEndpointGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEndpointGroups(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListEndpointGroups = createPaginator(GlobalAcceleratorClient, ListEndpointGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListListenersCommand, } from "../commands/ListListenersCommand";
|
|
2
3
|
import { GlobalAcceleratorClient } from "../GlobalAcceleratorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListListenersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListListeners(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 GlobalAcceleratorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GlobalAccelerator | GlobalAcceleratorClient");
|
|
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 paginateListListeners = createPaginator(GlobalAcceleratorClient, ListListenersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccelerators: (config: GlobalAcceleratorPaginationConfiguration, input: ListAcceleratorsCommandInput, ...rest: any[]) => Paginator<ListAcceleratorsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListByoipCidrs: (config: GlobalAcceleratorPaginationConfiguration, input: ListByoipCidrsCommandInput, ...rest: any[]) => Paginator<ListByoipCidrsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCrossAccountAttachments: (config: GlobalAcceleratorPaginationConfiguration, input: ListCrossAccountAttachmentsCommandInput, ...rest: any[]) => Paginator<ListCrossAccountAttachmentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCrossAccountResources: (config: GlobalAcceleratorPaginationConfiguration, input: ListCrossAccountResourcesCommandInput, ...rest: any[]) => Paginator<ListCrossAccountResourcesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingAccelerators: (config: GlobalAcceleratorPaginationConfiguration, input: ListCustomRoutingAcceleratorsCommandInput, ...rest: any[]) => Paginator<ListCustomRoutingAcceleratorsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingEndpointGroups: (config: GlobalAcceleratorPaginationConfiguration, input: ListCustomRoutingEndpointGroupsCommandInput, ...rest: any[]) => Paginator<ListCustomRoutingEndpointGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingListeners: (config: GlobalAcceleratorPaginationConfiguration, input: ListCustomRoutingListenersCommandInput, ...rest: any[]) => Paginator<ListCustomRoutingListenersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingPortMappingsByDestination: (config: GlobalAcceleratorPaginationConfiguration, input: ListCustomRoutingPortMappingsByDestinationCommandInput, ...rest: any[]) => Paginator<ListCustomRoutingPortMappingsByDestinationCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingPortMappings: (config: GlobalAcceleratorPaginationConfiguration, input: ListCustomRoutingPortMappingsCommandInput, ...rest: any[]) => Paginator<ListCustomRoutingPortMappingsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEndpointGroups: (config: GlobalAcceleratorPaginationConfiguration, input: ListEndpointGroupsCommandInput, ...rest: any[]) => Paginator<ListEndpointGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListListeners: (config: GlobalAcceleratorPaginationConfiguration, input: ListListenersCommandInput, ...rest: any[]) => Paginator<ListListenersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAcceleratorsCommandOutput,
|
|
5
5
|
} from "../commands/ListAcceleratorsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccelerators: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListAcceleratorsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAcceleratorsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListByoipCidrsCommandOutput,
|
|
5
5
|
} from "../commands/ListByoipCidrsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListByoipCidrs: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListByoipCidrsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListByoipCidrsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCrossAccountAttachmentsCommandOutput,
|
|
5
5
|
} from "../commands/ListCrossAccountAttachmentsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCrossAccountAttachments: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCrossAccountAttachmentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCrossAccountAttachmentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCrossAccountResourcesCommandOutput,
|
|
5
5
|
} from "../commands/ListCrossAccountResourcesCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCrossAccountResources: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCrossAccountResourcesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCrossAccountResourcesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCustomRoutingAcceleratorsCommandOutput,
|
|
5
5
|
} from "../commands/ListCustomRoutingAcceleratorsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingAccelerators: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCustomRoutingAcceleratorsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCustomRoutingAcceleratorsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCustomRoutingEndpointGroupsCommandOutput,
|
|
5
5
|
} from "../commands/ListCustomRoutingEndpointGroupsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingEndpointGroups: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCustomRoutingEndpointGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCustomRoutingEndpointGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCustomRoutingListenersCommandOutput,
|
|
5
5
|
} from "../commands/ListCustomRoutingListenersCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingListeners: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCustomRoutingListenersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCustomRoutingListenersCommandOutput>;
|
package/dist-types/ts3.4/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCustomRoutingPortMappingsByDestinationCommandOutput,
|
|
5
5
|
} from "../commands/ListCustomRoutingPortMappingsByDestinationCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingPortMappingsByDestination: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCustomRoutingPortMappingsByDestinationCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCustomRoutingPortMappingsByDestinationCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCustomRoutingPortMappingsCommandOutput,
|
|
5
5
|
} from "../commands/ListCustomRoutingPortMappingsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomRoutingPortMappings: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListCustomRoutingPortMappingsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCustomRoutingPortMappingsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEndpointGroupsCommandOutput,
|
|
5
5
|
} from "../commands/ListEndpointGroupsCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEndpointGroups: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListEndpointGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEndpointGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListListenersCommandOutput,
|
|
5
5
|
} from "../commands/ListListenersCommand";
|
|
6
6
|
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListListeners: (
|
|
8
8
|
config: GlobalAcceleratorPaginationConfiguration,
|
|
9
9
|
input: ListListenersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListListenersCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-global-accelerator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Global Accelerator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,20 +20,21 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|