@aws-sdk/client-elastic-load-balancing-v2 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/DescribeListenersPaginator.js +2 -23
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +2 -23
- package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +2 -23
- package/dist-cjs/pagination/DescribeTrustStoreAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTrustStoreRevocationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTrustStoresPaginator.js +2 -24
- package/dist-es/pagination/DescribeListenersPaginator.js +2 -22
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js +2 -22
- package/dist-es/pagination/DescribeTargetGroupsPaginator.js +2 -22
- package/dist-es/pagination/DescribeTrustStoreAssociationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeTrustStoreRevocationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeTrustStoresPaginator.js +2 -23
- package/dist-types/pagination/DescribeListenersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTargetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTrustStoresPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeListenersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTargetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTrustStoresPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeListeners = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeListenersCommand_1 = require("../commands/DescribeListenersCommand");
|
|
5
6
|
const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeListenersCommand_1.DescribeListenersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeListeners(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextMarker;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateDescribeListeners = paginateDescribeListeners;
|
|
7
|
+
exports.paginateDescribeListeners = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeListenersCommand_1.DescribeListenersCommand, "Marker", "NextMarker", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeLoadBalancers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeLoadBalancersCommand_1 = require("../commands/DescribeLoadBalancersCommand");
|
|
5
6
|
const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeLoadBalancers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextMarker;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateDescribeLoadBalancers = paginateDescribeLoadBalancers;
|
|
7
|
+
exports.paginateDescribeLoadBalancers = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand, "Marker", "NextMarker", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTargetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeTargetGroupsCommand_1 = require("../commands/DescribeTargetGroupsCommand");
|
|
5
6
|
const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeTargetGroupsCommand_1.DescribeTargetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeTargetGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextMarker;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateDescribeTargetGroups = paginateDescribeTargetGroups;
|
|
7
|
+
exports.paginateDescribeTargetGroups = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand_1.DescribeTargetGroupsCommand, "Marker", "NextMarker", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTrustStoreAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeTrustStoreAssociationsCommand_1 = require("../commands/DescribeTrustStoreAssociationsCommand");
|
|
5
6
|
const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeTrustStoreAssociationsCommand_1.DescribeTrustStoreAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeTrustStoreAssociations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextMarker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeTrustStoreAssociations = paginateDescribeTrustStoreAssociations;
|
|
7
|
+
exports.paginateDescribeTrustStoreAssociations = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTrustStoreAssociationsCommand_1.DescribeTrustStoreAssociationsCommand, "Marker", "NextMarker", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTrustStoreRevocations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeTrustStoreRevocationsCommand_1 = require("../commands/DescribeTrustStoreRevocationsCommand");
|
|
5
6
|
const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeTrustStoreRevocationsCommand_1.DescribeTrustStoreRevocationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeTrustStoreRevocations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextMarker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeTrustStoreRevocations = paginateDescribeTrustStoreRevocations;
|
|
7
|
+
exports.paginateDescribeTrustStoreRevocations = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTrustStoreRevocationsCommand_1.DescribeTrustStoreRevocationsCommand, "Marker", "NextMarker", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTrustStores = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeTrustStoresCommand_1 = require("../commands/DescribeTrustStoresCommand");
|
|
5
6
|
const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeTrustStoresCommand_1.DescribeTrustStoresCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeTrustStores(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextMarker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeTrustStores = paginateDescribeTrustStores;
|
|
7
|
+
exports.paginateDescribeTrustStores = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTrustStoresCommand_1.DescribeTrustStoresCommand, "Marker", "NextMarker", "PageSize");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeListenersCommand, } from "../commands/DescribeListenersCommand";
|
|
2
3
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeListenersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeListeners(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
if (config.client instanceof ElasticLoadBalancingV2Client) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextMarker;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateDescribeListeners = createPaginator(ElasticLoadBalancingV2Client, DescribeListenersCommand, "Marker", "NextMarker", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeLoadBalancersCommand, } from "../commands/DescribeLoadBalancersCommand";
|
|
2
3
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeLoadBalancersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeLoadBalancers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
if (config.client instanceof ElasticLoadBalancingV2Client) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextMarker;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateDescribeLoadBalancers = createPaginator(ElasticLoadBalancingV2Client, DescribeLoadBalancersCommand, "Marker", "NextMarker", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeTargetGroupsCommand, } from "../commands/DescribeTargetGroupsCommand";
|
|
2
3
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeTargetGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeTargetGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
if (config.client instanceof ElasticLoadBalancingV2Client) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextMarker;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateDescribeTargetGroups = createPaginator(ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand, "Marker", "NextMarker", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeTrustStoreAssociationsCommand, } from "../commands/DescribeTrustStoreAssociationsCommand";
|
|
2
3
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeTrustStoreAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeTrustStoreAssociations(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["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ElasticLoadBalancingV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
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 paginateDescribeTrustStoreAssociations = createPaginator(ElasticLoadBalancingV2Client, DescribeTrustStoreAssociationsCommand, "Marker", "NextMarker", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeTrustStoreRevocationsCommand, } from "../commands/DescribeTrustStoreRevocationsCommand";
|
|
2
3
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeTrustStoreRevocationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeTrustStoreRevocations(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["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ElasticLoadBalancingV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
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 paginateDescribeTrustStoreRevocations = createPaginator(ElasticLoadBalancingV2Client, DescribeTrustStoreRevocationsCommand, "Marker", "NextMarker", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeTrustStoresCommand, } from "../commands/DescribeTrustStoresCommand";
|
|
2
3
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeTrustStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeTrustStores(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["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ElasticLoadBalancingV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
|
|
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 paginateDescribeTrustStores = createPaginator(ElasticLoadBalancingV2Client, DescribeTrustStoresCommand, "Marker", "NextMarker", "PageSize");
|
|
@@ -4,4 +4,4 @@ import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeListeners: (config: ElasticLoadBalancingV2PaginationConfiguration, input: DescribeListenersCommandInput, ...rest: any[]) => Paginator<DescribeListenersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeLoadBalancers: (config: ElasticLoadBalancingV2PaginationConfiguration, input: DescribeLoadBalancersCommandInput, ...rest: any[]) => Paginator<DescribeLoadBalancersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTargetGroups: (config: ElasticLoadBalancingV2PaginationConfiguration, input: DescribeTargetGroupsCommandInput, ...rest: any[]) => Paginator<DescribeTargetGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTrustStoreAssociations: (config: ElasticLoadBalancingV2PaginationConfiguration, input: DescribeTrustStoreAssociationsCommandInput, ...rest: any[]) => Paginator<DescribeTrustStoreAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTrustStoreRevocations: (config: ElasticLoadBalancingV2PaginationConfiguration, input: DescribeTrustStoreRevocationsCommandInput, ...rest: any[]) => Paginator<DescribeTrustStoreRevocationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTrustStores: (config: ElasticLoadBalancingV2PaginationConfiguration, input: DescribeTrustStoresCommandInput, ...rest: any[]) => Paginator<DescribeTrustStoresCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeListenersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeListenersCommand";
|
|
6
6
|
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeListeners: (
|
|
8
8
|
config: ElasticLoadBalancingV2PaginationConfiguration,
|
|
9
9
|
input: DescribeListenersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeListenersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeLoadBalancersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeLoadBalancersCommand";
|
|
6
6
|
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeLoadBalancers: (
|
|
8
8
|
config: ElasticLoadBalancingV2PaginationConfiguration,
|
|
9
9
|
input: DescribeLoadBalancersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeLoadBalancersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeTargetGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeTargetGroupsCommand";
|
|
6
6
|
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTargetGroups: (
|
|
8
8
|
config: ElasticLoadBalancingV2PaginationConfiguration,
|
|
9
9
|
input: DescribeTargetGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeTargetGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeTrustStoreAssociationsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeTrustStoreAssociationsCommand";
|
|
6
6
|
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTrustStoreAssociations: (
|
|
8
8
|
config: ElasticLoadBalancingV2PaginationConfiguration,
|
|
9
9
|
input: DescribeTrustStoreAssociationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeTrustStoreAssociationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeTrustStoreRevocationsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeTrustStoreRevocationsCommand";
|
|
6
6
|
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTrustStoreRevocations: (
|
|
8
8
|
config: ElasticLoadBalancingV2PaginationConfiguration,
|
|
9
9
|
input: DescribeTrustStoreRevocationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeTrustStoreRevocationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeTrustStoresCommandOutput,
|
|
5
5
|
} from "../commands/DescribeTrustStoresCommand";
|
|
6
6
|
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeTrustStores: (
|
|
8
8
|
config: ElasticLoadBalancingV2PaginationConfiguration,
|
|
9
9
|
input: DescribeTrustStoresCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeTrustStoresCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing V2 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",
|