@aws-sdk/client-elastic-load-balancing 3.975.0 → 3.978.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/index.js
CHANGED
|
@@ -1684,41 +1684,6 @@ class SetLoadBalancerPoliciesOfListenerCommand extends smithyClient.Command
|
|
|
1684
1684
|
.build() {
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
1687
|
-
const commands = {
|
|
1688
|
-
AddTagsCommand,
|
|
1689
|
-
ApplySecurityGroupsToLoadBalancerCommand,
|
|
1690
|
-
AttachLoadBalancerToSubnetsCommand,
|
|
1691
|
-
ConfigureHealthCheckCommand,
|
|
1692
|
-
CreateAppCookieStickinessPolicyCommand,
|
|
1693
|
-
CreateLBCookieStickinessPolicyCommand,
|
|
1694
|
-
CreateLoadBalancerCommand,
|
|
1695
|
-
CreateLoadBalancerListenersCommand,
|
|
1696
|
-
CreateLoadBalancerPolicyCommand,
|
|
1697
|
-
DeleteLoadBalancerCommand,
|
|
1698
|
-
DeleteLoadBalancerListenersCommand,
|
|
1699
|
-
DeleteLoadBalancerPolicyCommand,
|
|
1700
|
-
DeregisterInstancesFromLoadBalancerCommand,
|
|
1701
|
-
DescribeAccountLimitsCommand,
|
|
1702
|
-
DescribeInstanceHealthCommand,
|
|
1703
|
-
DescribeLoadBalancerAttributesCommand,
|
|
1704
|
-
DescribeLoadBalancerPoliciesCommand,
|
|
1705
|
-
DescribeLoadBalancerPolicyTypesCommand,
|
|
1706
|
-
DescribeLoadBalancersCommand,
|
|
1707
|
-
DescribeTagsCommand,
|
|
1708
|
-
DetachLoadBalancerFromSubnetsCommand,
|
|
1709
|
-
DisableAvailabilityZonesForLoadBalancerCommand,
|
|
1710
|
-
EnableAvailabilityZonesForLoadBalancerCommand,
|
|
1711
|
-
ModifyLoadBalancerAttributesCommand,
|
|
1712
|
-
RegisterInstancesWithLoadBalancerCommand,
|
|
1713
|
-
RemoveTagsCommand,
|
|
1714
|
-
SetLoadBalancerListenerSSLCertificateCommand,
|
|
1715
|
-
SetLoadBalancerPoliciesForBackendServerCommand,
|
|
1716
|
-
SetLoadBalancerPoliciesOfListenerCommand,
|
|
1717
|
-
};
|
|
1718
|
-
class ElasticLoadBalancing extends ElasticLoadBalancingClient {
|
|
1719
|
-
}
|
|
1720
|
-
smithyClient.createAggregatedClient(commands, ElasticLoadBalancing);
|
|
1721
|
-
|
|
1722
1687
|
const paginateDescribeLoadBalancers = core.createPaginator(ElasticLoadBalancingClient, DescribeLoadBalancersCommand, "Marker", "NextMarker", "");
|
|
1723
1688
|
|
|
1724
1689
|
const checkState$2 = async (client, input) => {
|
|
@@ -1839,6 +1804,49 @@ const waitUntilInstanceInService = async (params, input) => {
|
|
|
1839
1804
|
return utilWaiter.checkExceptions(result);
|
|
1840
1805
|
};
|
|
1841
1806
|
|
|
1807
|
+
const commands = {
|
|
1808
|
+
AddTagsCommand,
|
|
1809
|
+
ApplySecurityGroupsToLoadBalancerCommand,
|
|
1810
|
+
AttachLoadBalancerToSubnetsCommand,
|
|
1811
|
+
ConfigureHealthCheckCommand,
|
|
1812
|
+
CreateAppCookieStickinessPolicyCommand,
|
|
1813
|
+
CreateLBCookieStickinessPolicyCommand,
|
|
1814
|
+
CreateLoadBalancerCommand,
|
|
1815
|
+
CreateLoadBalancerListenersCommand,
|
|
1816
|
+
CreateLoadBalancerPolicyCommand,
|
|
1817
|
+
DeleteLoadBalancerCommand,
|
|
1818
|
+
DeleteLoadBalancerListenersCommand,
|
|
1819
|
+
DeleteLoadBalancerPolicyCommand,
|
|
1820
|
+
DeregisterInstancesFromLoadBalancerCommand,
|
|
1821
|
+
DescribeAccountLimitsCommand,
|
|
1822
|
+
DescribeInstanceHealthCommand,
|
|
1823
|
+
DescribeLoadBalancerAttributesCommand,
|
|
1824
|
+
DescribeLoadBalancerPoliciesCommand,
|
|
1825
|
+
DescribeLoadBalancerPolicyTypesCommand,
|
|
1826
|
+
DescribeLoadBalancersCommand,
|
|
1827
|
+
DescribeTagsCommand,
|
|
1828
|
+
DetachLoadBalancerFromSubnetsCommand,
|
|
1829
|
+
DisableAvailabilityZonesForLoadBalancerCommand,
|
|
1830
|
+
EnableAvailabilityZonesForLoadBalancerCommand,
|
|
1831
|
+
ModifyLoadBalancerAttributesCommand,
|
|
1832
|
+
RegisterInstancesWithLoadBalancerCommand,
|
|
1833
|
+
RemoveTagsCommand,
|
|
1834
|
+
SetLoadBalancerListenerSSLCertificateCommand,
|
|
1835
|
+
SetLoadBalancerPoliciesForBackendServerCommand,
|
|
1836
|
+
SetLoadBalancerPoliciesOfListenerCommand,
|
|
1837
|
+
};
|
|
1838
|
+
const paginators = {
|
|
1839
|
+
paginateDescribeLoadBalancers,
|
|
1840
|
+
};
|
|
1841
|
+
const waiters = {
|
|
1842
|
+
waitUntilAnyInstanceInService,
|
|
1843
|
+
waitUntilInstanceDeregistered,
|
|
1844
|
+
waitUntilInstanceInService,
|
|
1845
|
+
};
|
|
1846
|
+
class ElasticLoadBalancing extends ElasticLoadBalancingClient {
|
|
1847
|
+
}
|
|
1848
|
+
smithyClient.createAggregatedClient(commands, ElasticLoadBalancing, { paginators, waiters });
|
|
1849
|
+
|
|
1842
1850
|
Object.defineProperty(exports, "$Command", {
|
|
1843
1851
|
enumerable: true,
|
|
1844
1852
|
get: function () { return smithyClient.Command; }
|
|
@@ -29,6 +29,10 @@ import { SetLoadBalancerListenerSSLCertificateCommand, } from "./commands/SetLoa
|
|
|
29
29
|
import { SetLoadBalancerPoliciesForBackendServerCommand, } from "./commands/SetLoadBalancerPoliciesForBackendServerCommand";
|
|
30
30
|
import { SetLoadBalancerPoliciesOfListenerCommand, } from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
|
|
31
31
|
import { ElasticLoadBalancingClient } from "./ElasticLoadBalancingClient";
|
|
32
|
+
import { paginateDescribeLoadBalancers } from "./pagination/DescribeLoadBalancersPaginator";
|
|
33
|
+
import { waitUntilAnyInstanceInService } from "./waiters/waitForAnyInstanceInService";
|
|
34
|
+
import { waitUntilInstanceDeregistered } from "./waiters/waitForInstanceDeregistered";
|
|
35
|
+
import { waitUntilInstanceInService } from "./waiters/waitForInstanceInService";
|
|
32
36
|
const commands = {
|
|
33
37
|
AddTagsCommand,
|
|
34
38
|
ApplySecurityGroupsToLoadBalancerCommand,
|
|
@@ -60,6 +64,14 @@ const commands = {
|
|
|
60
64
|
SetLoadBalancerPoliciesForBackendServerCommand,
|
|
61
65
|
SetLoadBalancerPoliciesOfListenerCommand,
|
|
62
66
|
};
|
|
67
|
+
const paginators = {
|
|
68
|
+
paginateDescribeLoadBalancers,
|
|
69
|
+
};
|
|
70
|
+
const waiters = {
|
|
71
|
+
waitUntilAnyInstanceInService,
|
|
72
|
+
waitUntilInstanceDeregistered,
|
|
73
|
+
waitUntilInstanceInService,
|
|
74
|
+
};
|
|
63
75
|
export class ElasticLoadBalancing extends ElasticLoadBalancingClient {
|
|
64
76
|
}
|
|
65
|
-
createAggregatedClient(commands, ElasticLoadBalancing);
|
|
77
|
+
createAggregatedClient(commands, ElasticLoadBalancing, { paginators, waiters });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
3
4
|
import { ApplySecurityGroupsToLoadBalancerCommandInput, ApplySecurityGroupsToLoadBalancerCommandOutput } from "./commands/ApplySecurityGroupsToLoadBalancerCommand";
|
|
4
5
|
import { AttachLoadBalancerToSubnetsCommandInput, AttachLoadBalancerToSubnetsCommandOutput } from "./commands/AttachLoadBalancerToSubnetsCommand";
|
|
@@ -208,6 +209,31 @@ export interface ElasticLoadBalancing {
|
|
|
208
209
|
setLoadBalancerPoliciesOfListener(args: SetLoadBalancerPoliciesOfListenerCommandInput, options?: __HttpHandlerOptions): Promise<SetLoadBalancerPoliciesOfListenerCommandOutput>;
|
|
209
210
|
setLoadBalancerPoliciesOfListener(args: SetLoadBalancerPoliciesOfListenerCommandInput, cb: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void): void;
|
|
210
211
|
setLoadBalancerPoliciesOfListener(args: SetLoadBalancerPoliciesOfListenerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void): void;
|
|
212
|
+
/**
|
|
213
|
+
* @see {@link DescribeLoadBalancersCommand}
|
|
214
|
+
* @param args - command input.
|
|
215
|
+
* @param paginationConfig - optional pagination config.
|
|
216
|
+
* @returns AsyncIterable of {@link DescribeLoadBalancersCommandOutput}.
|
|
217
|
+
*/
|
|
218
|
+
paginateDescribeLoadBalancers(args?: DescribeLoadBalancersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeLoadBalancersCommandOutput>;
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link DescribeInstanceHealthCommand}
|
|
221
|
+
* @param args - command input.
|
|
222
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
223
|
+
*/
|
|
224
|
+
waitUntilAnyInstanceInService(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult>;
|
|
225
|
+
/**
|
|
226
|
+
* @see {@link DescribeInstanceHealthCommand}
|
|
227
|
+
* @param args - command input.
|
|
228
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
229
|
+
*/
|
|
230
|
+
waitUntilInstanceDeregistered(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult>;
|
|
231
|
+
/**
|
|
232
|
+
* @see {@link DescribeInstanceHealthCommand}
|
|
233
|
+
* @param args - command input.
|
|
234
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
235
|
+
*/
|
|
236
|
+
waitUntilInstanceInService(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult>;
|
|
211
237
|
}
|
|
212
238
|
/**
|
|
213
239
|
* <fullname>Elastic Load Balancing</fullname>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import {
|
|
3
9
|
AddTagsCommandInput,
|
|
4
10
|
AddTagsCommandOutput,
|
|
@@ -546,6 +552,40 @@ export interface ElasticLoadBalancing {
|
|
|
546
552
|
data?: SetLoadBalancerPoliciesOfListenerCommandOutput
|
|
547
553
|
) => void
|
|
548
554
|
): void;
|
|
555
|
+
paginateDescribeLoadBalancers(
|
|
556
|
+
args?: DescribeLoadBalancersCommandInput,
|
|
557
|
+
paginationConfig?: Pick<
|
|
558
|
+
PaginationConfiguration,
|
|
559
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
560
|
+
>
|
|
561
|
+
): Paginator<DescribeLoadBalancersCommandOutput>;
|
|
562
|
+
waitUntilAnyInstanceInService(
|
|
563
|
+
args: DescribeInstanceHealthCommandInput,
|
|
564
|
+
waiterConfig:
|
|
565
|
+
| number
|
|
566
|
+
| Pick<
|
|
567
|
+
WaiterConfiguration<ElasticLoadBalancing>,
|
|
568
|
+
Exclude<keyof WaiterConfiguration<ElasticLoadBalancing>, "client">
|
|
569
|
+
>
|
|
570
|
+
): Promise<WaiterResult>;
|
|
571
|
+
waitUntilInstanceDeregistered(
|
|
572
|
+
args: DescribeInstanceHealthCommandInput,
|
|
573
|
+
waiterConfig:
|
|
574
|
+
| number
|
|
575
|
+
| Pick<
|
|
576
|
+
WaiterConfiguration<ElasticLoadBalancing>,
|
|
577
|
+
Exclude<keyof WaiterConfiguration<ElasticLoadBalancing>, "client">
|
|
578
|
+
>
|
|
579
|
+
): Promise<WaiterResult>;
|
|
580
|
+
waitUntilInstanceInService(
|
|
581
|
+
args: DescribeInstanceHealthCommandInput,
|
|
582
|
+
waiterConfig:
|
|
583
|
+
| number
|
|
584
|
+
| Pick<
|
|
585
|
+
WaiterConfiguration<ElasticLoadBalancing>,
|
|
586
|
+
Exclude<keyof WaiterConfiguration<ElasticLoadBalancing>, "client">
|
|
587
|
+
>
|
|
588
|
+
): Promise<WaiterResult>;
|
|
549
589
|
}
|
|
550
590
|
export declare class ElasticLoadBalancing
|
|
551
591
|
extends ElasticLoadBalancingClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elastic-load-balancing",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.973.4",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|