@aws-sdk/client-elastic-load-balancing-v2 3.1037.0 → 3.1039.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 +5 -5
- package/dist-es/waiters/waitForLoadBalancerAvailable.js +1 -1
- package/dist-es/waiters/waitForLoadBalancerExists.js +1 -1
- package/dist-es/waiters/waitForLoadBalancersDeleted.js +1 -1
- package/dist-es/waiters/waitForTargetDeregistered.js +1 -1
- package/dist-es/waiters/waitForTargetInService.js +1 -1
- package/dist-types/ElasticLoadBalancingV2.d.ts +6 -5
- package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +11 -5
- package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +12 -3
- package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +14 -3
- package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +11 -3
- package/dist-types/waiters/waitForLoadBalancerAvailable.d.ts +4 -3
- package/dist-types/waiters/waitForLoadBalancerExists.d.ts +4 -3
- package/dist-types/waiters/waitForLoadBalancersDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForTargetDeregistered.d.ts +5 -3
- package/dist-types/waiters/waitForTargetInService.d.ts +4 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -784,7 +784,7 @@ const checkState$4 = async (client, input) => {
|
|
|
784
784
|
}
|
|
785
785
|
catch (exception) {
|
|
786
786
|
reason = exception;
|
|
787
|
-
if (exception.name
|
|
787
|
+
if (exception.name === "LoadBalancerNotFoundException") {
|
|
788
788
|
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
789
789
|
}
|
|
790
790
|
}
|
|
@@ -809,7 +809,7 @@ const checkState$3 = async (client, input) => {
|
|
|
809
809
|
}
|
|
810
810
|
catch (exception) {
|
|
811
811
|
reason = exception;
|
|
812
|
-
if (exception.name
|
|
812
|
+
if (exception.name === "LoadBalancerNotFoundException") {
|
|
813
813
|
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
814
814
|
}
|
|
815
815
|
}
|
|
@@ -850,7 +850,7 @@ const checkState$2 = async (client, input) => {
|
|
|
850
850
|
}
|
|
851
851
|
catch (exception) {
|
|
852
852
|
reason = exception;
|
|
853
|
-
if (exception.name
|
|
853
|
+
if (exception.name === "LoadBalancerNotFoundException") {
|
|
854
854
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
855
855
|
}
|
|
856
856
|
}
|
|
@@ -891,7 +891,7 @@ const checkState$1 = async (client, input) => {
|
|
|
891
891
|
}
|
|
892
892
|
catch (exception) {
|
|
893
893
|
reason = exception;
|
|
894
|
-
if (exception.name
|
|
894
|
+
if (exception.name === "InvalidTargetException") {
|
|
895
895
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
896
896
|
}
|
|
897
897
|
}
|
|
@@ -932,7 +932,7 @@ const checkState = async (client, input) => {
|
|
|
932
932
|
}
|
|
933
933
|
catch (exception) {
|
|
934
934
|
reason = exception;
|
|
935
|
-
if (exception.name
|
|
935
|
+
if (exception.name === "InvalidInstance") {
|
|
936
936
|
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
937
937
|
}
|
|
938
938
|
}
|
|
@@ -40,7 +40,7 @@ const checkState = async (client, input) => {
|
|
|
40
40
|
}
|
|
41
41
|
catch (exception) {
|
|
42
42
|
reason = exception;
|
|
43
|
-
if (exception.name
|
|
43
|
+
if (exception.name === "LoadBalancerNotFoundException") {
|
|
44
44
|
return { state: WaiterState.RETRY, reason };
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -9,7 +9,7 @@ const checkState = async (client, input) => {
|
|
|
9
9
|
}
|
|
10
10
|
catch (exception) {
|
|
11
11
|
reason = exception;
|
|
12
|
-
if (exception.name
|
|
12
|
+
if (exception.name === "LoadBalancerNotFoundException") {
|
|
13
13
|
return { state: WaiterState.RETRY, reason };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -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 === "LoadBalancerNotFoundException") {
|
|
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 === "InvalidTargetException") {
|
|
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 === "InvalidInstance") {
|
|
29
29
|
return { state: WaiterState.RETRY, reason };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -52,6 +52,7 @@ import { type SetRulePrioritiesCommandInput, type SetRulePrioritiesCommandOutput
|
|
|
52
52
|
import { type SetSecurityGroupsCommandInput, type SetSecurityGroupsCommandOutput } from "./commands/SetSecurityGroupsCommand";
|
|
53
53
|
import { type SetSubnetsCommandInput, type SetSubnetsCommandOutput } from "./commands/SetSubnetsCommand";
|
|
54
54
|
import { ElasticLoadBalancingV2Client } from "./ElasticLoadBalancingV2Client";
|
|
55
|
+
import type { InvalidTargetException, LoadBalancerNotFoundException } from "./models/errors";
|
|
55
56
|
export interface ElasticLoadBalancingV2 {
|
|
56
57
|
/**
|
|
57
58
|
* @see {@link AddListenerCertificatesCommand}
|
|
@@ -434,31 +435,31 @@ export interface ElasticLoadBalancingV2 {
|
|
|
434
435
|
* @param args - command input.
|
|
435
436
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
436
437
|
*/
|
|
437
|
-
waitUntilLoadBalancerAvailable(args: DescribeLoadBalancersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult
|
|
438
|
+
waitUntilLoadBalancerAvailable(args: DescribeLoadBalancersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
438
439
|
/**
|
|
439
440
|
* @see {@link DescribeLoadBalancersCommand}
|
|
440
441
|
* @param args - command input.
|
|
441
442
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
442
443
|
*/
|
|
443
|
-
waitUntilLoadBalancerExists(args: DescribeLoadBalancersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult
|
|
444
|
+
waitUntilLoadBalancerExists(args: DescribeLoadBalancersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
444
445
|
/**
|
|
445
446
|
* @see {@link DescribeLoadBalancersCommand}
|
|
446
447
|
* @param args - command input.
|
|
447
448
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
448
449
|
*/
|
|
449
|
-
waitUntilLoadBalancersDeleted(args: DescribeLoadBalancersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult
|
|
450
|
+
waitUntilLoadBalancersDeleted(args: DescribeLoadBalancersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult<LoadBalancerNotFoundException>>;
|
|
450
451
|
/**
|
|
451
452
|
* @see {@link DescribeTargetHealthCommand}
|
|
452
453
|
* @param args - command input.
|
|
453
454
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
454
455
|
*/
|
|
455
|
-
waitUntilTargetDeregistered(args: DescribeTargetHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult
|
|
456
|
+
waitUntilTargetDeregistered(args: DescribeTargetHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult<DescribeTargetHealthCommandOutput | InvalidTargetException>>;
|
|
456
457
|
/**
|
|
457
458
|
* @see {@link DescribeTargetHealthCommand}
|
|
458
459
|
* @param args - command input.
|
|
459
460
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
460
461
|
*/
|
|
461
|
-
waitUntilTargetInService(args: DescribeTargetHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult
|
|
462
|
+
waitUntilTargetInService(args: DescribeTargetHealthCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElasticLoadBalancingV2>, "client">): Promise<WaiterResult<DescribeTargetHealthCommandOutput>>;
|
|
462
463
|
}
|
|
463
464
|
/**
|
|
464
465
|
* <fullname>Elastic Load Balancing</fullname>
|
|
@@ -210,6 +210,10 @@ import {
|
|
|
210
210
|
SetSubnetsCommandOutput,
|
|
211
211
|
} from "./commands/SetSubnetsCommand";
|
|
212
212
|
import { ElasticLoadBalancingV2Client } from "./ElasticLoadBalancingV2Client";
|
|
213
|
+
import {
|
|
214
|
+
InvalidTargetException,
|
|
215
|
+
LoadBalancerNotFoundException,
|
|
216
|
+
} from "./models/errors";
|
|
213
217
|
export interface ElasticLoadBalancingV2 {
|
|
214
218
|
addListenerCertificates(
|
|
215
219
|
args: AddListenerCertificatesCommandInput,
|
|
@@ -964,7 +968,7 @@ export interface ElasticLoadBalancingV2 {
|
|
|
964
968
|
WaiterConfiguration<ElasticLoadBalancingV2>,
|
|
965
969
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancingV2>, "client">
|
|
966
970
|
>
|
|
967
|
-
): Promise<WaiterResult
|
|
971
|
+
): Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
968
972
|
waitUntilLoadBalancerExists(
|
|
969
973
|
args: DescribeLoadBalancersCommandInput,
|
|
970
974
|
waiterConfig:
|
|
@@ -973,7 +977,7 @@ export interface ElasticLoadBalancingV2 {
|
|
|
973
977
|
WaiterConfiguration<ElasticLoadBalancingV2>,
|
|
974
978
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancingV2>, "client">
|
|
975
979
|
>
|
|
976
|
-
): Promise<WaiterResult
|
|
980
|
+
): Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
977
981
|
waitUntilLoadBalancersDeleted(
|
|
978
982
|
args: DescribeLoadBalancersCommandInput,
|
|
979
983
|
waiterConfig:
|
|
@@ -982,7 +986,7 @@ export interface ElasticLoadBalancingV2 {
|
|
|
982
986
|
WaiterConfiguration<ElasticLoadBalancingV2>,
|
|
983
987
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancingV2>, "client">
|
|
984
988
|
>
|
|
985
|
-
): Promise<WaiterResult
|
|
989
|
+
): Promise<WaiterResult<LoadBalancerNotFoundException>>;
|
|
986
990
|
waitUntilTargetDeregistered(
|
|
987
991
|
args: DescribeTargetHealthCommandInput,
|
|
988
992
|
waiterConfig:
|
|
@@ -991,7 +995,9 @@ export interface ElasticLoadBalancingV2 {
|
|
|
991
995
|
WaiterConfiguration<ElasticLoadBalancingV2>,
|
|
992
996
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancingV2>, "client">
|
|
993
997
|
>
|
|
994
|
-
): Promise<
|
|
998
|
+
): Promise<
|
|
999
|
+
WaiterResult<DescribeTargetHealthCommandOutput | InvalidTargetException>
|
|
1000
|
+
>;
|
|
995
1001
|
waitUntilTargetInService(
|
|
996
1002
|
args: DescribeTargetHealthCommandInput,
|
|
997
1003
|
waiterConfig:
|
|
@@ -1000,7 +1006,7 @@ export interface ElasticLoadBalancingV2 {
|
|
|
1000
1006
|
WaiterConfiguration<ElasticLoadBalancingV2>,
|
|
1001
1007
|
Exclude<keyof WaiterConfiguration<ElasticLoadBalancingV2>, "client">
|
|
1002
1008
|
>
|
|
1003
|
-
): Promise<WaiterResult
|
|
1009
|
+
): Promise<WaiterResult<DescribeTargetHealthCommandOutput>>;
|
|
1004
1010
|
}
|
|
1005
1011
|
export declare class ElasticLoadBalancingV2
|
|
1006
1012
|
extends ElasticLoadBalancingV2Client
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeLoadBalancersCommandInput,
|
|
4
|
+
DescribeLoadBalancersCommandOutput,
|
|
5
|
+
} from "../commands/DescribeLoadBalancersCommand";
|
|
3
6
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
7
|
+
import { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
4
8
|
export declare const waitForLoadBalancerAvailable: (
|
|
5
9
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
6
10
|
input: DescribeLoadBalancersCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeLoadBalancersCommandOutput | ElasticLoadBalancingV2ServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilLoadBalancerAvailable: (
|
|
9
17
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
10
18
|
input: DescribeLoadBalancersCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeLoadBalancersCommandInput,
|
|
4
|
+
DescribeLoadBalancersCommandOutput,
|
|
5
|
+
} from "../commands/DescribeLoadBalancersCommand";
|
|
3
6
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
7
|
+
import { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
4
8
|
export declare const waitForLoadBalancerExists: (
|
|
5
9
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
6
10
|
input: DescribeLoadBalancersCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeLoadBalancersCommandOutput | ElasticLoadBalancingV2ServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilLoadBalancerExists: (
|
|
9
17
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
10
18
|
input: DescribeLoadBalancersCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeLoadBalancersCommandInput,
|
|
4
|
+
DescribeLoadBalancersCommandOutput,
|
|
5
|
+
} from "../commands/DescribeLoadBalancersCommand";
|
|
3
6
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
7
|
+
import { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
8
|
+
import { LoadBalancerNotFoundException } from "../models/errors";
|
|
4
9
|
export declare const waitForLoadBalancersDeleted: (
|
|
5
10
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
6
11
|
input: DescribeLoadBalancersCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<
|
|
14
|
+
DescribeLoadBalancersCommandOutput | ElasticLoadBalancingV2ServiceException
|
|
15
|
+
>
|
|
16
|
+
>;
|
|
8
17
|
export declare const waitUntilLoadBalancersDeleted: (
|
|
9
18
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
10
19
|
input: DescribeLoadBalancersCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
20
|
+
) => Promise<WaiterResult<LoadBalancerNotFoundException>>;
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeTargetHealthCommandInput,
|
|
4
|
+
DescribeTargetHealthCommandOutput,
|
|
5
|
+
} from "../commands/DescribeTargetHealthCommand";
|
|
3
6
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
7
|
+
import { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
8
|
+
import { InvalidTargetException } from "../models/errors";
|
|
4
9
|
export declare const waitForTargetDeregistered: (
|
|
5
10
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
6
11
|
input: DescribeTargetHealthCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<
|
|
14
|
+
DescribeTargetHealthCommandOutput | ElasticLoadBalancingV2ServiceException
|
|
15
|
+
>
|
|
16
|
+
>;
|
|
8
17
|
export declare const waitUntilTargetDeregistered: (
|
|
9
18
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
10
19
|
input: DescribeTargetHealthCommandInput
|
|
11
|
-
) => Promise<
|
|
20
|
+
) => Promise<
|
|
21
|
+
WaiterResult<DescribeTargetHealthCommandOutput | InvalidTargetException>
|
|
22
|
+
>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeTargetHealthCommandInput,
|
|
4
|
+
DescribeTargetHealthCommandOutput,
|
|
5
|
+
} from "../commands/DescribeTargetHealthCommand";
|
|
3
6
|
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
7
|
+
import { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
4
8
|
export declare const waitForTargetInService: (
|
|
5
9
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
6
10
|
input: DescribeTargetHealthCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeTargetHealthCommandOutput | ElasticLoadBalancingV2ServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilTargetInService: (
|
|
9
17
|
params: WaiterConfiguration<ElasticLoadBalancingV2Client>,
|
|
10
18
|
input: DescribeTargetHealthCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeTargetHealthCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeLoadBalancersCommandInput } from "../commands/DescribeLoadBalancersCommand";
|
|
2
|
+
import { type DescribeLoadBalancersCommandInput, type DescribeLoadBalancersCommandOutput } from "../commands/DescribeLoadBalancersCommand";
|
|
3
3
|
import type { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import type { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilLoadBalancerAvailable instead. waitForLoadBalancerAvailable does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForLoadBalancerAvailable: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForLoadBalancerAvailable: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput | ElasticLoadBalancingV2ServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeLoadBalancersCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilLoadBalancerAvailable: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilLoadBalancerAvailable: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeLoadBalancersCommandInput } from "../commands/DescribeLoadBalancersCommand";
|
|
2
|
+
import { type DescribeLoadBalancersCommandInput, type DescribeLoadBalancersCommandOutput } from "../commands/DescribeLoadBalancersCommand";
|
|
3
3
|
import type { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import type { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilLoadBalancerExists instead. waitForLoadBalancerExists does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForLoadBalancerExists: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForLoadBalancerExists: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput | ElasticLoadBalancingV2ServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeLoadBalancersCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilLoadBalancerExists: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilLoadBalancerExists: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeLoadBalancersCommandInput } from "../commands/DescribeLoadBalancersCommand";
|
|
2
|
+
import { type DescribeLoadBalancersCommandInput, type DescribeLoadBalancersCommandOutput } from "../commands/DescribeLoadBalancersCommand";
|
|
3
3
|
import type { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import type { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
5
|
+
import type { LoadBalancerNotFoundException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
*
|
|
6
8
|
* @deprecated Use waitUntilLoadBalancersDeleted instead. waitForLoadBalancersDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForLoadBalancersDeleted: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForLoadBalancersDeleted: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult<DescribeLoadBalancersCommandOutput | ElasticLoadBalancingV2ServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
*
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeLoadBalancersCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilLoadBalancersDeleted: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilLoadBalancersDeleted: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeLoadBalancersCommandInput) => Promise<WaiterResult<LoadBalancerNotFoundException>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeTargetHealthCommandInput } from "../commands/DescribeTargetHealthCommand";
|
|
2
|
+
import { type DescribeTargetHealthCommandInput, type DescribeTargetHealthCommandOutput } from "../commands/DescribeTargetHealthCommand";
|
|
3
3
|
import type { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import type { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
5
|
+
import type { InvalidTargetException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
*
|
|
6
8
|
* @deprecated Use waitUntilTargetDeregistered instead. waitForTargetDeregistered does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForTargetDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForTargetDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult<DescribeTargetHealthCommandOutput | ElasticLoadBalancingV2ServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
*
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeTargetHealthCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilTargetDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilTargetDeregistered: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult<DescribeTargetHealthCommandOutput | InvalidTargetException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeTargetHealthCommandInput } from "../commands/DescribeTargetHealthCommand";
|
|
2
|
+
import { type DescribeTargetHealthCommandInput, type DescribeTargetHealthCommandOutput } from "../commands/DescribeTargetHealthCommand";
|
|
3
3
|
import type { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
|
|
4
|
+
import type { ElasticLoadBalancingV2ServiceException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilTargetInService instead. waitForTargetInService does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForTargetInService: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForTargetInService: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult<DescribeTargetHealthCommandOutput | ElasticLoadBalancingV2ServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeTargetHealthCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilTargetInService: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilTargetInService: (params: WaiterConfiguration<ElasticLoadBalancingV2Client>, input: DescribeTargetHealthCommandInput) => Promise<WaiterResult<DescribeTargetHealthCommandOutput>>;
|
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.1039.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-v2",
|
|
@@ -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.7",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.38",
|
|
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.37",
|
|
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.23",
|
|
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.7",
|
|
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.6",
|
|
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": {
|