aws-sdk-elasticloadbalancingv2 1.139.0 → 1.140.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +151 -16
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +35 -0
- data/lib/aws-sdk-elasticloadbalancingv2/customizations.rb +0 -8
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +178 -64
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- data/sig/client.rbs +60 -9
- data/sig/types.rbs +31 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 148263b284adde18d1abada81bd6dc622d2bd1211ce1e38d83f8c20400fa7d42
|
4
|
+
data.tar.gz: 94e38333f2d652f5834c0fed05c16af126a4422e9eb7a51c7f39a048c38aa36a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22adac8912cb74bdae896b44f75cabbf3826eba791d9aa6ddf2d4bce0cc7b2a67b3c29695522a3379b68248b2d53ca784c7c79d984476424f84dfb8b3b3ba74e
|
7
|
+
data.tar.gz: 50fad047ce2c64bd5bf0f024b68c441e8e9a375770f4207f476a2dc15d1e163fe3318ba776c07494ac5af7f017d362ec41c6a36b30e4df53e176b74e2c2a58df
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.140.0 (2025-10-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release expands Listener Rule Conditions to support RegexValues and adds support for a new Transforms field in Listener Rules.
|
8
|
+
|
4
9
|
1.139.0 (2025-08-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.140.0
|
@@ -713,7 +713,8 @@ module Aws::ElasticLoadBalancingV2
|
|
713
713
|
# The tags to assign to the listener.
|
714
714
|
#
|
715
715
|
# @option params [Types::MutualAuthenticationAttributes] :mutual_authentication
|
716
|
-
# The mutual authentication configuration
|
716
|
+
# \[HTTPS listeners\] The mutual authentication configuration
|
717
|
+
# information.
|
717
718
|
#
|
718
719
|
# @return [Types::CreateListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
719
720
|
#
|
@@ -1258,12 +1259,13 @@ module Aws::ElasticLoadBalancingV2
|
|
1258
1259
|
# Creates a rule for the specified listener. The listener must be
|
1259
1260
|
# associated with an Application Load Balancer.
|
1260
1261
|
#
|
1261
|
-
# Each rule consists of a priority, one or more actions,
|
1262
|
-
# conditions. Rules are evaluated in
|
1263
|
-
# value to the highest value. When the
|
1264
|
-
# its actions are performed. If the
|
1265
|
-
# actions for the default rule are
|
1266
|
-
# [Listener rules][1] in the
|
1262
|
+
# Each rule consists of a priority, one or more actions, one or more
|
1263
|
+
# conditions, and up to two optional transforms. Rules are evaluated in
|
1264
|
+
# priority order, from the lowest value to the highest value. When the
|
1265
|
+
# conditions for a rule are met, its actions are performed. If the
|
1266
|
+
# conditions for no rules are met, the actions for the default rule are
|
1267
|
+
# performed. For more information, see [Listener rules][1] in the
|
1268
|
+
# *Application Load Balancers Guide*.
|
1267
1269
|
#
|
1268
1270
|
#
|
1269
1271
|
#
|
@@ -1285,6 +1287,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1285
1287
|
# @option params [Array<Types::Tag>] :tags
|
1286
1288
|
# The tags to assign to the rule.
|
1287
1289
|
#
|
1290
|
+
# @option params [Array<Types::RuleTransform>] :transforms
|
1291
|
+
# The transforms to apply to requests that match this rule. You can add
|
1292
|
+
# one host header rewrite transform and one URL rewrite transform.
|
1293
|
+
#
|
1288
1294
|
# @return [Types::CreateRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1289
1295
|
#
|
1290
1296
|
# * {Types::CreateRuleOutput#rules #rules} => Array<Types::Rule>
|
@@ -1349,13 +1355,16 @@ module Aws::ElasticLoadBalancingV2
|
|
1349
1355
|
# values: ["StringValue"],
|
1350
1356
|
# host_header_config: {
|
1351
1357
|
# values: ["StringValue"],
|
1358
|
+
# regex_values: ["StringValue"],
|
1352
1359
|
# },
|
1353
1360
|
# path_pattern_config: {
|
1354
1361
|
# values: ["StringValue"],
|
1362
|
+
# regex_values: ["StringValue"],
|
1355
1363
|
# },
|
1356
1364
|
# http_header_config: {
|
1357
1365
|
# http_header_name: "HttpHeaderConditionName",
|
1358
1366
|
# values: ["StringValue"],
|
1367
|
+
# regex_values: ["StringValue"],
|
1359
1368
|
# },
|
1360
1369
|
# query_string_config: {
|
1361
1370
|
# values: [
|
@@ -1371,6 +1380,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1371
1380
|
# source_ip_config: {
|
1372
1381
|
# values: ["StringValue"],
|
1373
1382
|
# },
|
1383
|
+
# regex_values: ["StringValue"],
|
1374
1384
|
# },
|
1375
1385
|
# ],
|
1376
1386
|
# priority: 1, # required
|
@@ -1440,6 +1450,27 @@ module Aws::ElasticLoadBalancingV2
|
|
1440
1450
|
# value: "TagValue",
|
1441
1451
|
# },
|
1442
1452
|
# ],
|
1453
|
+
# transforms: [
|
1454
|
+
# {
|
1455
|
+
# type: "host-header-rewrite", # required, accepts host-header-rewrite, url-rewrite
|
1456
|
+
# host_header_rewrite_config: {
|
1457
|
+
# rewrites: [
|
1458
|
+
# {
|
1459
|
+
# regex: "StringValue", # required
|
1460
|
+
# replace: "StringValue", # required
|
1461
|
+
# },
|
1462
|
+
# ],
|
1463
|
+
# },
|
1464
|
+
# url_rewrite_config: {
|
1465
|
+
# rewrites: [
|
1466
|
+
# {
|
1467
|
+
# regex: "StringValue", # required
|
1468
|
+
# replace: "StringValue", # required
|
1469
|
+
# },
|
1470
|
+
# ],
|
1471
|
+
# },
|
1472
|
+
# },
|
1473
|
+
# ],
|
1443
1474
|
# })
|
1444
1475
|
#
|
1445
1476
|
# @example Response structure
|
@@ -1453,11 +1484,17 @@ module Aws::ElasticLoadBalancingV2
|
|
1453
1484
|
# resp.rules[0].conditions[0].values[0] #=> String
|
1454
1485
|
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
1455
1486
|
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
1487
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values #=> Array
|
1488
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values[0] #=> String
|
1456
1489
|
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
1457
1490
|
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
1491
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values #=> Array
|
1492
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values[0] #=> String
|
1458
1493
|
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
1459
1494
|
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
1460
1495
|
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
1496
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values #=> Array
|
1497
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values[0] #=> String
|
1461
1498
|
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
1462
1499
|
# resp.rules[0].conditions[0].query_string_config.values[0].key #=> String
|
1463
1500
|
# resp.rules[0].conditions[0].query_string_config.values[0].value #=> String
|
@@ -1465,6 +1502,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1465
1502
|
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String
|
1466
1503
|
# resp.rules[0].conditions[0].source_ip_config.values #=> Array
|
1467
1504
|
# resp.rules[0].conditions[0].source_ip_config.values[0] #=> String
|
1505
|
+
# resp.rules[0].conditions[0].regex_values #=> Array
|
1506
|
+
# resp.rules[0].conditions[0].regex_values[0] #=> String
|
1468
1507
|
# resp.rules[0].actions #=> Array
|
1469
1508
|
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
1470
1509
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
@@ -1506,6 +1545,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1506
1545
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
|
1507
1546
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
|
1508
1547
|
# resp.rules[0].is_default #=> Boolean
|
1548
|
+
# resp.rules[0].transforms #=> Array
|
1549
|
+
# resp.rules[0].transforms[0].type #=> String, one of "host-header-rewrite", "url-rewrite"
|
1550
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites #=> Array
|
1551
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].regex #=> String
|
1552
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].replace #=> String
|
1553
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites #=> Array
|
1554
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].regex #=> String
|
1555
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].replace #=> String
|
1509
1556
|
#
|
1510
1557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule AWS API Documentation
|
1511
1558
|
#
|
@@ -2717,11 +2764,17 @@ module Aws::ElasticLoadBalancingV2
|
|
2717
2764
|
# resp.rules[0].conditions[0].values[0] #=> String
|
2718
2765
|
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
2719
2766
|
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
2767
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values #=> Array
|
2768
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values[0] #=> String
|
2720
2769
|
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
2721
2770
|
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
2771
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values #=> Array
|
2772
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values[0] #=> String
|
2722
2773
|
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
2723
2774
|
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
2724
2775
|
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
2776
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values #=> Array
|
2777
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values[0] #=> String
|
2725
2778
|
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
2726
2779
|
# resp.rules[0].conditions[0].query_string_config.values[0].key #=> String
|
2727
2780
|
# resp.rules[0].conditions[0].query_string_config.values[0].value #=> String
|
@@ -2729,6 +2782,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2729
2782
|
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String
|
2730
2783
|
# resp.rules[0].conditions[0].source_ip_config.values #=> Array
|
2731
2784
|
# resp.rules[0].conditions[0].source_ip_config.values[0] #=> String
|
2785
|
+
# resp.rules[0].conditions[0].regex_values #=> Array
|
2786
|
+
# resp.rules[0].conditions[0].regex_values[0] #=> String
|
2732
2787
|
# resp.rules[0].actions #=> Array
|
2733
2788
|
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
2734
2789
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
@@ -2770,6 +2825,14 @@ module Aws::ElasticLoadBalancingV2
|
|
2770
2825
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
|
2771
2826
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
|
2772
2827
|
# resp.rules[0].is_default #=> Boolean
|
2828
|
+
# resp.rules[0].transforms #=> Array
|
2829
|
+
# resp.rules[0].transforms[0].type #=> String, one of "host-header-rewrite", "url-rewrite"
|
2830
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites #=> Array
|
2831
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].regex #=> String
|
2832
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].replace #=> String
|
2833
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites #=> Array
|
2834
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].regex #=> String
|
2835
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].replace #=> String
|
2773
2836
|
# resp.next_marker #=> String
|
2774
2837
|
#
|
2775
2838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules AWS API Documentation
|
@@ -3732,7 +3795,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3732
3795
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html#alpn-policies
|
3733
3796
|
#
|
3734
3797
|
# @option params [Types::MutualAuthenticationAttributes] :mutual_authentication
|
3735
|
-
# The mutual authentication configuration
|
3798
|
+
# \[HTTPS listeners\] The mutual authentication configuration
|
3799
|
+
# information.
|
3736
3800
|
#
|
3737
3801
|
# @return [Types::ModifyListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3738
3802
|
#
|
@@ -4189,6 +4253,15 @@ module Aws::ElasticLoadBalancingV2
|
|
4189
4253
|
# @option params [Array<Types::Action>] :actions
|
4190
4254
|
# The actions.
|
4191
4255
|
#
|
4256
|
+
# @option params [Array<Types::RuleTransform>] :transforms
|
4257
|
+
# The transforms to apply to requests that match this rule. You can add
|
4258
|
+
# one host header rewrite transform and one URL rewrite transform. If
|
4259
|
+
# you specify `Transforms`, you can't specify `ResetTransforms`.
|
4260
|
+
#
|
4261
|
+
# @option params [Boolean] :reset_transforms
|
4262
|
+
# Indicates whether to remove all transforms from the rule. If you
|
4263
|
+
# specify `ResetTransforms`, you can't specify `Transforms`.
|
4264
|
+
#
|
4192
4265
|
# @return [Types::ModifyRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4193
4266
|
#
|
4194
4267
|
# * {Types::ModifyRuleOutput#rules #rules} => Array<Types::Rule>
|
@@ -4245,13 +4318,16 @@ module Aws::ElasticLoadBalancingV2
|
|
4245
4318
|
# values: ["StringValue"],
|
4246
4319
|
# host_header_config: {
|
4247
4320
|
# values: ["StringValue"],
|
4321
|
+
# regex_values: ["StringValue"],
|
4248
4322
|
# },
|
4249
4323
|
# path_pattern_config: {
|
4250
4324
|
# values: ["StringValue"],
|
4325
|
+
# regex_values: ["StringValue"],
|
4251
4326
|
# },
|
4252
4327
|
# http_header_config: {
|
4253
4328
|
# http_header_name: "HttpHeaderConditionName",
|
4254
4329
|
# values: ["StringValue"],
|
4330
|
+
# regex_values: ["StringValue"],
|
4255
4331
|
# },
|
4256
4332
|
# query_string_config: {
|
4257
4333
|
# values: [
|
@@ -4267,6 +4343,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4267
4343
|
# source_ip_config: {
|
4268
4344
|
# values: ["StringValue"],
|
4269
4345
|
# },
|
4346
|
+
# regex_values: ["StringValue"],
|
4270
4347
|
# },
|
4271
4348
|
# ],
|
4272
4349
|
# actions: [
|
@@ -4329,6 +4406,28 @@ module Aws::ElasticLoadBalancingV2
|
|
4329
4406
|
# },
|
4330
4407
|
# },
|
4331
4408
|
# ],
|
4409
|
+
# transforms: [
|
4410
|
+
# {
|
4411
|
+
# type: "host-header-rewrite", # required, accepts host-header-rewrite, url-rewrite
|
4412
|
+
# host_header_rewrite_config: {
|
4413
|
+
# rewrites: [
|
4414
|
+
# {
|
4415
|
+
# regex: "StringValue", # required
|
4416
|
+
# replace: "StringValue", # required
|
4417
|
+
# },
|
4418
|
+
# ],
|
4419
|
+
# },
|
4420
|
+
# url_rewrite_config: {
|
4421
|
+
# rewrites: [
|
4422
|
+
# {
|
4423
|
+
# regex: "StringValue", # required
|
4424
|
+
# replace: "StringValue", # required
|
4425
|
+
# },
|
4426
|
+
# ],
|
4427
|
+
# },
|
4428
|
+
# },
|
4429
|
+
# ],
|
4430
|
+
# reset_transforms: false,
|
4332
4431
|
# })
|
4333
4432
|
#
|
4334
4433
|
# @example Response structure
|
@@ -4342,11 +4441,17 @@ module Aws::ElasticLoadBalancingV2
|
|
4342
4441
|
# resp.rules[0].conditions[0].values[0] #=> String
|
4343
4442
|
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
4344
4443
|
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
4444
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values #=> Array
|
4445
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values[0] #=> String
|
4345
4446
|
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
4346
4447
|
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
4448
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values #=> Array
|
4449
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values[0] #=> String
|
4347
4450
|
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
4348
4451
|
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
4349
4452
|
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
4453
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values #=> Array
|
4454
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values[0] #=> String
|
4350
4455
|
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
4351
4456
|
# resp.rules[0].conditions[0].query_string_config.values[0].key #=> String
|
4352
4457
|
# resp.rules[0].conditions[0].query_string_config.values[0].value #=> String
|
@@ -4354,6 +4459,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4354
4459
|
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String
|
4355
4460
|
# resp.rules[0].conditions[0].source_ip_config.values #=> Array
|
4356
4461
|
# resp.rules[0].conditions[0].source_ip_config.values[0] #=> String
|
4462
|
+
# resp.rules[0].conditions[0].regex_values #=> Array
|
4463
|
+
# resp.rules[0].conditions[0].regex_values[0] #=> String
|
4357
4464
|
# resp.rules[0].actions #=> Array
|
4358
4465
|
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
4359
4466
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
@@ -4395,6 +4502,14 @@ module Aws::ElasticLoadBalancingV2
|
|
4395
4502
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
|
4396
4503
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
|
4397
4504
|
# resp.rules[0].is_default #=> Boolean
|
4505
|
+
# resp.rules[0].transforms #=> Array
|
4506
|
+
# resp.rules[0].transforms[0].type #=> String, one of "host-header-rewrite", "url-rewrite"
|
4507
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites #=> Array
|
4508
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].regex #=> String
|
4509
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].replace #=> String
|
4510
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites #=> Array
|
4511
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].regex #=> String
|
4512
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].replace #=> String
|
4398
4513
|
#
|
4399
4514
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule AWS API Documentation
|
4400
4515
|
#
|
@@ -4436,7 +4551,10 @@ module Aws::ElasticLoadBalancingV2
|
|
4436
4551
|
# Services.ALB/healthcheck.
|
4437
4552
|
#
|
4438
4553
|
# @option params [Boolean] :health_check_enabled
|
4439
|
-
# Indicates whether health checks are enabled.
|
4554
|
+
# Indicates whether health checks are enabled. If the target type is
|
4555
|
+
# `lambda`, health checks are disabled by default but can be enabled. If
|
4556
|
+
# the target type is `instance`, `ip`, or `alb`, health checks are
|
4557
|
+
# always enabled and can't be disabled.
|
4440
4558
|
#
|
4441
4559
|
# @option params [Integer] :health_check_interval_seconds
|
4442
4560
|
# The approximate amount of time, in seconds, between health checks of
|
@@ -4991,11 +5109,17 @@ module Aws::ElasticLoadBalancingV2
|
|
4991
5109
|
# resp.rules[0].conditions[0].values[0] #=> String
|
4992
5110
|
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
4993
5111
|
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
5112
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values #=> Array
|
5113
|
+
# resp.rules[0].conditions[0].host_header_config.regex_values[0] #=> String
|
4994
5114
|
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
4995
5115
|
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
5116
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values #=> Array
|
5117
|
+
# resp.rules[0].conditions[0].path_pattern_config.regex_values[0] #=> String
|
4996
5118
|
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
4997
5119
|
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
4998
5120
|
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
5121
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values #=> Array
|
5122
|
+
# resp.rules[0].conditions[0].http_header_config.regex_values[0] #=> String
|
4999
5123
|
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
5000
5124
|
# resp.rules[0].conditions[0].query_string_config.values[0].key #=> String
|
5001
5125
|
# resp.rules[0].conditions[0].query_string_config.values[0].value #=> String
|
@@ -5003,6 +5127,8 @@ module Aws::ElasticLoadBalancingV2
|
|
5003
5127
|
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String
|
5004
5128
|
# resp.rules[0].conditions[0].source_ip_config.values #=> Array
|
5005
5129
|
# resp.rules[0].conditions[0].source_ip_config.values[0] #=> String
|
5130
|
+
# resp.rules[0].conditions[0].regex_values #=> Array
|
5131
|
+
# resp.rules[0].conditions[0].regex_values[0] #=> String
|
5006
5132
|
# resp.rules[0].actions #=> Array
|
5007
5133
|
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
5008
5134
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
@@ -5044,6 +5170,14 @@ module Aws::ElasticLoadBalancingV2
|
|
5044
5170
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
|
5045
5171
|
# resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
|
5046
5172
|
# resp.rules[0].is_default #=> Boolean
|
5173
|
+
# resp.rules[0].transforms #=> Array
|
5174
|
+
# resp.rules[0].transforms[0].type #=> String, one of "host-header-rewrite", "url-rewrite"
|
5175
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites #=> Array
|
5176
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].regex #=> String
|
5177
|
+
# resp.rules[0].transforms[0].host_header_rewrite_config.rewrites[0].replace #=> String
|
5178
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites #=> Array
|
5179
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].regex #=> String
|
5180
|
+
# resp.rules[0].transforms[0].url_rewrite_config.rewrites[0].replace #=> String
|
5047
5181
|
#
|
5048
5182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities AWS API Documentation
|
5049
5183
|
#
|
@@ -5127,10 +5261,6 @@ module Aws::ElasticLoadBalancingV2
|
|
5127
5261
|
# Gateway Load Balancer. The specified subnets replace the previously
|
5128
5262
|
# enabled subnets.
|
5129
5263
|
#
|
5130
|
-
# When you specify subnets for a Network Load Balancer, or Gateway Load
|
5131
|
-
# Balancer you must include all subnets that were enabled previously,
|
5132
|
-
# with their existing configurations, plus any additional subnets.
|
5133
|
-
#
|
5134
5264
|
# @option params [required, String] :load_balancer_arn
|
5135
5265
|
# The Amazon Resource Name (ARN) of the load balancer.
|
5136
5266
|
#
|
@@ -5147,8 +5277,13 @@ module Aws::ElasticLoadBalancingV2
|
|
5147
5277
|
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
5148
5278
|
# from one or more Local Zones.
|
5149
5279
|
#
|
5150
|
-
# \[Network Load Balancers
|
5151
|
-
#
|
5280
|
+
# \[Network Load Balancers\] You can specify subnets from one or more
|
5281
|
+
# Availability Zones.
|
5282
|
+
#
|
5283
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
5284
|
+
# Availability Zones. You must include all subnets that were enabled
|
5285
|
+
# previously, with their existing configurations, plus any additional
|
5286
|
+
# subnets.
|
5152
5287
|
#
|
5153
5288
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
5154
5289
|
# The IDs of the public subnets. You can specify only one subnet per
|
@@ -5286,7 +5421,7 @@ module Aws::ElasticLoadBalancingV2
|
|
5286
5421
|
tracer: tracer
|
5287
5422
|
)
|
5288
5423
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
5289
|
-
context[:gem_version] = '1.
|
5424
|
+
context[:gem_version] = '1.140.0'
|
5290
5425
|
Seahorse::Client::Request.new(handlers, context)
|
5291
5426
|
end
|
5292
5427
|
|
@@ -173,6 +173,7 @@ module Aws::ElasticLoadBalancingV2
|
|
173
173
|
HealthCheckTimeoutSeconds = Shapes::IntegerShape.new(name: 'HealthCheckTimeoutSeconds')
|
174
174
|
HealthUnavailableException = Shapes::StructureShape.new(name: 'HealthUnavailableException', error: {"code" => "HealthUnavailable", "httpStatusCode" => 500})
|
175
175
|
HostHeaderConditionConfig = Shapes::StructureShape.new(name: 'HostHeaderConditionConfig')
|
176
|
+
HostHeaderRewriteConfig = Shapes::StructureShape.new(name: 'HostHeaderRewriteConfig')
|
176
177
|
HttpCode = Shapes::StringShape.new(name: 'HttpCode')
|
177
178
|
HttpHeaderConditionConfig = Shapes::StructureShape.new(name: 'HttpHeaderConditionConfig')
|
178
179
|
HttpHeaderConditionName = Shapes::StringShape.new(name: 'HttpHeaderConditionName')
|
@@ -287,6 +288,7 @@ module Aws::ElasticLoadBalancingV2
|
|
287
288
|
RemoveTrustStoreRevocationsInput = Shapes::StructureShape.new(name: 'RemoveTrustStoreRevocationsInput')
|
288
289
|
RemoveTrustStoreRevocationsOutput = Shapes::StructureShape.new(name: 'RemoveTrustStoreRevocationsOutput')
|
289
290
|
ResetCapacityReservation = Shapes::BooleanShape.new(name: 'ResetCapacityReservation')
|
291
|
+
ResetTransforms = Shapes::BooleanShape.new(name: 'ResetTransforms')
|
290
292
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
291
293
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
292
294
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException', error: {"code" => "ResourceInUse", "httpStatusCode" => 400, "senderFault" => true})
|
@@ -298,6 +300,8 @@ module Aws::ElasticLoadBalancingV2
|
|
298
300
|
RevocationIdNotFoundException = Shapes::StructureShape.new(name: 'RevocationIdNotFoundException', error: {"code" => "RevocationIdNotFound", "httpStatusCode" => 400, "senderFault" => true})
|
299
301
|
RevocationIds = Shapes::ListShape.new(name: 'RevocationIds')
|
300
302
|
RevocationType = Shapes::StringShape.new(name: 'RevocationType')
|
303
|
+
RewriteConfig = Shapes::StructureShape.new(name: 'RewriteConfig')
|
304
|
+
RewriteConfigList = Shapes::ListShape.new(name: 'RewriteConfigList')
|
301
305
|
Rule = Shapes::StructureShape.new(name: 'Rule')
|
302
306
|
RuleArn = Shapes::StringShape.new(name: 'RuleArn')
|
303
307
|
RuleArns = Shapes::ListShape.new(name: 'RuleArns')
|
@@ -307,6 +311,8 @@ module Aws::ElasticLoadBalancingV2
|
|
307
311
|
RulePriority = Shapes::IntegerShape.new(name: 'RulePriority')
|
308
312
|
RulePriorityList = Shapes::ListShape.new(name: 'RulePriorityList')
|
309
313
|
RulePriorityPair = Shapes::StructureShape.new(name: 'RulePriorityPair')
|
314
|
+
RuleTransform = Shapes::StructureShape.new(name: 'RuleTransform')
|
315
|
+
RuleTransformList = Shapes::ListShape.new(name: 'RuleTransformList')
|
310
316
|
Rules = Shapes::ListShape.new(name: 'Rules')
|
311
317
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
312
318
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
@@ -389,6 +395,7 @@ module Aws::ElasticLoadBalancingV2
|
|
389
395
|
TooManyTrustStoresException = Shapes::StructureShape.new(name: 'TooManyTrustStoresException', error: {"code" => "TooManyTrustStores", "httpStatusCode" => 400, "senderFault" => true})
|
390
396
|
TooManyUniqueTargetGroupsPerLoadBalancerException = Shapes::StructureShape.new(name: 'TooManyUniqueTargetGroupsPerLoadBalancerException', error: {"code" => "TooManyUniqueTargetGroupsPerLoadBalancer", "httpStatusCode" => 400, "senderFault" => true})
|
391
397
|
TotalRevokedEntries = Shapes::IntegerShape.new(name: 'TotalRevokedEntries')
|
398
|
+
TransformTypeEnum = Shapes::StringShape.new(name: 'TransformTypeEnum')
|
392
399
|
TrustStore = Shapes::StructureShape.new(name: 'TrustStore')
|
393
400
|
TrustStoreArn = Shapes::StringShape.new(name: 'TrustStoreArn')
|
394
401
|
TrustStoreArns = Shapes::ListShape.new(name: 'TrustStoreArns')
|
@@ -407,6 +414,7 @@ module Aws::ElasticLoadBalancingV2
|
|
407
414
|
TrustStoreStatus = Shapes::StringShape.new(name: 'TrustStoreStatus')
|
408
415
|
TrustStores = Shapes::ListShape.new(name: 'TrustStores')
|
409
416
|
UnsupportedProtocolException = Shapes::StructureShape.new(name: 'UnsupportedProtocolException', error: {"code" => "UnsupportedProtocol", "httpStatusCode" => 400, "senderFault" => true})
|
417
|
+
UrlRewriteConfig = Shapes::StructureShape.new(name: 'UrlRewriteConfig')
|
410
418
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
411
419
|
ZonalCapacityReservationState = Shapes::StructureShape.new(name: 'ZonalCapacityReservationState')
|
412
420
|
ZonalCapacityReservationStates = Shapes::ListShape.new(name: 'ZonalCapacityReservationStates')
|
@@ -561,6 +569,7 @@ module Aws::ElasticLoadBalancingV2
|
|
561
569
|
CreateRuleInput.add_member(:priority, Shapes::ShapeRef.new(shape: RulePriority, required: true, location_name: "Priority"))
|
562
570
|
CreateRuleInput.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, required: true, location_name: "Actions"))
|
563
571
|
CreateRuleInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
572
|
+
CreateRuleInput.add_member(:transforms, Shapes::ShapeRef.new(shape: RuleTransformList, location_name: "Transforms"))
|
564
573
|
CreateRuleInput.struct_class = Types::CreateRuleInput
|
565
574
|
|
566
575
|
CreateRuleOutput.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, location_name: "Rules"))
|
@@ -824,10 +833,15 @@ module Aws::ElasticLoadBalancingV2
|
|
824
833
|
HealthUnavailableException.struct_class = Types::HealthUnavailableException
|
825
834
|
|
826
835
|
HostHeaderConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
836
|
+
HostHeaderConditionConfig.add_member(:regex_values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "RegexValues"))
|
827
837
|
HostHeaderConditionConfig.struct_class = Types::HostHeaderConditionConfig
|
828
838
|
|
839
|
+
HostHeaderRewriteConfig.add_member(:rewrites, Shapes::ShapeRef.new(shape: RewriteConfigList, location_name: "Rewrites"))
|
840
|
+
HostHeaderRewriteConfig.struct_class = Types::HostHeaderRewriteConfig
|
841
|
+
|
829
842
|
HttpHeaderConditionConfig.add_member(:http_header_name, Shapes::ShapeRef.new(shape: HttpHeaderConditionName, location_name: "HttpHeaderName"))
|
830
843
|
HttpHeaderConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
844
|
+
HttpHeaderConditionConfig.add_member(:regex_values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "RegexValues"))
|
831
845
|
HttpHeaderConditionConfig.struct_class = Types::HttpHeaderConditionConfig
|
832
846
|
|
833
847
|
HttpRequestMethodConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
@@ -989,6 +1003,8 @@ module Aws::ElasticLoadBalancingV2
|
|
989
1003
|
ModifyRuleInput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "RuleArn"))
|
990
1004
|
ModifyRuleInput.add_member(:conditions, Shapes::ShapeRef.new(shape: RuleConditionList, location_name: "Conditions"))
|
991
1005
|
ModifyRuleInput.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, location_name: "Actions"))
|
1006
|
+
ModifyRuleInput.add_member(:transforms, Shapes::ShapeRef.new(shape: RuleTransformList, location_name: "Transforms"))
|
1007
|
+
ModifyRuleInput.add_member(:reset_transforms, Shapes::ShapeRef.new(shape: ResetTransforms, location_name: "ResetTransforms"))
|
992
1008
|
ModifyRuleInput.struct_class = Types::ModifyRuleInput
|
993
1009
|
|
994
1010
|
ModifyRuleOutput.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, location_name: "Rules"))
|
@@ -1035,6 +1051,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1035
1051
|
OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
|
1036
1052
|
|
1037
1053
|
PathPatternConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
1054
|
+
PathPatternConditionConfig.add_member(:regex_values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "RegexValues"))
|
1038
1055
|
PathPatternConditionConfig.struct_class = Types::PathPatternConditionConfig
|
1039
1056
|
|
1040
1057
|
PriorRequestNotCompleteException.struct_class = Types::PriorRequestNotCompleteException
|
@@ -1104,11 +1121,18 @@ module Aws::ElasticLoadBalancingV2
|
|
1104
1121
|
|
1105
1122
|
RevocationIds.member = Shapes::ShapeRef.new(shape: RevocationId)
|
1106
1123
|
|
1124
|
+
RewriteConfig.add_member(:regex, Shapes::ShapeRef.new(shape: StringValue, required: true, location_name: "Regex"))
|
1125
|
+
RewriteConfig.add_member(:replace, Shapes::ShapeRef.new(shape: StringValue, required: true, location_name: "Replace"))
|
1126
|
+
RewriteConfig.struct_class = Types::RewriteConfig
|
1127
|
+
|
1128
|
+
RewriteConfigList.member = Shapes::ShapeRef.new(shape: RewriteConfig)
|
1129
|
+
|
1107
1130
|
Rule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
1108
1131
|
Rule.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "Priority"))
|
1109
1132
|
Rule.add_member(:conditions, Shapes::ShapeRef.new(shape: RuleConditionList, location_name: "Conditions"))
|
1110
1133
|
Rule.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, location_name: "Actions"))
|
1111
1134
|
Rule.add_member(:is_default, Shapes::ShapeRef.new(shape: IsDefault, location_name: "IsDefault"))
|
1135
|
+
Rule.add_member(:transforms, Shapes::ShapeRef.new(shape: RuleTransformList, location_name: "Transforms"))
|
1112
1136
|
Rule.struct_class = Types::Rule
|
1113
1137
|
|
1114
1138
|
RuleArns.member = Shapes::ShapeRef.new(shape: RuleArn)
|
@@ -1121,6 +1145,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1121
1145
|
RuleCondition.add_member(:query_string_config, Shapes::ShapeRef.new(shape: QueryStringConditionConfig, location_name: "QueryStringConfig"))
|
1122
1146
|
RuleCondition.add_member(:http_request_method_config, Shapes::ShapeRef.new(shape: HttpRequestMethodConditionConfig, location_name: "HttpRequestMethodConfig"))
|
1123
1147
|
RuleCondition.add_member(:source_ip_config, Shapes::ShapeRef.new(shape: SourceIpConditionConfig, location_name: "SourceIpConfig"))
|
1148
|
+
RuleCondition.add_member(:regex_values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "RegexValues"))
|
1124
1149
|
RuleCondition.struct_class = Types::RuleCondition
|
1125
1150
|
|
1126
1151
|
RuleConditionList.member = Shapes::ShapeRef.new(shape: RuleCondition)
|
@@ -1133,6 +1158,13 @@ module Aws::ElasticLoadBalancingV2
|
|
1133
1158
|
RulePriorityPair.add_member(:priority, Shapes::ShapeRef.new(shape: RulePriority, location_name: "Priority"))
|
1134
1159
|
RulePriorityPair.struct_class = Types::RulePriorityPair
|
1135
1160
|
|
1161
|
+
RuleTransform.add_member(:type, Shapes::ShapeRef.new(shape: TransformTypeEnum, required: true, location_name: "Type"))
|
1162
|
+
RuleTransform.add_member(:host_header_rewrite_config, Shapes::ShapeRef.new(shape: HostHeaderRewriteConfig, location_name: "HostHeaderRewriteConfig"))
|
1163
|
+
RuleTransform.add_member(:url_rewrite_config, Shapes::ShapeRef.new(shape: UrlRewriteConfig, location_name: "UrlRewriteConfig"))
|
1164
|
+
RuleTransform.struct_class = Types::RuleTransform
|
1165
|
+
|
1166
|
+
RuleTransformList.member = Shapes::ShapeRef.new(shape: RuleTransform)
|
1167
|
+
|
1136
1168
|
Rules.member = Shapes::ShapeRef.new(shape: Rule)
|
1137
1169
|
|
1138
1170
|
SSLPolicyNotFoundException.struct_class = Types::SSLPolicyNotFoundException
|
@@ -1344,6 +1376,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1344
1376
|
|
1345
1377
|
UnsupportedProtocolException.struct_class = Types::UnsupportedProtocolException
|
1346
1378
|
|
1379
|
+
UrlRewriteConfig.add_member(:rewrites, Shapes::ShapeRef.new(shape: RewriteConfigList, location_name: "Rewrites"))
|
1380
|
+
UrlRewriteConfig.struct_class = Types::UrlRewriteConfig
|
1381
|
+
|
1347
1382
|
ZonalCapacityReservationState.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationStatus, location_name: "State"))
|
1348
1383
|
ZonalCapacityReservationState.add_member(:availability_zone, Shapes::ShapeRef.new(shape: ZoneName, location_name: "AvailabilityZone"))
|
1349
1384
|
ZonalCapacityReservationState.add_member(:effective_capacity_units, Shapes::ShapeRef.new(shape: CapacityUnitsDouble, location_name: "EffectiveCapacityUnits"))
|
@@ -13,22 +13,22 @@ module Aws::ElasticLoadBalancingV2
|
|
13
13
|
# @!attribute region
|
14
14
|
# The AWS region used to dispatch the request.
|
15
15
|
#
|
16
|
-
# @return [
|
16
|
+
# @return [string]
|
17
17
|
#
|
18
18
|
# @!attribute use_dual_stack
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
20
|
#
|
21
|
-
# @return [
|
21
|
+
# @return [boolean]
|
22
22
|
#
|
23
23
|
# @!attribute use_fips
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
25
|
#
|
26
|
-
# @return [
|
26
|
+
# @return [boolean]
|
27
27
|
#
|
28
28
|
# @!attribute endpoint
|
29
29
|
# Override the endpoint used to send this request
|
30
30
|
#
|
31
|
-
# @return [
|
31
|
+
# @return [string]
|
32
32
|
#
|
33
33
|
EndpointParameters = Struct.new(
|
34
34
|
:region,
|
@@ -585,7 +585,8 @@ module Aws::ElasticLoadBalancingV2
|
|
585
585
|
# @return [Array<Types::Tag>]
|
586
586
|
#
|
587
587
|
# @!attribute [rw] mutual_authentication
|
588
|
-
# The mutual authentication configuration
|
588
|
+
# \[HTTPS listeners\] The mutual authentication configuration
|
589
|
+
# information.
|
589
590
|
# @return [Types::MutualAuthenticationAttributes]
|
590
591
|
#
|
591
592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput AWS API Documentation
|
@@ -783,6 +784,11 @@ module Aws::ElasticLoadBalancingV2
|
|
783
784
|
# The tags to assign to the rule.
|
784
785
|
# @return [Array<Types::Tag>]
|
785
786
|
#
|
787
|
+
# @!attribute [rw] transforms
|
788
|
+
# The transforms to apply to requests that match this rule. You can
|
789
|
+
# add one host header rewrite transform and one URL rewrite transform.
|
790
|
+
# @return [Array<Types::RuleTransform>]
|
791
|
+
#
|
786
792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput AWS API Documentation
|
787
793
|
#
|
788
794
|
class CreateRuleInput < Struct.new(
|
@@ -790,7 +796,8 @@ module Aws::ElasticLoadBalancingV2
|
|
790
796
|
:conditions,
|
791
797
|
:priority,
|
792
798
|
:actions,
|
793
|
-
:tags
|
799
|
+
:tags,
|
800
|
+
:transforms)
|
794
801
|
SENSITIVE = []
|
795
802
|
include Aws::Structure
|
796
803
|
end
|
@@ -1975,21 +1982,44 @@ module Aws::ElasticLoadBalancingV2
|
|
1975
1982
|
# Information about a host header condition.
|
1976
1983
|
#
|
1977
1984
|
# @!attribute [rw] values
|
1978
|
-
# The host names. The maximum
|
1979
|
-
# comparison is case insensitive. The following wildcard
|
1980
|
-
# are supported: * (matches 0 or more characters) and ?
|
1981
|
-
# exactly 1 character). You must include at least one "."
|
1982
|
-
# You can include only alphabetical characters after the
|
1983
|
-
# character.
|
1985
|
+
# The host names. The maximum length of each string is 128 characters.
|
1986
|
+
# The comparison is case insensitive. The following wildcard
|
1987
|
+
# characters are supported: * (matches 0 or more characters) and ?
|
1988
|
+
# (matches exactly 1 character). You must include at least one "."
|
1989
|
+
# character. You can include only alphabetical characters after the
|
1990
|
+
# final "." character.
|
1984
1991
|
#
|
1985
1992
|
# If you specify multiple strings, the condition is satisfied if one
|
1986
1993
|
# of the strings matches the host name.
|
1987
1994
|
# @return [Array<String>]
|
1988
1995
|
#
|
1996
|
+
# @!attribute [rw] regex_values
|
1997
|
+
# The regular expressions to compare against the host header. The
|
1998
|
+
# maximum length of each string is 128 characters.
|
1999
|
+
# @return [Array<String>]
|
2000
|
+
#
|
1989
2001
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/HostHeaderConditionConfig AWS API Documentation
|
1990
2002
|
#
|
1991
2003
|
class HostHeaderConditionConfig < Struct.new(
|
1992
|
-
:values
|
2004
|
+
:values,
|
2005
|
+
:regex_values)
|
2006
|
+
SENSITIVE = []
|
2007
|
+
include Aws::Structure
|
2008
|
+
end
|
2009
|
+
|
2010
|
+
# Information about a host header rewrite transform. This transform
|
2011
|
+
# matches a pattern in the host header in an HTTP request and replaces
|
2012
|
+
# it with the specified string.
|
2013
|
+
#
|
2014
|
+
# @!attribute [rw] rewrites
|
2015
|
+
# The host header rewrite transform. Each transform consists of a
|
2016
|
+
# regular expression to match and a replacement string.
|
2017
|
+
# @return [Array<Types::RewriteConfig>]
|
2018
|
+
#
|
2019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/HostHeaderRewriteConfig AWS API Documentation
|
2020
|
+
#
|
2021
|
+
class HostHeaderRewriteConfig < Struct.new(
|
2022
|
+
:rewrites)
|
1993
2023
|
SENSITIVE = []
|
1994
2024
|
include Aws::Structure
|
1995
2025
|
end
|
@@ -2000,7 +2030,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2000
2030
|
# custom HTTP header fields.
|
2001
2031
|
#
|
2002
2032
|
# @!attribute [rw] http_header_name
|
2003
|
-
# The name of the HTTP header field. The maximum
|
2033
|
+
# The name of the HTTP header field. The maximum length is 40
|
2004
2034
|
# characters. The header name is case insensitive. The allowed
|
2005
2035
|
# characters are specified by RFC 7230. Wildcards are not supported.
|
2006
2036
|
#
|
@@ -2014,7 +2044,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2014
2044
|
#
|
2015
2045
|
# @!attribute [rw] values
|
2016
2046
|
# The strings to compare against the value of the HTTP header. The
|
2017
|
-
# maximum
|
2047
|
+
# maximum length of each string is 128 characters. The comparison
|
2018
2048
|
# strings are case insensitive. The following wildcard characters are
|
2019
2049
|
# supported: * (matches 0 or more characters) and ? (matches exactly
|
2020
2050
|
# 1 character).
|
@@ -2027,11 +2057,17 @@ module Aws::ElasticLoadBalancingV2
|
|
2027
2057
|
# all of the strings are a match, create one condition per string.
|
2028
2058
|
# @return [Array<String>]
|
2029
2059
|
#
|
2060
|
+
# @!attribute [rw] regex_values
|
2061
|
+
# The regular expression to compare against the HTTP header. The
|
2062
|
+
# maximum length of each string is 128 characters.
|
2063
|
+
# @return [Array<String>]
|
2064
|
+
#
|
2030
2065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/HttpHeaderConditionConfig AWS API Documentation
|
2031
2066
|
#
|
2032
2067
|
class HttpHeaderConditionConfig < Struct.new(
|
2033
2068
|
:http_header_name,
|
2034
|
-
:values
|
2069
|
+
:values,
|
2070
|
+
:regex_values)
|
2035
2071
|
SENSITIVE = []
|
2036
2072
|
include Aws::Structure
|
2037
2073
|
end
|
@@ -2047,7 +2083,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2047
2083
|
# [1]: https://www.iana.org/assignments/http-methods/http-methods.xhtml
|
2048
2084
|
#
|
2049
2085
|
# @!attribute [rw] values
|
2050
|
-
# The name of the request method. The maximum
|
2086
|
+
# The name of the request method. The maximum length is 40 characters.
|
2051
2087
|
# The allowed characters are A-Z, hyphen (-), and underscore (\_). The
|
2052
2088
|
# comparison is case sensitive. Wildcards are not supported;
|
2053
2089
|
# therefore, the method name must be an exact match.
|
@@ -2163,43 +2199,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2163
2199
|
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html
|
2164
2200
|
#
|
2165
2201
|
# @!attribute [rw] name
|
2166
|
-
# The name of the limit.
|
2167
|
-
#
|
2168
|
-
# * application-load-balancers
|
2169
|
-
#
|
2170
|
-
# * condition-values-per-alb-rule
|
2171
|
-
#
|
2172
|
-
# * condition-wildcards-per-alb-rule
|
2173
|
-
#
|
2174
|
-
# * gateway-load-balancers
|
2175
|
-
#
|
2176
|
-
# * gateway-load-balancers-per-vpc
|
2177
|
-
#
|
2178
|
-
# * geneve-target-groups
|
2179
|
-
#
|
2180
|
-
# * listeners-per-application-load-balancer
|
2181
|
-
#
|
2182
|
-
# * listeners-per-network-load-balancer
|
2183
|
-
#
|
2184
|
-
# * network-load-balancers
|
2185
|
-
#
|
2186
|
-
# * rules-per-application-load-balancer
|
2187
|
-
#
|
2188
|
-
# * target-groups
|
2189
|
-
#
|
2190
|
-
# * target-groups-per-action-on-application-load-balancer
|
2191
|
-
#
|
2192
|
-
# * target-groups-per-action-on-network-load-balancer
|
2193
|
-
#
|
2194
|
-
# * target-groups-per-application-load-balancer
|
2195
|
-
#
|
2196
|
-
# * targets-per-application-load-balancer
|
2197
|
-
#
|
2198
|
-
# * targets-per-availability-zone-per-gateway-load-balancer
|
2199
|
-
#
|
2200
|
-
# * targets-per-availability-zone-per-network-load-balancer
|
2201
|
-
#
|
2202
|
-
# * targets-per-network-load-balancer
|
2202
|
+
# The name of the limit.
|
2203
2203
|
# @return [String]
|
2204
2204
|
#
|
2205
2205
|
# @!attribute [rw] max
|
@@ -2643,10 +2643,13 @@ module Aws::ElasticLoadBalancingV2
|
|
2643
2643
|
# * If the value is `remove`, the Application Load Balancer removes
|
2644
2644
|
# the `X-Forwarded-For` header in the HTTP request before it sends
|
2645
2645
|
# it to targets.
|
2646
|
-
# * `routing.http2.enabled` - Indicates whether
|
2647
|
-
#
|
2648
|
-
#
|
2649
|
-
#
|
2646
|
+
# * `routing.http2.enabled` - Indicates whether clients can connect to
|
2647
|
+
# the load balancer using HTTP/2. If `true`, clients can connect
|
2648
|
+
# using HTTP/2 or HTTP/1.1. However, all client requests are subject
|
2649
|
+
# to the stricter HTTP/2 header validation rules. For example,
|
2650
|
+
# message header names must contain only alphanumeric characters and
|
2651
|
+
# hyphens. If `false`, clients must connect using HTTP/1.1. The
|
2652
|
+
# default is `true`.
|
2650
2653
|
#
|
2651
2654
|
# * `waf.fail_open.enabled` - Indicates whether to allow a WAF-enabled
|
2652
2655
|
# load balancer to route requests to targets if it is unable to
|
@@ -2941,7 +2944,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2941
2944
|
# @return [Array<String>]
|
2942
2945
|
#
|
2943
2946
|
# @!attribute [rw] mutual_authentication
|
2944
|
-
# The mutual authentication configuration
|
2947
|
+
# \[HTTPS listeners\] The mutual authentication configuration
|
2948
|
+
# information.
|
2945
2949
|
# @return [Types::MutualAuthenticationAttributes]
|
2946
2950
|
#
|
2947
2951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput AWS API Documentation
|
@@ -3012,12 +3016,25 @@ module Aws::ElasticLoadBalancingV2
|
|
3012
3016
|
# The actions.
|
3013
3017
|
# @return [Array<Types::Action>]
|
3014
3018
|
#
|
3019
|
+
# @!attribute [rw] transforms
|
3020
|
+
# The transforms to apply to requests that match this rule. You can
|
3021
|
+
# add one host header rewrite transform and one URL rewrite transform.
|
3022
|
+
# If you specify `Transforms`, you can't specify `ResetTransforms`.
|
3023
|
+
# @return [Array<Types::RuleTransform>]
|
3024
|
+
#
|
3025
|
+
# @!attribute [rw] reset_transforms
|
3026
|
+
# Indicates whether to remove all transforms from the rule. If you
|
3027
|
+
# specify `ResetTransforms`, you can't specify `Transforms`.
|
3028
|
+
# @return [Boolean]
|
3029
|
+
#
|
3015
3030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput AWS API Documentation
|
3016
3031
|
#
|
3017
3032
|
class ModifyRuleInput < Struct.new(
|
3018
3033
|
:rule_arn,
|
3019
3034
|
:conditions,
|
3020
|
-
:actions
|
3035
|
+
:actions,
|
3036
|
+
:transforms,
|
3037
|
+
:reset_transforms)
|
3021
3038
|
SENSITIVE = []
|
3022
3039
|
include Aws::Structure
|
3023
3040
|
end
|
@@ -3095,7 +3112,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3095
3112
|
# @return [String]
|
3096
3113
|
#
|
3097
3114
|
# @!attribute [rw] health_check_enabled
|
3098
|
-
# Indicates whether health checks are enabled.
|
3115
|
+
# Indicates whether health checks are enabled. If the target type is
|
3116
|
+
# `lambda`, health checks are disabled by default but can be enabled.
|
3117
|
+
# If the target type is `instance`, `ip`, or `alb`, health checks are
|
3118
|
+
# always enabled and can't be disabled.
|
3099
3119
|
# @return [Boolean]
|
3100
3120
|
#
|
3101
3121
|
# @!attribute [rw] health_check_interval_seconds
|
@@ -3241,7 +3261,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3241
3261
|
#
|
3242
3262
|
# @!attribute [rw] values
|
3243
3263
|
# The path patterns to compare against the request URL. The maximum
|
3244
|
-
#
|
3264
|
+
# length of each string is 128 characters. The comparison is case
|
3245
3265
|
# sensitive. The following wildcard characters are supported: *
|
3246
3266
|
# (matches 0 or more characters) and ? (matches exactly 1 character).
|
3247
3267
|
#
|
@@ -3255,10 +3275,16 @@ module Aws::ElasticLoadBalancingV2
|
|
3255
3275
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#query-string-conditions
|
3256
3276
|
# @return [Array<String>]
|
3257
3277
|
#
|
3278
|
+
# @!attribute [rw] regex_values
|
3279
|
+
# The regular expressions to compare against the request URL. The
|
3280
|
+
# maximum length of each string is 128 characters.
|
3281
|
+
# @return [Array<String>]
|
3282
|
+
#
|
3258
3283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/PathPatternConditionConfig AWS API Documentation
|
3259
3284
|
#
|
3260
3285
|
class PathPatternConditionConfig < Struct.new(
|
3261
|
-
:values
|
3286
|
+
:values,
|
3287
|
+
:regex_values)
|
3262
3288
|
SENSITIVE = []
|
3263
3289
|
include Aws::Structure
|
3264
3290
|
end
|
@@ -3286,7 +3312,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3286
3312
|
#
|
3287
3313
|
# @!attribute [rw] values
|
3288
3314
|
# The key/value pairs or values to find in the query string. The
|
3289
|
-
# maximum
|
3315
|
+
# maximum length of each string is 128 characters. The comparison is
|
3290
3316
|
# case insensitive. The following wildcard characters are supported:
|
3291
3317
|
# * (matches 0 or more characters) and ? (matches exactly 1
|
3292
3318
|
# character). To search for a literal '*' or '?' character in a
|
@@ -3532,6 +3558,29 @@ module Aws::ElasticLoadBalancingV2
|
|
3532
3558
|
#
|
3533
3559
|
class RevocationIdNotFoundException < Aws::EmptyStructure; end
|
3534
3560
|
|
3561
|
+
# Information about a rewrite transform. This transform matches a
|
3562
|
+
# pattern and replaces it with the specified string.
|
3563
|
+
#
|
3564
|
+
# @!attribute [rw] regex
|
3565
|
+
# The regular expression to match in the input string. The maximum
|
3566
|
+
# length of the string is 1,024 characters.
|
3567
|
+
# @return [String]
|
3568
|
+
#
|
3569
|
+
# @!attribute [rw] replace
|
3570
|
+
# The replacement string to use when rewriting the matched input. The
|
3571
|
+
# maximum length of the string is 1,024 characters. You can specify
|
3572
|
+
# capture groups in the regular expression (for example, $1 and $2).
|
3573
|
+
# @return [String]
|
3574
|
+
#
|
3575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RewriteConfig AWS API Documentation
|
3576
|
+
#
|
3577
|
+
class RewriteConfig < Struct.new(
|
3578
|
+
:regex,
|
3579
|
+
:replace)
|
3580
|
+
SENSITIVE = []
|
3581
|
+
include Aws::Structure
|
3582
|
+
end
|
3583
|
+
|
3535
3584
|
# Information about a rule.
|
3536
3585
|
#
|
3537
3586
|
# @!attribute [rw] rule_arn
|
@@ -3559,6 +3608,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3559
3608
|
# Indicates whether this is the default rule.
|
3560
3609
|
# @return [Boolean]
|
3561
3610
|
#
|
3611
|
+
# @!attribute [rw] transforms
|
3612
|
+
# The transforms for the rule.
|
3613
|
+
# @return [Array<Types::RuleTransform>]
|
3614
|
+
#
|
3562
3615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Rule AWS API Documentation
|
3563
3616
|
#
|
3564
3617
|
class Rule < Struct.new(
|
@@ -3566,7 +3619,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3566
3619
|
:priority,
|
3567
3620
|
:conditions,
|
3568
3621
|
:actions,
|
3569
|
-
:is_default
|
3622
|
+
:is_default,
|
3623
|
+
:transforms)
|
3570
3624
|
SENSITIVE = []
|
3571
3625
|
include Aws::Structure
|
3572
3626
|
end
|
@@ -3670,6 +3724,12 @@ module Aws::ElasticLoadBalancingV2
|
|
3670
3724
|
# `source-ip`.
|
3671
3725
|
# @return [Types::SourceIpConditionConfig]
|
3672
3726
|
#
|
3727
|
+
# @!attribute [rw] regex_values
|
3728
|
+
# The regular expressions to match against the condition field. The
|
3729
|
+
# maximum length of each string is 128 characters. Specify only when
|
3730
|
+
# `Field` is `http-header`, `host-header`, or `path-pattern`.
|
3731
|
+
# @return [Array<String>]
|
3732
|
+
#
|
3673
3733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleCondition AWS API Documentation
|
3674
3734
|
#
|
3675
3735
|
class RuleCondition < Struct.new(
|
@@ -3680,7 +3740,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3680
3740
|
:http_header_config,
|
3681
3741
|
:query_string_config,
|
3682
3742
|
:http_request_method_config,
|
3683
|
-
:source_ip_config
|
3743
|
+
:source_ip_config,
|
3744
|
+
:regex_values)
|
3684
3745
|
SENSITIVE = []
|
3685
3746
|
include Aws::Structure
|
3686
3747
|
end
|
@@ -3710,6 +3771,38 @@ module Aws::ElasticLoadBalancingV2
|
|
3710
3771
|
include Aws::Structure
|
3711
3772
|
end
|
3712
3773
|
|
3774
|
+
# Information about a transform to apply to requests that match a rule.
|
3775
|
+
# Transforms are applied to requests before they are sent to targets.
|
3776
|
+
#
|
3777
|
+
# @!attribute [rw] type
|
3778
|
+
# The type of transform.
|
3779
|
+
#
|
3780
|
+
# * `host-header-rewrite` - Rewrite the host header.
|
3781
|
+
#
|
3782
|
+
# * `url-rewrite` - Rewrite the request URL.
|
3783
|
+
# @return [String]
|
3784
|
+
#
|
3785
|
+
# @!attribute [rw] host_header_rewrite_config
|
3786
|
+
# Information about a host header rewrite transform. This transform
|
3787
|
+
# modifies the host header in an HTTP request. Specify only when
|
3788
|
+
# `Type` is `host-header-rewrite`.
|
3789
|
+
# @return [Types::HostHeaderRewriteConfig]
|
3790
|
+
#
|
3791
|
+
# @!attribute [rw] url_rewrite_config
|
3792
|
+
# Information about a URL rewrite transform. This transform modifies
|
3793
|
+
# the request URL. Specify only when `Type` is `url-rewrite`.
|
3794
|
+
# @return [Types::UrlRewriteConfig]
|
3795
|
+
#
|
3796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleTransform AWS API Documentation
|
3797
|
+
#
|
3798
|
+
class RuleTransform < Struct.new(
|
3799
|
+
:type,
|
3800
|
+
:host_header_rewrite_config,
|
3801
|
+
:url_rewrite_config)
|
3802
|
+
SENSITIVE = []
|
3803
|
+
include Aws::Structure
|
3804
|
+
end
|
3805
|
+
|
3713
3806
|
# The specified SSL policy does not exist.
|
3714
3807
|
#
|
3715
3808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SSLPolicyNotFoundException AWS API Documentation
|
@@ -3844,8 +3937,13 @@ module Aws::ElasticLoadBalancingV2
|
|
3844
3937
|
# \[Application Load Balancers on Local Zones\] You can specify
|
3845
3938
|
# subnets from one or more Local Zones.
|
3846
3939
|
#
|
3847
|
-
# \[Network Load Balancers
|
3848
|
-
#
|
3940
|
+
# \[Network Load Balancers\] You can specify subnets from one or more
|
3941
|
+
# Availability Zones.
|
3942
|
+
#
|
3943
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
3944
|
+
# Availability Zones. You must include all subnets that were enabled
|
3945
|
+
# previously, with their existing configurations, plus any additional
|
3946
|
+
# subnets.
|
3849
3947
|
# @return [Array<String>]
|
3850
3948
|
#
|
3851
3949
|
# @!attribute [rw] subnet_mappings
|
@@ -4792,6 +4890,22 @@ module Aws::ElasticLoadBalancingV2
|
|
4792
4890
|
#
|
4793
4891
|
class UnsupportedProtocolException < Aws::EmptyStructure; end
|
4794
4892
|
|
4893
|
+
# Information about a URL rewrite transform. This transform matches a
|
4894
|
+
# pattern in the request URL and replaces it with the specified string.
|
4895
|
+
#
|
4896
|
+
# @!attribute [rw] rewrites
|
4897
|
+
# The URL rewrite transform to apply to the request. The transform
|
4898
|
+
# consists of a regular expression to match and a replacement string.
|
4899
|
+
# @return [Array<Types::RewriteConfig>]
|
4900
|
+
#
|
4901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/UrlRewriteConfig AWS API Documentation
|
4902
|
+
#
|
4903
|
+
class UrlRewriteConfig < Struct.new(
|
4904
|
+
:rewrites)
|
4905
|
+
SENSITIVE = []
|
4906
|
+
include Aws::Structure
|
4907
|
+
end
|
4908
|
+
|
4795
4909
|
# The capacity reservation status for each Availability Zone.
|
4796
4910
|
#
|
4797
4911
|
# @!attribute [rw] state
|
data/sig/client.rbs
CHANGED
@@ -263,14 +263,17 @@ module Aws
|
|
263
263
|
field: ::String?,
|
264
264
|
values: Array[::String]?,
|
265
265
|
host_header_config: {
|
266
|
-
values: Array[::String]
|
266
|
+
values: Array[::String]?,
|
267
|
+
regex_values: Array[::String]?
|
267
268
|
}?,
|
268
269
|
path_pattern_config: {
|
269
|
-
values: Array[::String]
|
270
|
+
values: Array[::String]?,
|
271
|
+
regex_values: Array[::String]?
|
270
272
|
}?,
|
271
273
|
http_header_config: {
|
272
274
|
http_header_name: ::String?,
|
273
|
-
values: Array[::String]
|
275
|
+
values: Array[::String]?,
|
276
|
+
regex_values: Array[::String]?
|
274
277
|
}?,
|
275
278
|
query_string_config: {
|
276
279
|
values: Array[
|
@@ -285,7 +288,8 @@ module Aws
|
|
285
288
|
}?,
|
286
289
|
source_ip_config: {
|
287
290
|
values: Array[::String]?
|
288
|
-
}
|
291
|
+
}?,
|
292
|
+
regex_values: Array[::String]?
|
289
293
|
},
|
290
294
|
],
|
291
295
|
priority: ::Integer,
|
@@ -350,6 +354,27 @@ module Aws
|
|
350
354
|
key: ::String,
|
351
355
|
value: ::String?
|
352
356
|
},
|
357
|
+
],
|
358
|
+
?transforms: Array[
|
359
|
+
{
|
360
|
+
type: ("host-header-rewrite" | "url-rewrite"),
|
361
|
+
host_header_rewrite_config: {
|
362
|
+
rewrites: Array[
|
363
|
+
{
|
364
|
+
regex: ::String,
|
365
|
+
replace: ::String
|
366
|
+
},
|
367
|
+
]?
|
368
|
+
}?,
|
369
|
+
url_rewrite_config: {
|
370
|
+
rewrites: Array[
|
371
|
+
{
|
372
|
+
regex: ::String,
|
373
|
+
replace: ::String
|
374
|
+
},
|
375
|
+
]?
|
376
|
+
}?
|
377
|
+
},
|
353
378
|
]
|
354
379
|
) -> _CreateRuleResponseSuccess
|
355
380
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
|
@@ -875,14 +900,17 @@ module Aws
|
|
875
900
|
field: ::String?,
|
876
901
|
values: Array[::String]?,
|
877
902
|
host_header_config: {
|
878
|
-
values: Array[::String]
|
903
|
+
values: Array[::String]?,
|
904
|
+
regex_values: Array[::String]?
|
879
905
|
}?,
|
880
906
|
path_pattern_config: {
|
881
|
-
values: Array[::String]
|
907
|
+
values: Array[::String]?,
|
908
|
+
regex_values: Array[::String]?
|
882
909
|
}?,
|
883
910
|
http_header_config: {
|
884
911
|
http_header_name: ::String?,
|
885
|
-
values: Array[::String]
|
912
|
+
values: Array[::String]?,
|
913
|
+
regex_values: Array[::String]?
|
886
914
|
}?,
|
887
915
|
query_string_config: {
|
888
916
|
values: Array[
|
@@ -897,7 +925,8 @@ module Aws
|
|
897
925
|
}?,
|
898
926
|
source_ip_config: {
|
899
927
|
values: Array[::String]?
|
900
|
-
}
|
928
|
+
}?,
|
929
|
+
regex_values: Array[::String]?
|
901
930
|
},
|
902
931
|
],
|
903
932
|
?actions: Array[
|
@@ -955,7 +984,29 @@ module Aws
|
|
955
984
|
}?
|
956
985
|
}?
|
957
986
|
},
|
958
|
-
]
|
987
|
+
],
|
988
|
+
?transforms: Array[
|
989
|
+
{
|
990
|
+
type: ("host-header-rewrite" | "url-rewrite"),
|
991
|
+
host_header_rewrite_config: {
|
992
|
+
rewrites: Array[
|
993
|
+
{
|
994
|
+
regex: ::String,
|
995
|
+
replace: ::String
|
996
|
+
},
|
997
|
+
]?
|
998
|
+
}?,
|
999
|
+
url_rewrite_config: {
|
1000
|
+
rewrites: Array[
|
1001
|
+
{
|
1002
|
+
regex: ::String,
|
1003
|
+
replace: ::String
|
1004
|
+
},
|
1005
|
+
]?
|
1006
|
+
}?
|
1007
|
+
},
|
1008
|
+
],
|
1009
|
+
?reset_transforms: bool
|
959
1010
|
) -> _ModifyRuleResponseSuccess
|
960
1011
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyRuleResponseSuccess
|
961
1012
|
|
data/sig/types.rbs
CHANGED
@@ -187,6 +187,7 @@ module Aws::ElasticLoadBalancingV2
|
|
187
187
|
attr_accessor priority: ::Integer
|
188
188
|
attr_accessor actions: ::Array[Types::Action]
|
189
189
|
attr_accessor tags: ::Array[Types::Tag]
|
190
|
+
attr_accessor transforms: ::Array[Types::RuleTransform]
|
190
191
|
SENSITIVE: []
|
191
192
|
end
|
192
193
|
|
@@ -570,12 +571,19 @@ module Aws::ElasticLoadBalancingV2
|
|
570
571
|
|
571
572
|
class HostHeaderConditionConfig
|
572
573
|
attr_accessor values: ::Array[::String]
|
574
|
+
attr_accessor regex_values: ::Array[::String]
|
575
|
+
SENSITIVE: []
|
576
|
+
end
|
577
|
+
|
578
|
+
class HostHeaderRewriteConfig
|
579
|
+
attr_accessor rewrites: ::Array[Types::RewriteConfig]
|
573
580
|
SENSITIVE: []
|
574
581
|
end
|
575
582
|
|
576
583
|
class HttpHeaderConditionConfig
|
577
584
|
attr_accessor http_header_name: ::String
|
578
585
|
attr_accessor values: ::Array[::String]
|
586
|
+
attr_accessor regex_values: ::Array[::String]
|
579
587
|
SENSITIVE: []
|
580
588
|
end
|
581
589
|
|
@@ -771,6 +779,8 @@ module Aws::ElasticLoadBalancingV2
|
|
771
779
|
attr_accessor rule_arn: ::String
|
772
780
|
attr_accessor conditions: ::Array[Types::RuleCondition]
|
773
781
|
attr_accessor actions: ::Array[Types::Action]
|
782
|
+
attr_accessor transforms: ::Array[Types::RuleTransform]
|
783
|
+
attr_accessor reset_transforms: bool
|
774
784
|
SENSITIVE: []
|
775
785
|
end
|
776
786
|
|
@@ -836,6 +846,7 @@ module Aws::ElasticLoadBalancingV2
|
|
836
846
|
|
837
847
|
class PathPatternConditionConfig
|
838
848
|
attr_accessor values: ::Array[::String]
|
849
|
+
attr_accessor regex_values: ::Array[::String]
|
839
850
|
SENSITIVE: []
|
840
851
|
end
|
841
852
|
|
@@ -922,12 +933,19 @@ module Aws::ElasticLoadBalancingV2
|
|
922
933
|
class RevocationIdNotFoundException < Aws::EmptyStructure
|
923
934
|
end
|
924
935
|
|
936
|
+
class RewriteConfig
|
937
|
+
attr_accessor regex: ::String
|
938
|
+
attr_accessor replace: ::String
|
939
|
+
SENSITIVE: []
|
940
|
+
end
|
941
|
+
|
925
942
|
class Rule
|
926
943
|
attr_accessor rule_arn: ::String
|
927
944
|
attr_accessor priority: ::String
|
928
945
|
attr_accessor conditions: ::Array[Types::RuleCondition]
|
929
946
|
attr_accessor actions: ::Array[Types::Action]
|
930
947
|
attr_accessor is_default: bool
|
948
|
+
attr_accessor transforms: ::Array[Types::RuleTransform]
|
931
949
|
SENSITIVE: []
|
932
950
|
end
|
933
951
|
|
@@ -940,6 +958,7 @@ module Aws::ElasticLoadBalancingV2
|
|
940
958
|
attr_accessor query_string_config: Types::QueryStringConditionConfig
|
941
959
|
attr_accessor http_request_method_config: Types::HttpRequestMethodConditionConfig
|
942
960
|
attr_accessor source_ip_config: Types::SourceIpConditionConfig
|
961
|
+
attr_accessor regex_values: ::Array[::String]
|
943
962
|
SENSITIVE: []
|
944
963
|
end
|
945
964
|
|
@@ -952,6 +971,13 @@ module Aws::ElasticLoadBalancingV2
|
|
952
971
|
SENSITIVE: []
|
953
972
|
end
|
954
973
|
|
974
|
+
class RuleTransform
|
975
|
+
attr_accessor type: ("host-header-rewrite" | "url-rewrite")
|
976
|
+
attr_accessor host_header_rewrite_config: Types::HostHeaderRewriteConfig
|
977
|
+
attr_accessor url_rewrite_config: Types::UrlRewriteConfig
|
978
|
+
SENSITIVE: []
|
979
|
+
end
|
980
|
+
|
955
981
|
class SSLPolicyNotFoundException < Aws::EmptyStructure
|
956
982
|
end
|
957
983
|
|
@@ -1184,6 +1210,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1184
1210
|
class UnsupportedProtocolException < Aws::EmptyStructure
|
1185
1211
|
end
|
1186
1212
|
|
1213
|
+
class UrlRewriteConfig
|
1214
|
+
attr_accessor rewrites: ::Array[Types::RewriteConfig]
|
1215
|
+
SENSITIVE: []
|
1216
|
+
end
|
1217
|
+
|
1187
1218
|
class ZonalCapacityReservationState
|
1188
1219
|
attr_accessor state: Types::CapacityReservationStatus
|
1189
1220
|
attr_accessor availability_zone: ::String
|