@aws-sdk/client-elastic-load-balancing 3.1037.0 → 3.1038.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 +2 -2
- package/dist-es/waiters/waitForInstanceDeregistered.js +1 -1
- package/dist-es/waiters/waitForInstanceInService.js +1 -1
- package/dist-types/ElasticLoadBalancing.d.ts +4 -3
- package/dist-types/ts3.4/ElasticLoadBalancing.d.ts +6 -3
- package/dist-types/ts3.4/waiters/waitForAnyInstanceInService.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForInstanceDeregistered.d.ts +14 -3
- package/dist-types/ts3.4/waiters/waitForInstanceInService.d.ts +11 -3
- package/dist-types/waiters/waitForAnyInstanceInService.d.ts +4 -3
- package/dist-types/waiters/waitForInstanceDeregistered.d.ts +5 -3
- package/dist-types/waiters/waitForInstanceInService.d.ts +4 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -525,7 +525,7 @@ const checkState$1 = async (client, input) => {
|
|
|
525
525
|
}
|
|
526
526
|
catch (exception) {
|
|
527
527
|
reason = exception;
|
|
528
|
-
if (exception.name
|
|
528
|
+
if (exception.name === "InvalidEndPointException") {
|
|
529
529
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
530
530
|
}
|
|
531
531
|
}
|
|
@@ -566,7 +566,7 @@ const checkState = async (client, input) => {
|
|
|
566
566
|
}
|
|
567
567
|
catch (exception) {
|
|
568
568
|
reason = exception;
|
|
569
|
-
if (exception.name
|
|
569
|
+
if (exception.name === "InvalidEndPointException") {
|
|
570
570
|
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
571
571
|
}
|
|
572
572
|
}
|
|
@@ -25,7 +25,7 @@ const checkState = async (client, input) => {
|
|
|
25
25
|
}
|
|
26
26
|
catch (exception) {
|
|
27
27
|
reason = exception;
|
|
28
|
-
if (exception.name
|
|
28
|
+
if (exception.name === "InvalidEndPointException") {
|
|
29
29
|
return { state: WaiterState.SUCCESS, reason };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -25,7 +25,7 @@ const checkState = async (client, input) => {
|
|
|
25
25
|
}
|
|
26
26
|
catch (exception) {
|
|
27
27
|
reason = exception;
|
|
28
|
-
if (exception.name
|
|
28
|
+
if (exception.name === "InvalidEndPointException") {
|
|
29
29
|
return { state: WaiterState.RETRY, reason };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -30,6 +30,7 @@ import { type SetLoadBalancerListenerSSLCertificateCommandInput, type SetLoadBal
|
|
|
30
30
|
import { type SetLoadBalancerPoliciesForBackendServerCommandInput, type SetLoadBalancerPoliciesForBackendServerCommandOutput } from "./commands/SetLoadBalancerPoliciesForBackendServerCommand";
|
|
31
31
|
import { type SetLoadBalancerPoliciesOfListenerCommandInput, type SetLoadBalancerPoliciesOfListenerCommandOutput } from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
|
|
32
32
|
import { ElasticLoadBalancingClient } from "./ElasticLoadBalancingClient";
|
|
33
|
+
import type { InvalidEndPointException } from "./models/errors";
|
|
33
34
|
export interface ElasticLoadBalancing {
|
|
34
35
|
/**
|
|
35
36
|
* @see {@link AddTagsCommand}
|
|
@@ -221,19 +222,19 @@ export interface ElasticLoadBalancing {
|
|
|
221
222
|
* @param args - command input.
|
|
222
223
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
223
224
|
*/
|
|
224
|
-
waitUntilAnyInstanceInService(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult
|
|
225
|
+
waitUntilAnyInstanceInService(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
225
226
|
/**
|
|
226
227
|
* @see {@link DescribeInstanceHealthCommand}
|
|
227
228
|
* @param args - command input.
|
|
228
229
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
229
230
|
*/
|
|
230
|
-
waitUntilInstanceDeregistered(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult
|
|
231
|
+
waitUntilInstanceDeregistered(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult<DescribeInstanceHealthCommandOutput | InvalidEndPointException>>;
|
|
231
232
|
/**
|
|
232
233
|
* @see {@link DescribeInstanceHealthCommand}
|
|
233
234
|
* @param args - command input.
|
|
234
235
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
235
236
|
*/
|
|
236
|
-
waitUntilInstanceInService(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult
|
|
237
|
+
waitUntilInstanceInService(args: DescribeInstanceHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancing>, "client">): Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
237
238
|
}
|
|
238
239
|
/**
|
|
239
240
|
* <fullname>Elastic Load Balancing</fullname>
|
|
@@ -122,6 +122,7 @@ import {
|
|
|
122
122
|
SetLoadBalancerPoliciesOfListenerCommandOutput,
|
|
123
123
|
} from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
|
|
124
124
|
import { ElasticLoadBalancingClient } from "./ElasticLoadBalancingClient";
|
|
125
|
+
import { InvalidEndPointException } from "./models/errors";
|
|
125
126
|
export interface ElasticLoadBalancing {
|
|
126
127
|
addTags(
|
|
127
128
|
args: AddTagsCommandInput,
|
|
@@ -567,7 +568,7 @@ export interface ElasticLoadBalancing {
|
|
|
567
568
|
WaiterConfiguration<ElasticLoadBalancing>,
|
|
568
569
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancing>, "client">
|
|
569
570
|
>
|
|
570
|
-
): Promise<WaiterResult
|
|
571
|
+
): Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
571
572
|
waitUntilInstanceDeregistered(
|
|
572
573
|
args: DescribeInstanceHealthCommandInput,
|
|
573
574
|
waiterConfig:
|
|
@@ -576,7 +577,9 @@ export interface ElasticLoadBalancing {
|
|
|
576
577
|
WaiterConfiguration<ElasticLoadBalancing>,
|
|
577
578
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancing>, "client">
|
|
578
579
|
>
|
|
579
|
-
): Promise<
|
|
580
|
+
): Promise<
|
|
581
|
+
WaiterResult<DescribeInstanceHealthCommandOutput | InvalidEndPointException>
|
|
582
|
+
>;
|
|
580
583
|
waitUntilInstanceInService(
|
|
581
584
|
args: DescribeInstanceHealthCommandInput,
|
|
582
585
|
waiterConfig:
|
|
@@ -585,7 +588,7 @@ export interface ElasticLoadBalancing {
|
|
|
585
588
|
WaiterConfiguration<ElasticLoadBalancing>,
|
|
586
589
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancing>, "client">
|
|
587
590
|
>
|
|
588
|
-
): Promise<WaiterResult
|
|
591
|
+
): Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
589
592
|
}
|
|
590
593
|
export declare class ElasticLoadBalancing
|
|
591
594
|
extends ElasticLoadBalancingClient
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeInstanceHealthCommandInput,
|
|
4
|
+
DescribeInstanceHealthCommandOutput,
|
|
5
|
+
} from "../commands/DescribeInstanceHealthCommand";
|
|
3
6
|
import { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient";
|
|
7
|
+
import { ElasticLoadBalancingServiceException } from "../models/ElasticLoadBalancingServiceException";
|
|
4
8
|
export declare const waitForAnyInstanceInService: (
|
|
5
9
|
params: WaiterConfiguration<ElasticLoadBalancingClient>,
|
|
6
10
|
input: DescribeInstanceHealthCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeInstanceHealthCommandOutput | ElasticLoadBalancingServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilAnyInstanceInService: (
|
|
9
17
|
params: WaiterConfiguration<ElasticLoadBalancingClient>,
|
|
10
18
|
input: DescribeInstanceHealthCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeInstanceHealthCommandInput,
|
|
4
|
+
DescribeInstanceHealthCommandOutput,
|
|
5
|
+
} from "../commands/DescribeInstanceHealthCommand";
|
|
3
6
|
import { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient";
|
|
7
|
+
import { ElasticLoadBalancingServiceException } from "../models/ElasticLoadBalancingServiceException";
|
|
8
|
+
import { InvalidEndPointException } from "../models/errors";
|
|
4
9
|
export declare const waitForInstanceDeregistered: (
|
|
5
10
|
params: WaiterConfiguration<ElasticLoadBalancingClient>,
|
|
6
11
|
input: DescribeInstanceHealthCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<
|
|
14
|
+
DescribeInstanceHealthCommandOutput | ElasticLoadBalancingServiceException
|
|
15
|
+
>
|
|
16
|
+
>;
|
|
8
17
|
export declare const waitUntilInstanceDeregistered: (
|
|
9
18
|
params: WaiterConfiguration<ElasticLoadBalancingClient>,
|
|
10
19
|
input: DescribeInstanceHealthCommandInput
|
|
11
|
-
) => Promise<
|
|
20
|
+
) => Promise<
|
|
21
|
+
WaiterResult<DescribeInstanceHealthCommandOutput | InvalidEndPointException>
|
|
22
|
+
>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeInstanceHealthCommandInput,
|
|
4
|
+
DescribeInstanceHealthCommandOutput,
|
|
5
|
+
} from "../commands/DescribeInstanceHealthCommand";
|
|
3
6
|
import { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient";
|
|
7
|
+
import { ElasticLoadBalancingServiceException } from "../models/ElasticLoadBalancingServiceException";
|
|
4
8
|
export declare const waitForInstanceInService: (
|
|
5
9
|
params: WaiterConfiguration<ElasticLoadBalancingClient>,
|
|
6
10
|
input: DescribeInstanceHealthCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeInstanceHealthCommandOutput | ElasticLoadBalancingServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilInstanceInService: (
|
|
9
17
|
params: WaiterConfiguration<ElasticLoadBalancingClient>,
|
|
10
18
|
input: DescribeInstanceHealthCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeInstanceHealthCommandInput } from "../commands/DescribeInstanceHealthCommand";
|
|
2
|
+
import { type DescribeInstanceHealthCommandInput, type DescribeInstanceHealthCommandOutput } from "../commands/DescribeInstanceHealthCommand";
|
|
3
3
|
import type { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient";
|
|
4
|
+
import type { ElasticLoadBalancingServiceException } from "../models/ElasticLoadBalancingServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilAnyInstanceInService instead. waitForAnyInstanceInService does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForAnyInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForAnyInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput | ElasticLoadBalancingServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeInstanceHealthCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilAnyInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilAnyInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeInstanceHealthCommandInput } from "../commands/DescribeInstanceHealthCommand";
|
|
2
|
+
import { type DescribeInstanceHealthCommandInput, type DescribeInstanceHealthCommandOutput } from "../commands/DescribeInstanceHealthCommand";
|
|
3
3
|
import type { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient";
|
|
4
|
+
import type { ElasticLoadBalancingServiceException } from "../models/ElasticLoadBalancingServiceException";
|
|
5
|
+
import type { InvalidEndPointException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
*
|
|
6
8
|
* @deprecated Use waitUntilInstanceDeregistered instead. waitForInstanceDeregistered does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForInstanceDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForInstanceDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput | ElasticLoadBalancingServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
*
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeInstanceHealthCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilInstanceDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilInstanceDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput | InvalidEndPointException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeInstanceHealthCommandInput } from "../commands/DescribeInstanceHealthCommand";
|
|
2
|
+
import { type DescribeInstanceHealthCommandInput, type DescribeInstanceHealthCommandOutput } from "../commands/DescribeInstanceHealthCommand";
|
|
3
3
|
import type { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient";
|
|
4
|
+
import type { ElasticLoadBalancingServiceException } from "../models/ElasticLoadBalancingServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilInstanceInService instead. waitForInstanceInService does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput | ElasticLoadBalancingServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeInstanceHealthCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilInstanceInService: (params: WaiterConfiguration<ElasticLoadBalancingClient>, input: DescribeInstanceHealthCommandInput) => Promise<WaiterResult<DescribeInstanceHealthCommandOutput>>;
|
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.1038.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,17 +23,17 @@
|
|
|
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.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.6",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
33
33
|
"@aws-sdk/types": "^3.973.8",
|
|
34
34
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.17",
|
|
38
38
|
"@smithy/core": "^3.23.17",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
43
43
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
44
|
-
"@smithy/middleware-retry": "^4.5.
|
|
44
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.20",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.14",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
58
58
|
"@smithy/util-endpoints": "^3.4.2",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.14",
|
|
60
|
-
"@smithy/util-retry": "^4.3.
|
|
60
|
+
"@smithy/util-retry": "^4.3.5",
|
|
61
61
|
"@smithy/util-utf8": "^4.2.2",
|
|
62
|
-
"@smithy/util-waiter": "^4.
|
|
62
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|