@aws-sdk/client-elastic-load-balancing-v2 3.262.0 → 3.266.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/README.md +0 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/ElasticLoadBalancingV2.d.ts +0 -26
- package/dist-types/ElasticLoadBalancingV2Client.d.ts +0 -10
- package/dist-types/commands/AddListenerCertificatesCommand.d.ts +0 -1
- package/dist-types/commands/CreateListenerCommand.d.ts +0 -3
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +0 -4
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +0 -4
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +0 -1
- package/dist-types/commands/RegisterTargetsCommand.d.ts +0 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -22
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -19,7 +19,6 @@ or more listeners, which are configured with a protocol and port number for conn
|
|
|
19
19
|
clients to the load balancer. You configure a target group with a protocol and port number for
|
|
20
20
|
connections from the load balancer to the targets, and with health check settings to be used
|
|
21
21
|
when checking the health status of the targets.</p>
|
|
22
|
-
|
|
23
22
|
<p>Elastic Load Balancing supports the following types of load balancers: Application Load
|
|
24
23
|
Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This
|
|
25
24
|
reference covers the following load balancer types:</p>
|
|
@@ -36,10 +35,8 @@ TLS, and UDP.</p>
|
|
|
36
35
|
<p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
37
36
|
</li>
|
|
38
37
|
</ul>
|
|
39
|
-
|
|
40
38
|
<p>For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User
|
|
41
39
|
Guide</a>.</p>
|
|
42
|
-
|
|
43
40
|
<p>All Elastic Load Balancing operations are idempotent, which means that they complete at
|
|
44
41
|
most one time. If you repeat an operation, it succeeds.</p>
|
|
45
42
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const s = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "fn", t = "argv", u = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const s = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "fn", t = "argv", u = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -36,7 +36,6 @@ import { SetSubnetsCommandInput, SetSubnetsCommandOutput } from "./commands/SetS
|
|
|
36
36
|
import { ElasticLoadBalancingV2Client } from "./ElasticLoadBalancingV2Client";
|
|
37
37
|
/**
|
|
38
38
|
* <fullname>Elastic Load Balancing</fullname>
|
|
39
|
-
*
|
|
40
39
|
* <p>A load balancer distributes incoming traffic across targets, such as your EC2 instances.
|
|
41
40
|
* This enables you to increase the availability of your application. The load balancer also
|
|
42
41
|
* monitors the health of its registered targets and ensures that it routes traffic only to
|
|
@@ -45,7 +44,6 @@ import { ElasticLoadBalancingV2Client } from "./ElasticLoadBalancingV2Client";
|
|
|
45
44
|
* clients to the load balancer. You configure a target group with a protocol and port number for
|
|
46
45
|
* connections from the load balancer to the targets, and with health check settings to be used
|
|
47
46
|
* when checking the health status of the targets.</p>
|
|
48
|
-
*
|
|
49
47
|
* <p>Elastic Load Balancing supports the following types of load balancers: Application Load
|
|
50
48
|
* Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This
|
|
51
49
|
* reference covers the following load balancer types:</p>
|
|
@@ -62,16 +60,8 @@ import { ElasticLoadBalancingV2Client } from "./ElasticLoadBalancingV2Client";
|
|
|
62
60
|
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
63
61
|
* </li>
|
|
64
62
|
* </ul>
|
|
65
|
-
*
|
|
66
63
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User
|
|
67
64
|
* Guide</a>.</p>
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
65
|
* <p>All Elastic Load Balancing operations are idempotent, which means that they complete at
|
|
76
66
|
* most one time. If you repeat an operation, it succeeds.</p>
|
|
77
67
|
*/
|
|
@@ -81,7 +71,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
81
71
|
* or TLS listener.</p>
|
|
82
72
|
* <p>If the certificate in already in the certificate list, the call is successful but the
|
|
83
73
|
* certificate is not added again.</p>
|
|
84
|
-
*
|
|
85
74
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html">HTTPS
|
|
86
75
|
* listeners</a> in the <i>Application Load Balancers Guide</i> or <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html">TLS
|
|
87
76
|
* listeners</a> in the <i>Network Load Balancers Guide</i>.</p>
|
|
@@ -102,8 +91,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
102
91
|
/**
|
|
103
92
|
* <p>Creates a listener for the specified Application Load Balancer, Network Load Balancer, or
|
|
104
93
|
* Gateway Load Balancer.</p>
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
94
|
* <p>For more information, see the following:</p>
|
|
108
95
|
* <ul>
|
|
109
96
|
* <li>
|
|
@@ -125,7 +112,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
125
112
|
* </p>
|
|
126
113
|
* </li>
|
|
127
114
|
* </ul>
|
|
128
|
-
*
|
|
129
115
|
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
130
116
|
* attempt to create multiple listeners with the same settings, each call succeeds.</p>
|
|
131
117
|
*/
|
|
@@ -135,9 +121,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
135
121
|
/**
|
|
136
122
|
* <p>Creates an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
137
123
|
* Balancer.</p>
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
124
|
* <p>For more information, see the following:</p>
|
|
142
125
|
* <ul>
|
|
143
126
|
* <li>
|
|
@@ -158,7 +141,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
158
141
|
* </p>
|
|
159
142
|
* </li>
|
|
160
143
|
* </ul>
|
|
161
|
-
*
|
|
162
144
|
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
163
145
|
* attempt to create multiple load balancers with the same settings, each call succeeds.</p>
|
|
164
146
|
*/
|
|
@@ -178,9 +160,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
178
160
|
createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
179
161
|
/**
|
|
180
162
|
* <p>Creates a target group.</p>
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
163
|
* <p>For more information, see the following:</p>
|
|
185
164
|
* <ul>
|
|
186
165
|
* <li>
|
|
@@ -202,7 +181,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
202
181
|
* </p>
|
|
203
182
|
* </li>
|
|
204
183
|
* </ul>
|
|
205
|
-
*
|
|
206
184
|
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
207
185
|
* attempt to create multiple target groups with the same settings, each call succeeds.</p>
|
|
208
186
|
*/
|
|
@@ -305,7 +283,6 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
305
283
|
/**
|
|
306
284
|
* <p>Describes the attributes for the specified Application Load Balancer, Network Load
|
|
307
285
|
* Balancer, or Gateway Load Balancer.</p>
|
|
308
|
-
*
|
|
309
286
|
* <p>For more information, see the following:</p>
|
|
310
287
|
* <ul>
|
|
311
288
|
* <li>
|
|
@@ -449,15 +426,12 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
|
|
|
449
426
|
modifyTargetGroupAttributes(args: ModifyTargetGroupAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyTargetGroupAttributesCommandOutput) => void): void;
|
|
450
427
|
/**
|
|
451
428
|
* <p>Registers the specified targets with the specified target group.</p>
|
|
452
|
-
*
|
|
453
429
|
* <p>If the target is an EC2 instance, it must be in the <code>running</code> state when you
|
|
454
430
|
* register it.</p>
|
|
455
|
-
*
|
|
456
431
|
* <p>By default, the load balancer routes requests to registered targets using the protocol and
|
|
457
432
|
* port for the target group. Alternatively, you can override the port for a target when you
|
|
458
433
|
* register it. You can register each EC2 instance or IP address with the same target group
|
|
459
434
|
* multiple times using different ports.</p>
|
|
460
|
-
*
|
|
461
435
|
* <p>With a Network Load Balancer, you cannot register instances by instance ID if they have
|
|
462
436
|
* the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,
|
|
463
437
|
* and T1. You can register instances of these types by IP address.</p>
|
|
@@ -158,7 +158,6 @@ export interface ElasticLoadBalancingV2ClientResolvedConfig extends ElasticLoadB
|
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* <fullname>Elastic Load Balancing</fullname>
|
|
161
|
-
*
|
|
162
161
|
* <p>A load balancer distributes incoming traffic across targets, such as your EC2 instances.
|
|
163
162
|
* This enables you to increase the availability of your application. The load balancer also
|
|
164
163
|
* monitors the health of its registered targets and ensures that it routes traffic only to
|
|
@@ -167,7 +166,6 @@ export interface ElasticLoadBalancingV2ClientResolvedConfig extends ElasticLoadB
|
|
|
167
166
|
* clients to the load balancer. You configure a target group with a protocol and port number for
|
|
168
167
|
* connections from the load balancer to the targets, and with health check settings to be used
|
|
169
168
|
* when checking the health status of the targets.</p>
|
|
170
|
-
*
|
|
171
169
|
* <p>Elastic Load Balancing supports the following types of load balancers: Application Load
|
|
172
170
|
* Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This
|
|
173
171
|
* reference covers the following load balancer types:</p>
|
|
@@ -184,16 +182,8 @@ export interface ElasticLoadBalancingV2ClientResolvedConfig extends ElasticLoadB
|
|
|
184
182
|
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
185
183
|
* </li>
|
|
186
184
|
* </ul>
|
|
187
|
-
*
|
|
188
185
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User
|
|
189
186
|
* Guide</a>.</p>
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
187
|
* <p>All Elastic Load Balancing operations are idempotent, which means that they complete at
|
|
198
188
|
* most one time. If you repeat an operation, it succeeds.</p>
|
|
199
189
|
*/
|
|
@@ -12,7 +12,6 @@ export interface AddListenerCertificatesCommandOutput extends AddListenerCertifi
|
|
|
12
12
|
* or TLS listener.</p>
|
|
13
13
|
* <p>If the certificate in already in the certificate list, the call is successful but the
|
|
14
14
|
* certificate is not added again.</p>
|
|
15
|
-
*
|
|
16
15
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html">HTTPS
|
|
17
16
|
* listeners</a> in the <i>Application Load Balancers Guide</i> or <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html">TLS
|
|
18
17
|
* listeners</a> in the <i>Network Load Balancers Guide</i>.</p>
|
|
@@ -10,8 +10,6 @@ export interface CreateListenerCommandOutput extends CreateListenerOutput, __Met
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a listener for the specified Application Load Balancer, Network Load Balancer, or
|
|
12
12
|
* Gateway Load Balancer.</p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
13
|
* <p>For more information, see the following:</p>
|
|
16
14
|
* <ul>
|
|
17
15
|
* <li>
|
|
@@ -33,7 +31,6 @@ export interface CreateListenerCommandOutput extends CreateListenerOutput, __Met
|
|
|
33
31
|
* </p>
|
|
34
32
|
* </li>
|
|
35
33
|
* </ul>
|
|
36
|
-
*
|
|
37
34
|
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
38
35
|
* attempt to create multiple listeners with the same settings, each call succeeds.</p>
|
|
39
36
|
* @example
|
|
@@ -10,9 +10,6 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
12
12
|
* Balancer.</p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
13
|
* <p>For more information, see the following:</p>
|
|
17
14
|
* <ul>
|
|
18
15
|
* <li>
|
|
@@ -33,7 +30,6 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
|
|
|
33
30
|
* </p>
|
|
34
31
|
* </li>
|
|
35
32
|
* </ul>
|
|
36
|
-
*
|
|
37
33
|
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
38
34
|
* attempt to create multiple load balancers with the same settings, each call succeeds.</p>
|
|
39
35
|
* @example
|
|
@@ -9,9 +9,6 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupOutput,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a target group.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
12
|
* <p>For more information, see the following:</p>
|
|
16
13
|
* <ul>
|
|
17
14
|
* <li>
|
|
@@ -33,7 +30,6 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupOutput,
|
|
|
33
30
|
* </p>
|
|
34
31
|
* </li>
|
|
35
32
|
* </ul>
|
|
36
|
-
*
|
|
37
33
|
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
38
34
|
* attempt to create multiple target groups with the same settings, each call succeeds.</p>
|
|
39
35
|
* @example
|
|
@@ -10,7 +10,6 @@ export interface DescribeLoadBalancerAttributesCommandOutput extends DescribeLoa
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the attributes for the specified Application Load Balancer, Network Load
|
|
12
12
|
* Balancer, or Gateway Load Balancer.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>For more information, see the following:</p>
|
|
15
14
|
* <ul>
|
|
16
15
|
* <li>
|
|
@@ -9,15 +9,12 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsOutput, __M
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Registers the specified targets with the specified target group.</p>
|
|
12
|
-
*
|
|
13
12
|
* <p>If the target is an EC2 instance, it must be in the <code>running</code> state when you
|
|
14
13
|
* register it.</p>
|
|
15
|
-
*
|
|
16
14
|
* <p>By default, the load balancer routes requests to registered targets using the protocol and
|
|
17
15
|
* port for the target group. Alternatively, you can override the port for a target when you
|
|
18
16
|
* register it. You can register each EC2 instance or IP address with the same target group
|
|
19
17
|
* multiple times using different ports.</p>
|
|
20
|
-
*
|
|
21
18
|
* <p>With a Network Load Balancer, you cannot register instances by instance ID if they have
|
|
22
19
|
* the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,
|
|
23
20
|
* and T1. You can register instances of these types by IP address.</p>
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1601,14 +1601,14 @@ export interface CreateTargetGroupInput {
|
|
|
1601
1601
|
/**
|
|
1602
1602
|
* <p>The number of consecutive health check successes required before considering a target healthy. The range is
|
|
1603
1603
|
* 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 5. For target groups
|
|
1604
|
-
* with a protocol of GENEVE, the default is
|
|
1604
|
+
* with a protocol of GENEVE, the default is 5. If the target type
|
|
1605
1605
|
* is <code>lambda</code>, the default is 5.</p>
|
|
1606
1606
|
*/
|
|
1607
1607
|
HealthyThresholdCount?: number;
|
|
1608
1608
|
/**
|
|
1609
1609
|
* <p>The number of consecutive health check failures required before considering a target unhealthy. The range is
|
|
1610
1610
|
* 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 2. For target groups
|
|
1611
|
-
* with a protocol of GENEVE, the default is
|
|
1611
|
+
* with a protocol of GENEVE, the default is 2. If the target type
|
|
1612
1612
|
* is <code>lambda</code>, the default is 5.</p>
|
|
1613
1613
|
*/
|
|
1614
1614
|
UnhealthyThresholdCount?: number;
|
|
@@ -1821,22 +1821,17 @@ export interface TargetDescription {
|
|
|
1821
1821
|
* <p>An Availability Zone or <code>all</code>. This determines whether the target receives
|
|
1822
1822
|
* traffic from the load balancer nodes in the specified Availability Zone or from all enabled
|
|
1823
1823
|
* Availability Zones for the load balancer.</p>
|
|
1824
|
-
*
|
|
1825
1824
|
* <p>For Application Load Balancer target groups, the specified Availability Zone value is only applicable
|
|
1826
1825
|
* when cross-zone load balancing is off. Otherwise the parameter is ignored and treated
|
|
1827
1826
|
* as <code>all</code>.</p>
|
|
1828
|
-
*
|
|
1829
1827
|
* <p>This parameter is not supported if the target type of the target group is
|
|
1830
1828
|
* <code>instance</code> or <code>alb</code>.</p>
|
|
1831
|
-
*
|
|
1832
1829
|
* <p>If the target type is <code>ip</code> and the IP address is in a subnet of the VPC for the target group,
|
|
1833
1830
|
* the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside
|
|
1834
1831
|
* the VPC, this parameter is required.</p>
|
|
1835
|
-
*
|
|
1836
1832
|
* <p>For Application Load Balancer target groups with cross-zone load balancing off, if the target type
|
|
1837
1833
|
* is <code>ip</code> and the IP address is outside of the VPC for the target group, this should be an
|
|
1838
1834
|
* Availability Zone inside the VPC for the target group.</p>
|
|
1839
|
-
*
|
|
1840
1835
|
* <p>If the target type is <code>lambda</code>, this parameter is optional and the only
|
|
1841
1836
|
* supported value is <code>all</code>.</p>
|
|
1842
1837
|
*/
|
|
@@ -2028,7 +2023,6 @@ export interface DescribeLoadBalancerAttributesInput {
|
|
|
2028
2023
|
export interface LoadBalancerAttribute {
|
|
2029
2024
|
/**
|
|
2030
2025
|
* <p>The name of the attribute.</p>
|
|
2031
|
-
*
|
|
2032
2026
|
* <p>The following attributes are supported by all load balancers:</p>
|
|
2033
2027
|
* <ul>
|
|
2034
2028
|
* <li>
|
|
@@ -2045,7 +2039,6 @@ export interface LoadBalancerAttribute {
|
|
|
2045
2039
|
* The default for Application Load Balancers is <code>true</code>, and cannot be changed.</p>
|
|
2046
2040
|
* </li>
|
|
2047
2041
|
* </ul>
|
|
2048
|
-
*
|
|
2049
2042
|
* <p>The following attributes are supported by both Application Load Balancers and Network Load
|
|
2050
2043
|
* Balancers:</p>
|
|
2051
2044
|
* <ul>
|
|
@@ -2075,7 +2068,6 @@ export interface LoadBalancerAttribute {
|
|
|
2075
2068
|
* internal load balancer through an internet gateway.</p>
|
|
2076
2069
|
* </li>
|
|
2077
2070
|
* </ul>
|
|
2078
|
-
*
|
|
2079
2071
|
* <p>The following attributes are supported by only Application Load Balancers:</p>
|
|
2080
2072
|
* <ul>
|
|
2081
2073
|
* <li>
|
|
@@ -2325,7 +2317,6 @@ export interface DescribeTargetGroupAttributesInput {
|
|
|
2325
2317
|
export interface TargetGroupAttribute {
|
|
2326
2318
|
/**
|
|
2327
2319
|
* <p>The name of the attribute.</p>
|
|
2328
|
-
*
|
|
2329
2320
|
* <p>The following attributes are supported by all load balancers:</p>
|
|
2330
2321
|
* <ul>
|
|
2331
2322
|
* <li>
|
|
@@ -2361,7 +2352,6 @@ export interface TargetGroupAttribute {
|
|
|
2361
2352
|
* </ul>
|
|
2362
2353
|
* </li>
|
|
2363
2354
|
* </ul>
|
|
2364
|
-
*
|
|
2365
2355
|
* <p>The following attributes are supported by Application Load Balancers and
|
|
2366
2356
|
* Network Load Balancers:</p>
|
|
2367
2357
|
* <ul>
|
|
@@ -2405,7 +2395,6 @@ export interface TargetGroupAttribute {
|
|
|
2405
2395
|
* The default is <code>off</code>.</p>
|
|
2406
2396
|
* </li>
|
|
2407
2397
|
* </ul>
|
|
2408
|
-
*
|
|
2409
2398
|
* <p>The following attributes are supported only if the load balancer is an Application Load
|
|
2410
2399
|
* Balancer and the target is an instance or an IP address:</p>
|
|
2411
2400
|
* <ul>
|
|
@@ -2445,7 +2434,6 @@ export interface TargetGroupAttribute {
|
|
|
2445
2434
|
* second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). </p>
|
|
2446
2435
|
* </li>
|
|
2447
2436
|
* </ul>
|
|
2448
|
-
*
|
|
2449
2437
|
* <p>The following attribute is supported only if the load balancer is an Application Load
|
|
2450
2438
|
* Balancer and the target is a Lambda function:</p>
|
|
2451
2439
|
* <ul>
|
|
@@ -2459,7 +2447,6 @@ export interface TargetGroupAttribute {
|
|
|
2459
2447
|
* last value sent by the client.</p>
|
|
2460
2448
|
* </li>
|
|
2461
2449
|
* </ul>
|
|
2462
|
-
*
|
|
2463
2450
|
* <p>The following attributes are supported only by Network Load Balancers:</p>
|
|
2464
2451
|
* <ul>
|
|
2465
2452
|
* <li>
|
|
@@ -2484,7 +2471,6 @@ export interface TargetGroupAttribute {
|
|
|
2484
2471
|
* <code>false</code>. </p>
|
|
2485
2472
|
* </li>
|
|
2486
2473
|
* </ul>
|
|
2487
|
-
*
|
|
2488
2474
|
* <p>The following attributes are supported only by Gateway Load Balancers:</p>
|
|
2489
2475
|
* <ul>
|
|
2490
2476
|
* <li>
|
|
@@ -2597,9 +2583,7 @@ export interface TargetHealth {
|
|
|
2597
2583
|
State?: TargetHealthStateEnum | string;
|
|
2598
2584
|
/**
|
|
2599
2585
|
* <p>The reason code.</p>
|
|
2600
|
-
*
|
|
2601
2586
|
* <p>If the target state is <code>healthy</code>, a reason code is not provided.</p>
|
|
2602
|
-
*
|
|
2603
2587
|
* <p>If the target state is <code>initial</code>, the reason code can be one of the following
|
|
2604
2588
|
* values:</p>
|
|
2605
2589
|
* <ul>
|
|
@@ -2614,7 +2598,6 @@ export interface TargetHealth {
|
|
|
2614
2598
|
* minimum number of health checks required to determine its health status.</p>
|
|
2615
2599
|
* </li>
|
|
2616
2600
|
* </ul>
|
|
2617
|
-
*
|
|
2618
2601
|
* <p>If the target state is <code>unhealthy</code>, the reason code can be one of the following
|
|
2619
2602
|
* values:</p>
|
|
2620
2603
|
* <ul>
|
|
@@ -2640,7 +2623,6 @@ export interface TargetHealth {
|
|
|
2640
2623
|
* Applies only to Application Load Balancers.</p>
|
|
2641
2624
|
* </li>
|
|
2642
2625
|
* </ul>
|
|
2643
|
-
*
|
|
2644
2626
|
* <p>If the target state is <code>unused</code>, the reason code can be one of the following
|
|
2645
2627
|
* values:</p>
|
|
2646
2628
|
* <ul>
|
|
@@ -2665,7 +2647,6 @@ export interface TargetHealth {
|
|
|
2665
2647
|
* balancer.</p>
|
|
2666
2648
|
* </li>
|
|
2667
2649
|
* </ul>
|
|
2668
|
-
*
|
|
2669
2650
|
* <p>If the target state is <code>draining</code>, the reason code can be the following
|
|
2670
2651
|
* value:</p>
|
|
2671
2652
|
* <ul>
|
|
@@ -2675,7 +2656,6 @@ export interface TargetHealth {
|
|
|
2675
2656
|
* deregistered and the deregistration delay period has not expired.</p>
|
|
2676
2657
|
* </li>
|
|
2677
2658
|
* </ul>
|
|
2678
|
-
*
|
|
2679
2659
|
* <p>If the target state is <code>unavailable</code>, the reason code can be the following
|
|
2680
2660
|
* value:</p>
|
|
2681
2661
|
* <ul>
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
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.266.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,39 +20,39 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.266.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.266.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.266.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.266.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.266.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.266.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.266.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.266.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.266.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.266.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.266.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.266.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.266.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.266.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.266.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.266.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.266.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.266.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.266.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.266.0",
|
|
43
|
+
"@aws-sdk/types": "3.266.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.266.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.266.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.266.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.266.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.266.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.266.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.266.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.266.0",
|
|
56
56
|
"fast-xml-parser": "4.0.11",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|