@aws-sdk/client-elastic-load-balancing-v2 3.398.0 → 3.407.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -25,6 +25,30 @@ export interface DeregisterTargetsCommandOutput extends DeregisterTargetsOutput,
25
25
  * @public
26
26
  * <p>Deregisters the specified targets from the specified target group. After the targets are
27
27
  * deregistered, they no longer receive traffic from the load balancer.</p>
28
+ * <p>The load balancer stops sending requests to targets that are deregistering, but uses
29
+ * connection draining to ensure that in-flight traffic completes on the existing connections.
30
+ * This deregistration delay is configured by default but can be updated for each target group.</p>
31
+ * <p>For more information, see the following:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>
35
+ * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#deregistration-delay">
36
+ * Deregistration delay</a> in the <i>Application Load Balancers User Guide</i>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay">
42
+ * Deregistration delay</a> in the <i>Network Load Balancers User Guide</i>
43
+ * </p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#deregistration-delay">
48
+ * Deregistration delay</a> in the <i>Gateway Load Balancers User Guide</i>
49
+ * </p>
50
+ * </li>
51
+ * </ul>
28
52
  * <p>Note: If the specified target does not exist, the action returns successfully.</p>
29
53
  * @example
30
54
  * Use a bare-bones client and the command you need to make an API call.
@@ -1558,7 +1558,7 @@ export interface SourceIpConditionConfig {
1558
1558
  * following conditions: <code>http-header</code> and <code>query-string</code>. Note that the
1559
1559
  * value for a condition cannot be empty.</p>
1560
1560
  * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
1561
- * Application Load Balancers</a>.</p>
1561
+ * Application Load Balancers</a>.</p>
1562
1562
  */
1563
1563
  export interface RuleCondition {
1564
1564
  /**
@@ -2299,19 +2299,19 @@ export interface DescribeAccountLimitsInput {
2299
2299
  * <li>
2300
2300
  * <p>
2301
2301
  * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
2302
- * Application Load Balancers</a>
2302
+ * Application Load Balancers</a>
2303
2303
  * </p>
2304
2304
  * </li>
2305
2305
  * <li>
2306
2306
  * <p>
2307
2307
  * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html">Quotas for your
2308
- * Network Load Balancers</a>
2308
+ * Network Load Balancers</a>
2309
2309
  * </p>
2310
2310
  * </li>
2311
2311
  * <li>
2312
2312
  * <p>
2313
2313
  * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html">Quotas for your Gateway
2314
- * Load Balancers</a>
2314
+ * Load Balancers</a>
2315
2315
  * </p>
2316
2316
  * </li>
2317
2317
  * </ul>
@@ -2990,8 +2990,8 @@ export interface TargetGroupAttribute {
2990
2990
  * <p>
2991
2991
  * <code>deregistration_delay.connection_termination.enabled</code> - Indicates whether
2992
2992
  * the load balancer terminates connections at the end of the deregistration timeout. The
2993
- * value is <code>true</code> or <code>false</code>. The default is
2994
- * <code>false</code>.</p>
2993
+ * value is <code>true</code> or <code>false</code>. For new UDP/TCP_UDP target groups the
2994
+ * default is <code>true</code>. Otherwise, the default is <code>false</code>.</p>
2995
2995
  * </li>
2996
2996
  * <li>
2997
2997
  * <p>
@@ -3007,6 +3007,12 @@ export interface TargetGroupAttribute {
3007
3007
  * enabled. The value is <code>true</code> or <code>false</code>. The default is
3008
3008
  * <code>false</code>. </p>
3009
3009
  * </li>
3010
+ * <li>
3011
+ * <p>
3012
+ * <code>target_health_state.unhealthy.connection_termination.enabled</code> - Indicates whether
3013
+ * the load balancer terminates connections to unhealthy targets. The value is <code>true</code>
3014
+ * or <code>false</code>. The default is <code>true</code>.</p>
3015
+ * </li>
3010
3016
  * </ul>
3011
3017
  * <p>The following attributes are supported only by Gateway Load Balancers:</p>
3012
3018
  * <ul>
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.398.0",
4
+ "version": "3.407.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",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.398.0",
25
- "@aws-sdk/credential-provider-node": "3.398.0",
24
+ "@aws-sdk/client-sts": "3.405.0",
25
+ "@aws-sdk/credential-provider-node": "3.405.0",
26
26
  "@aws-sdk/middleware-host-header": "3.398.0",
27
27
  "@aws-sdk/middleware-logger": "3.398.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.398.0",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/types": "3.398.0",
32
32
  "@aws-sdk/util-endpoints": "3.398.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.398.0",
34
- "@aws-sdk/util-user-agent-node": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.405.0",
35
35
  "@smithy/config-resolver": "^2.0.5",
36
36
  "@smithy/fetch-http-handler": "^2.0.5",
37
37
  "@smithy/hash-node": "^2.0.5",
@@ -41,7 +41,7 @@
41
41
  "@smithy/middleware-retry": "^2.0.5",
42
42
  "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.6",
45
45
  "@smithy/node-http-handler": "^2.0.5",
46
46
  "@smithy/protocol-http": "^2.0.5",
47
47
  "@smithy/smithy-client": "^2.0.5",
@@ -50,8 +50,8 @@
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.5",
54
- "@smithy/util-defaults-mode-node": "^2.0.5",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.6",
54
+ "@smithy/util-defaults-mode-node": "^2.0.6",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "@smithy/util-waiter": "^2.0.5",