@aws-sdk/client-elastic-load-balancing-v2 3.476.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/pagination/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-cjs/protocols/Aws_query.js +1394 -1192
- 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-es/protocols/Aws_query.js +1394 -1192
- 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 +7 -6
|
@@ -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");
|