@aws-sdk/client-elastic-load-balancing-v2 3.503.1 → 3.504.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1195,6 +1195,7 @@ var TargetHealthStateEnum = {
1195
1195
  INITIAL: "initial",
1196
1196
  UNAVAILABLE: "unavailable",
1197
1197
  UNHEALTHY: "unhealthy",
1198
+ UNHEALTHY_DRAINING: "unhealthy.draining",
1198
1199
  UNUSED: "unused"
1199
1200
  };
1200
1201
  var _HealthUnavailableException = class _HealthUnavailableException extends ElasticLoadBalancingV2ServiceException {
@@ -695,6 +695,7 @@ export const TargetHealthStateEnum = {
695
695
  INITIAL: "initial",
696
696
  UNAVAILABLE: "unavailable",
697
697
  UNHEALTHY: "unhealthy",
698
+ UNHEALTHY_DRAINING: "unhealthy.draining",
698
699
  UNUSED: "unused",
699
700
  };
700
701
  export class HealthUnavailableException extends __BaseException {
@@ -58,7 +58,7 @@ declare const DescribeTargetHealthCommand_base: {
58
58
  * // },
59
59
  * // HealthCheckPort: "STRING_VALUE",
60
60
  * // TargetHealth: { // TargetHealth
61
- * // State: "initial" || "healthy" || "unhealthy" || "unused" || "draining" || "unavailable",
61
+ * // State: "initial" || "healthy" || "unhealthy" || "unhealthy.draining" || "unused" || "draining" || "unavailable",
62
62
  * // Reason: "Elb.RegistrationInProgress" || "Elb.InitialHealthChecking" || "Target.ResponseCodeMismatch" || "Target.Timeout" || "Target.FailedHealthChecks" || "Target.NotRegistered" || "Target.NotInUse" || "Target.DeregistrationInProgress" || "Target.InvalidState" || "Target.IpUnusable" || "Target.HealthCheckDisabled" || "Elb.InternalError",
63
63
  * // Description: "STRING_VALUE",
64
64
  * // },
@@ -1342,7 +1342,7 @@ export interface CreateLoadBalancerInput {
1342
1342
  Name: string | undefined;
1343
1343
  /**
1344
1344
  * @public
1345
- * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1345
+ * <p>The IDs of the subnets. You can specify only one subnet per Availability Zone. You
1346
1346
  * must specify either subnets or subnet mappings, but not both. To specify an Elastic IP
1347
1347
  * address, specify subnet mappings instead of subnets.</p>
1348
1348
  * <p>[Application Load Balancers] You must specify subnets from at least two Availability
@@ -1358,7 +1358,7 @@ export interface CreateLoadBalancerInput {
1358
1358
  Subnets?: string[];
1359
1359
  /**
1360
1360
  * @public
1361
- * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1361
+ * <p>The IDs of the subnets. You can specify only one subnet per Availability Zone. You
1362
1362
  * must specify either subnets or subnet mappings, but not both.</p>
1363
1363
  * <p>[Application Load Balancers] You must specify subnets from at least two Availability
1364
1364
  * Zones. You cannot specify Elastic IP addresses for your subnets.</p>
@@ -1785,6 +1785,7 @@ export interface SourceIpConditionConfig {
1785
1785
  * the request matches one of the CIDR blocks. This condition is not satisfied by the addresses
1786
1786
  * in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use
1787
1787
  * <a>HttpHeaderConditionConfig</a>.</p>
1788
+ * <p>The total number of values must be less than, or equal to five.</p>
1788
1789
  */
1789
1790
  Values?: string[];
1790
1791
  }
@@ -3437,6 +3438,15 @@ export interface TargetGroupAttribute {
3437
3438
  * the load balancer terminates connections to unhealthy targets. The value is <code>true</code>
3438
3439
  * or <code>false</code>. The default is <code>true</code>.</p>
3439
3440
  * </li>
3441
+ * <li>
3442
+ * <p>
3443
+ * <code>target_health_state.unhealthy.draining_interval_seconds</code> - The amount of time
3444
+ * for Elastic Load Balancing to wait before changing the state of an unhealthy target from
3445
+ * <code>unhealthy.draining</code> to <code>unhealthy</code>. The range is 0-360000 seconds.
3446
+ * The default value is 0 seconds.</p>
3447
+ * <p>Note: This attribute can only be configured when
3448
+ * <code>target_health_state.unhealthy.connection_termination.enabled</code> is <code>false</code>.</p>
3449
+ * </li>
3440
3450
  * </ul>
3441
3451
  * <p>The following attributes are supported only by Gateway Load Balancers:</p>
3442
3452
  * <ul>
@@ -3590,6 +3600,7 @@ export declare const TargetHealthStateEnum: {
3590
3600
  readonly INITIAL: "initial";
3591
3601
  readonly UNAVAILABLE: "unavailable";
3592
3602
  readonly UNHEALTHY: "unhealthy";
3603
+ readonly UNHEALTHY_DRAINING: "unhealthy.draining";
3593
3604
  readonly UNUSED: "unused";
3594
3605
  };
3595
3606
  /**
@@ -987,6 +987,7 @@ export declare const TargetHealthStateEnum: {
987
987
  readonly INITIAL: "initial";
988
988
  readonly UNAVAILABLE: "unavailable";
989
989
  readonly UNHEALTHY: "unhealthy";
990
+ readonly UNHEALTHY_DRAINING: "unhealthy.draining";
990
991
  readonly UNUSED: "unused";
991
992
  };
992
993
  export type TargetHealthStateEnum =
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.503.1",
4
+ "version": "3.504.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-elastic-load-balancing-v2",
@@ -20,9 +20,9 @@
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.502.0",
23
+ "@aws-sdk/client-sts": "3.504.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.503.1",
25
+ "@aws-sdk/credential-provider-node": "3.504.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",