@aws-sdk/client-elastic-load-balancing-v2 3.118.0 → 3.121.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.
@@ -437,6 +437,8 @@ export declare class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client
437
437
  /**
438
438
  * <p>Modifies the health checks used when evaluating the health state of the targets in the
439
439
  * specified target group.</p>
440
+ * <p>If the protocol of the target group is TCP, TLS, UDP, or TCP_UDP, you can't modify the
441
+ * health check protocol, interval, timeout, or success codes.</p>
440
442
  */
441
443
  modifyTargetGroup(args: ModifyTargetGroupCommandInput, options?: __HttpHandlerOptions): Promise<ModifyTargetGroupCommandOutput>;
442
444
  modifyTargetGroup(args: ModifyTargetGroupCommandInput, cb: (err: any, data?: ModifyTargetGroupCommandOutput) => void): void;
@@ -9,6 +9,8 @@ export interface ModifyTargetGroupCommandOutput extends ModifyTargetGroupOutput,
9
9
  /**
10
10
  * <p>Modifies the health checks used when evaluating the health state of the targets in the
11
11
  * specified target group.</p>
12
+ * <p>If the protocol of the target group is TCP, TLS, UDP, or TCP_UDP, you can't modify the
13
+ * health check protocol, interval, timeout, or success codes.</p>
12
14
  * @example
13
15
  * Use a bare-bones client and the command you need to make an API call.
14
16
  * ```javascript
@@ -1014,7 +1014,8 @@ export interface CreateLoadBalancerInput {
1014
1014
  Name: string | undefined;
1015
1015
  /**
1016
1016
  * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1017
- * must specify either subnets or subnet mappings.</p>
1017
+ * must specify either subnets or subnet mappings, but not both. To specify an Elastic IP
1018
+ * address, specify subnet mappings instead of subnets.</p>
1018
1019
  * <p>[Application Load Balancers] You must specify subnets from at least two Availability
1019
1020
  * Zones.</p>
1020
1021
  * <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
@@ -1028,7 +1029,7 @@ export interface CreateLoadBalancerInput {
1028
1029
  Subnets?: string[];
1029
1030
  /**
1030
1031
  * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1031
- * must specify either subnets or subnet mappings.</p>
1032
+ * must specify either subnets or subnet mappings, but not both.</p>
1032
1033
  * <p>[Application Load Balancers] You must specify subnets from at least two Availability
1033
1034
  * Zones. You cannot specify Elastic IP addresses for your subnets.</p>
1034
1035
  * <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
@@ -1462,7 +1463,8 @@ export declare namespace SourceIpConditionConfig {
1462
1463
  * <p>Each rule can optionally include up to one of each of the following conditions:
1463
1464
  * <code>http-request-method</code>, <code>host-header</code>, <code>path-pattern</code>, and
1464
1465
  * <code>source-ip</code>. Each rule can also optionally include one or more of each of the
1465
- * following conditions: <code>http-header</code> and <code>query-string</code>.</p>
1466
+ * following conditions: <code>http-header</code> and <code>query-string</code>. Note that the
1467
+ * value for a condition cannot be empty.</p>
1466
1468
  */
1467
1469
  export interface RuleCondition {
1468
1470
  /**
@@ -1796,10 +1798,11 @@ export interface CreateTargetGroupInput {
1796
1798
  HealthCheckPath?: string;
1797
1799
  /**
1798
1800
  * <p>The approximate amount of time, in seconds, between health checks of an individual target.
1801
+ * If the target group protocol is HTTP or HTTPS, the default is 30 seconds.
1799
1802
  * If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30
1800
- * seconds. If the target group protocol is HTTP or HTTPS, the default is 30 seconds. If the
1801
- * target group protocol is GENEVE, the default is 10 seconds. If the target type is
1802
- * <code>lambda</code>, the default is 35 seconds.</p>
1803
+ * seconds and the default is 30 seconds.
1804
+ * If the target group protocol is GENEVE, the default is 10 seconds.
1805
+ * If the target type is <code>lambda</code>, the default is 35 seconds.</p>
1803
1806
  */
1804
1807
  HealthCheckIntervalSeconds?: number;
1805
1808
  /**
@@ -2397,9 +2400,9 @@ export interface LoadBalancerAttribute {
2397
2400
  * </li>
2398
2401
  * <li>
2399
2402
  * <p>
2400
- * <code>ipv6.deny-all-igw-traffic</code> - Blocks internet gateway (IGW) access to the
2403
+ * <code>ipv6.deny_all_igw_traffic</code> - Blocks internet gateway (IGW) access to the
2401
2404
  * load balancer. It is set to <code>false</code> for internet-facing load balancers and
2402
- * <code>true</code> for internal load balancers, preventing unintended access to your
2405
+ * <code>true</code> for internal load balancers, preventing unintended access to your
2403
2406
  * internal load balancer through an internet gateway.</p>
2404
2407
  * </li>
2405
2408
  * </ul>
@@ -2426,6 +2429,13 @@ export interface LoadBalancerAttribute {
2426
2429
  * </li>
2427
2430
  * <li>
2428
2431
  * <p>
2432
+ * <code>routing.http.preserve_host_header.enabled</code> - Indicates whether the
2433
+ * Application Load Balancer should preserve the <code>Host</code> header in the HTTP request
2434
+ * and send it to the target without any change. The possible values are <code>true</code>
2435
+ * and <code>false</code>. The default is <code>false</code>.</p>
2436
+ * </li>
2437
+ * <li>
2438
+ * <p>
2429
2439
  * <code>routing.http.x_amzn_tls_version_and_cipher_suite.enabled</code> - Indicates
2430
2440
  * whether the two headers (<code>x-amzn-tls-version</code> and
2431
2441
  * <code>x-amzn-tls-cipher-suite</code>), which contain information about the negotiated
@@ -2445,6 +2455,31 @@ export interface LoadBalancerAttribute {
2445
2455
  * </li>
2446
2456
  * <li>
2447
2457
  * <p>
2458
+ * <code>routing.http.xff_header_processing.mode</code> - Enables you to modify,
2459
+ * preserve, or remove the <code>X-Forwarded-For</code> header in the HTTP request before the
2460
+ * Application Load Balancer sends the request to the target. The possible values are
2461
+ * <code>append</code>, <code>preserve</code>, and <code>remove</code>. The default is
2462
+ * <code>append</code>.</p>
2463
+ * <ul>
2464
+ * <li>
2465
+ * <p>If the value is <code>append</code>, the Application Load Balancer adds the client
2466
+ * IP address (of the last hop) to the <code>X-Forwarded-For</code> header in the HTTP
2467
+ * request before it sends it to targets.</p>
2468
+ * </li>
2469
+ * <li>
2470
+ * <p>If the value is <code>preserve</code> the Application Load Balancer preserves the
2471
+ * <code>X-Forwarded-For</code> header in the HTTP request, and sends it to targets
2472
+ * without any change.</p>
2473
+ * </li>
2474
+ * <li>
2475
+ * <p>If the value is <code>remove</code>, the Application Load Balancer removes the
2476
+ * <code>X-Forwarded-For</code> header in the HTTP request before it sends it to
2477
+ * targets.</p>
2478
+ * </li>
2479
+ * </ul>
2480
+ * </li>
2481
+ * <li>
2482
+ * <p>
2448
2483
  * <code>routing.http2.enabled</code> - Indicates whether HTTP/2 is enabled. The possible
2449
2484
  * values are <code>true</code> and <code>false</code>. The default is <code>true</code>.
2450
2485
  * Elastic Load Balancing requires that message header names contain only alphanumeric
@@ -3251,7 +3286,6 @@ export interface ModifyTargetGroupInput {
3251
3286
  * protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the
3252
3287
  * protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP
3253
3288
  * protocols are not supported for health checks.</p>
3254
- * <p>With Network Load Balancers, you can't modify this setting.</p>
3255
3289
  */
3256
3290
  HealthCheckProtocol?: ProtocolEnum | string;
3257
3291
  /**
@@ -3272,13 +3306,11 @@ export interface ModifyTargetGroupInput {
3272
3306
  /**
3273
3307
  * <p>The approximate amount of time, in seconds, between health checks of an individual target.
3274
3308
  * For TCP health checks, the supported values are 10 or 30 seconds.</p>
3275
- * <p>With Network Load Balancers, you can't modify this setting.</p>
3276
3309
  */
3277
3310
  HealthCheckIntervalSeconds?: number;
3278
3311
  /**
3279
3312
  * <p>[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means
3280
3313
  * a failed health check.</p>
3281
- * <p>With Network Load Balancers, you can't modify this setting.</p>
3282
3314
  */
3283
3315
  HealthCheckTimeoutSeconds?: number;
3284
3316
  /**
@@ -3295,7 +3327,6 @@ export interface ModifyTargetGroupInput {
3295
3327
  /**
3296
3328
  * <p>[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful
3297
3329
  * response from a target.</p>
3298
- * <p>With Network Load Balancers, you can't modify this setting.</p>
3299
3330
  */
3300
3331
  Matcher?: Matcher;
3301
3332
  }
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.118.0",
4
+ "version": "3.121.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.118.0",
21
+ "@aws-sdk/client-sts": "3.121.0",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.118.0",
23
+ "@aws-sdk/credential-provider-node": "3.121.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -28,13 +28,13 @@
28
28
  "@aws-sdk/middleware-host-header": "3.110.0",
29
29
  "@aws-sdk/middleware-logger": "3.110.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.118.1",
32
32
  "@aws-sdk/middleware-serde": "3.110.0",
33
33
  "@aws-sdk/middleware-signing": "3.110.0",
34
34
  "@aws-sdk/middleware-stack": "3.110.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.110.0",
36
36
  "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.118.1",
38
38
  "@aws-sdk/protocol-http": "3.110.0",
39
39
  "@aws-sdk/smithy-client": "3.110.0",
40
40
  "@aws-sdk/types": "3.110.0",
@@ -49,7 +49,7 @@
49
49
  "@aws-sdk/util-user-agent-node": "3.118.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
- "@aws-sdk/util-waiter": "3.110.0",
52
+ "@aws-sdk/util-waiter": "3.118.1",
53
53
  "entities": "2.2.0",
54
54
  "fast-xml-parser": "3.19.0",
55
55
  "tslib": "^2.3.1"