aws-sdk-elasticloadbalancingv2 1.119.0 → 1.121.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +69 -68
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +11 -0
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +123 -109
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- data/sig/client.rbs +9 -4
- data/sig/types.rbs +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a72abc1b32ba1210ecc333783410fec24b6ad56e62ef38c87c6d33b2e23a9169
|
4
|
+
data.tar.gz: d54b24a5bd7d60d5c52b585cca52d5fceefbdabbd17e35a61ee9665152e7f7b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31341420e5b02dd0bc76d07e932fb2687b9b8964f39f755d7ab1d0a08df9e33b5f2837f5c667735f23c663be9bf867a6560ecd905363d9448682b168434f4510
|
7
|
+
data.tar.gz: 132ab0cb2a3a66c1c1d5e6c881749331f6940813b0b4adf5db3514fa81e4ad64a82318c90dd4e50ebf1e1b5dd3a52ea6541e37a932d7e8ede76ce74a7437b31c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.121.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.120.0 (2024-10-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add UDP support for AWS PrivateLink and dual-stack Network Load Balancers
|
13
|
+
|
4
14
|
1.119.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.121.0
|
@@ -630,11 +630,11 @@ module Aws::ElasticLoadBalancingV2
|
|
630
630
|
# Application Load Balancers, the supported protocols are HTTP and
|
631
631
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
632
632
|
# TLS, UDP, and TCP\_UDP. You can’t specify the UDP or TCP\_UDP protocol
|
633
|
-
# if dual-stack mode is enabled. You
|
633
|
+
# if dual-stack mode is enabled. You can't specify a protocol for a
|
634
634
|
# Gateway Load Balancer.
|
635
635
|
#
|
636
636
|
# @option params [Integer] :port
|
637
|
-
# The port on which the load balancer is listening. You
|
637
|
+
# The port on which the load balancer is listening. You can't specify a
|
638
638
|
# port for a Gateway Load Balancer.
|
639
639
|
#
|
640
640
|
# @option params [String] :ssl_policy
|
@@ -974,11 +974,8 @@ module Aws::ElasticLoadBalancingV2
|
|
974
974
|
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
975
975
|
# from one or more Local Zones.
|
976
976
|
#
|
977
|
-
# \[Network Load Balancers\] You can specify
|
978
|
-
# Availability Zones.
|
979
|
-
#
|
980
|
-
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
981
|
-
# Availability Zones.
|
977
|
+
# \[Network Load Balancers and Gateway Load Balancers\] You can specify
|
978
|
+
# subnets from one or more Availability Zones.
|
982
979
|
#
|
983
980
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
984
981
|
# The IDs of the subnets. You can specify only one subnet per
|
@@ -986,7 +983,7 @@ module Aws::ElasticLoadBalancingV2
|
|
986
983
|
# but not both.
|
987
984
|
#
|
988
985
|
# \[Application Load Balancers\] You must specify subnets from at least
|
989
|
-
# two Availability Zones. You
|
986
|
+
# two Availability Zones. You can't specify Elastic IP addresses for
|
990
987
|
# your subnets.
|
991
988
|
#
|
992
989
|
# \[Application Load Balancers on Outposts\] You must specify one
|
@@ -1004,7 +1001,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1004
1001
|
# subnet.
|
1005
1002
|
#
|
1006
1003
|
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
1007
|
-
# Availability Zones. You
|
1004
|
+
# Availability Zones. You can't specify Elastic IP addresses for your
|
1008
1005
|
# subnets.
|
1009
1006
|
#
|
1010
1007
|
# @option params [Array<String>] :security_groups
|
@@ -1026,7 +1023,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1026
1023
|
#
|
1027
1024
|
# The default is an Internet-facing load balancer.
|
1028
1025
|
#
|
1029
|
-
# You
|
1026
|
+
# You can't specify a scheme for a Gateway Load Balancer.
|
1030
1027
|
#
|
1031
1028
|
# @option params [Array<Types::Tag>] :tags
|
1032
1029
|
# The tags to assign to the load balancer.
|
@@ -1035,26 +1032,26 @@ module Aws::ElasticLoadBalancingV2
|
|
1035
1032
|
# The type of load balancer. The default is `application`.
|
1036
1033
|
#
|
1037
1034
|
# @option params [String] :ip_address_type
|
1038
|
-
#
|
1039
|
-
#
|
1040
|
-
# \[Application Load Balancers\] The IP address type. The possible
|
1041
|
-
# values are `ipv4` (for only IPv4 addresses), `dualstack` (for IPv4 and
|
1042
|
-
# IPv6 addresses), and `dualstack-without-public-ipv4` (for IPv6 only
|
1043
|
-
# public addresses, with private IPv4 and IPv6 addresses).
|
1035
|
+
# The IP address type. Internal load balancers must use `ipv4`.
|
1044
1036
|
#
|
1045
|
-
# \[
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1037
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
1038
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
1039
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
1040
|
+
# IPv4 and IPv6 addresses).
|
1049
1041
|
#
|
1050
|
-
# \[
|
1051
|
-
# are `ipv4` (
|
1052
|
-
#
|
1042
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
1043
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
1044
|
+
# addresses).
|
1053
1045
|
#
|
1054
1046
|
# @option params [String] :customer_owned_ipv_4_pool
|
1055
1047
|
# \[Application Load Balancers on Outposts\] The ID of the
|
1056
1048
|
# customer-owned address pool (CoIP pool).
|
1057
1049
|
#
|
1050
|
+
# @option params [String] :enable_prefix_for_ipv_6_source_nat
|
1051
|
+
# \[Network Load Balancers with UDP listeners\] Indicates whether to use
|
1052
|
+
# an IPv6 prefix from each subnet for source NAT. The IP address type
|
1053
|
+
# must be `dualstack`. The default value is `off`.
|
1054
|
+
#
|
1058
1055
|
# @return [Types::CreateLoadBalancerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1059
1056
|
#
|
1060
1057
|
# * {Types::CreateLoadBalancerOutput#load_balancers #load_balancers} => Array<Types::LoadBalancer>
|
@@ -1162,6 +1159,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1162
1159
|
# allocation_id: "AllocationId",
|
1163
1160
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
1164
1161
|
# i_pv_6_address: "IPv6Address",
|
1162
|
+
# source_nat_ipv_6_prefix: "SourceNatIpv6Prefix",
|
1165
1163
|
# },
|
1166
1164
|
# ],
|
1167
1165
|
# security_groups: ["SecurityGroupId"],
|
@@ -1175,6 +1173,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1175
1173
|
# type: "application", # accepts application, network, gateway
|
1176
1174
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack, dualstack-without-public-ipv4
|
1177
1175
|
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
|
1176
|
+
# enable_prefix_for_ipv_6_source_nat: "on", # accepts on, off
|
1178
1177
|
# })
|
1179
1178
|
#
|
1180
1179
|
# @example Response structure
|
@@ -1199,11 +1198,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1199
1198
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
1200
1199
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
|
1201
1200
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
|
1201
|
+
# resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes #=> Array
|
1202
|
+
# resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes[0] #=> String
|
1202
1203
|
# resp.load_balancers[0].security_groups #=> Array
|
1203
1204
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1204
1205
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack", "dualstack-without-public-ipv4"
|
1205
1206
|
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
1206
1207
|
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
|
1208
|
+
# resp.load_balancers[0].enable_prefix_for_ipv_6_source_nat #=> String, one of "on", "off"
|
1207
1209
|
#
|
1208
1210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer AWS API Documentation
|
1209
1211
|
#
|
@@ -1547,7 +1549,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1547
1549
|
# Indicates whether health checks are enabled. If the target type is
|
1548
1550
|
# `lambda`, health checks are disabled by default but can be enabled. If
|
1549
1551
|
# the target type is `instance`, `ip`, or `alb`, health checks are
|
1550
|
-
# always enabled and
|
1552
|
+
# always enabled and can't be disabled.
|
1551
1553
|
#
|
1552
1554
|
# @option params [String] :health_check_path
|
1553
1555
|
# \[HTTP/HTTPS health checks\] The destination for health checks on the
|
@@ -1617,9 +1619,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1617
1619
|
# The tags to assign to the target group.
|
1618
1620
|
#
|
1619
1621
|
# @option params [String] :ip_address_type
|
1620
|
-
# The
|
1621
|
-
# are `ipv4` and `ipv6`. This is an optional parameter. If not
|
1622
|
-
# specified, the IP address type defaults to `ipv4`.
|
1622
|
+
# The IP address type. The default value is `ipv4`.
|
1623
1623
|
#
|
1624
1624
|
# @return [Types::CreateTargetGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1625
1625
|
#
|
@@ -1729,7 +1729,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1729
1729
|
# @option params [required, String] :name
|
1730
1730
|
# The name of the trust store.
|
1731
1731
|
#
|
1732
|
-
# This name must be unique per region and
|
1732
|
+
# This name must be unique per region and can't be changed after
|
1733
1733
|
# creation.
|
1734
1734
|
#
|
1735
1735
|
# @option params [required, String] :ca_certificates_bundle_s3_bucket
|
@@ -2523,11 +2523,14 @@ module Aws::ElasticLoadBalancingV2
|
|
2523
2523
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
2524
2524
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
|
2525
2525
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
|
2526
|
+
# resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes #=> Array
|
2527
|
+
# resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes[0] #=> String
|
2526
2528
|
# resp.load_balancers[0].security_groups #=> Array
|
2527
2529
|
# resp.load_balancers[0].security_groups[0] #=> String
|
2528
2530
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack", "dualstack-without-public-ipv4"
|
2529
2531
|
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
2530
2532
|
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
|
2533
|
+
# resp.load_balancers[0].enable_prefix_for_ipv_6_source_nat #=> String, one of "on", "off"
|
2531
2534
|
# resp.next_marker #=> String
|
2532
2535
|
#
|
2533
2536
|
#
|
@@ -3495,7 +3498,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3495
3498
|
# The Amazon Resource Name (ARN) of the listener.
|
3496
3499
|
#
|
3497
3500
|
# @option params [Integer] :port
|
3498
|
-
# The port for connections from clients to the load balancer. You
|
3501
|
+
# The port for connections from clients to the load balancer. You can't
|
3499
3502
|
# specify a port for a Gateway Load Balancer.
|
3500
3503
|
#
|
3501
3504
|
# @option params [String] :protocol
|
@@ -3503,7 +3506,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3503
3506
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
3504
3507
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
3505
3508
|
# protocols. You can’t change the protocol to UDP or TCP\_UDP if
|
3506
|
-
# dual-stack mode is enabled. You
|
3509
|
+
# dual-stack mode is enabled. You can't specify a protocol for a
|
3507
3510
|
# Gateway Load Balancer.
|
3508
3511
|
#
|
3509
3512
|
# @option params [String] :ssl_policy
|
@@ -4502,7 +4505,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4502
4505
|
# register each EC2 instance or IP address with the same target group
|
4503
4506
|
# multiple times using different ports.
|
4504
4507
|
#
|
4505
|
-
# With a Network Load Balancer, you
|
4508
|
+
# With a Network Load Balancer, you can't register instances by
|
4506
4509
|
# instance ID if they have the following instance types: C1, CC1, CC2,
|
4507
4510
|
# CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can
|
4508
4511
|
# register instances of these types by IP address.
|
@@ -4684,27 +4687,21 @@ module Aws::ElasticLoadBalancingV2
|
|
4684
4687
|
# The Amazon Resource Name (ARN) of the load balancer.
|
4685
4688
|
#
|
4686
4689
|
# @option params [required, String] :ip_address_type
|
4687
|
-
#
|
4690
|
+
# The IP address type. Internal load balancers must use `ipv4`.
|
4688
4691
|
#
|
4689
|
-
# \[Application Load Balancers\] The
|
4690
|
-
#
|
4691
|
-
#
|
4692
|
-
#
|
4692
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
4693
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
4694
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
4695
|
+
# IPv4 and IPv6 addresses).
|
4693
4696
|
#
|
4694
|
-
#
|
4695
|
-
#
|
4696
|
-
#
|
4697
|
-
#
|
4698
|
-
# errors.
|
4697
|
+
# Application Load Balancer authentication supports IPv4 addresses only
|
4698
|
+
# when connecting to an Identity Provider (IdP) or Amazon Cognito
|
4699
|
+
# endpoint. Without a public IPv4 address the load balancer can't
|
4700
|
+
# complete the authentication process, resulting in HTTP 500 errors.
|
4699
4701
|
#
|
4700
|
-
# \[Network Load Balancers
|
4701
|
-
# are `ipv4` (
|
4702
|
-
#
|
4703
|
-
# with a UDP or TCP\_UDP listener.
|
4704
|
-
#
|
4705
|
-
# \[Gateway Load Balancers\] The IP address type. The possible values
|
4706
|
-
# are `ipv4` (for only IPv4 addresses) and `dualstack` (for IPv4 and
|
4707
|
-
# IPv6 addresses).
|
4702
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
4703
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
4704
|
+
# addresses).
|
4708
4705
|
#
|
4709
4706
|
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4710
4707
|
#
|
@@ -4960,18 +4957,15 @@ module Aws::ElasticLoadBalancingV2
|
|
4960
4957
|
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
4961
4958
|
# from one or more Local Zones.
|
4962
4959
|
#
|
4963
|
-
# \[Network Load Balancers\] You can specify
|
4964
|
-
# Availability Zones.
|
4965
|
-
#
|
4966
|
-
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
4967
|
-
# Availability Zones.
|
4960
|
+
# \[Network Load Balancers and Gateway Load Balancers\] You can specify
|
4961
|
+
# subnets from one or more Availability Zones.
|
4968
4962
|
#
|
4969
4963
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
4970
4964
|
# The IDs of the public subnets. You can specify only one subnet per
|
4971
4965
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
4972
4966
|
#
|
4973
4967
|
# \[Application Load Balancers\] You must specify subnets from at least
|
4974
|
-
# two Availability Zones. You
|
4968
|
+
# two Availability Zones. You can't specify Elastic IP addresses for
|
4975
4969
|
# your subnets.
|
4976
4970
|
#
|
4977
4971
|
# \[Application Load Balancers on Outposts\] You must specify one
|
@@ -4992,25 +4986,27 @@ module Aws::ElasticLoadBalancingV2
|
|
4992
4986
|
# Availability Zones.
|
4993
4987
|
#
|
4994
4988
|
# @option params [String] :ip_address_type
|
4995
|
-
#
|
4996
|
-
#
|
4997
|
-
#
|
4998
|
-
#
|
4989
|
+
# The IP address type.
|
4990
|
+
#
|
4991
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
4992
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
4993
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
4994
|
+
# IPv4 and IPv6 addresses).
|
4999
4995
|
#
|
5000
|
-
# \[Network Load Balancers
|
5001
|
-
#
|
5002
|
-
#
|
5003
|
-
# can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
|
5004
|
-
# listener.
|
4996
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
4997
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
4998
|
+
# addresses).
|
5005
4999
|
#
|
5006
|
-
#
|
5007
|
-
#
|
5008
|
-
#
|
5000
|
+
# @option params [String] :enable_prefix_for_ipv_6_source_nat
|
5001
|
+
# \[Network Load Balancers with UDP listeners\] Indicates whether to use
|
5002
|
+
# an IPv6 prefix from each subnet for source NAT. The IP address type
|
5003
|
+
# must be `dualstack`. The default value is `off`.
|
5009
5004
|
#
|
5010
5005
|
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5011
5006
|
#
|
5012
5007
|
# * {Types::SetSubnetsOutput#availability_zones #availability_zones} => Array<Types::AvailabilityZone>
|
5013
5008
|
# * {Types::SetSubnetsOutput#ip_address_type #ip_address_type} => String
|
5009
|
+
# * {Types::SetSubnetsOutput#enable_prefix_for_ipv_6_source_nat #enable_prefix_for_ipv_6_source_nat} => String
|
5014
5010
|
#
|
5015
5011
|
#
|
5016
5012
|
# @example Example: To enable Availability Zones for a load balancer
|
@@ -5050,9 +5046,11 @@ module Aws::ElasticLoadBalancingV2
|
|
5050
5046
|
# allocation_id: "AllocationId",
|
5051
5047
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
5052
5048
|
# i_pv_6_address: "IPv6Address",
|
5049
|
+
# source_nat_ipv_6_prefix: "SourceNatIpv6Prefix",
|
5053
5050
|
# },
|
5054
5051
|
# ],
|
5055
5052
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack, dualstack-without-public-ipv4
|
5053
|
+
# enable_prefix_for_ipv_6_source_nat: "on", # accepts on, off
|
5056
5054
|
# })
|
5057
5055
|
#
|
5058
5056
|
# @example Response structure
|
@@ -5066,7 +5064,10 @@ module Aws::ElasticLoadBalancingV2
|
|
5066
5064
|
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
5067
5065
|
# resp.availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
|
5068
5066
|
# resp.availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
|
5067
|
+
# resp.availability_zones[0].source_nat_ipv_6_prefixes #=> Array
|
5068
|
+
# resp.availability_zones[0].source_nat_ipv_6_prefixes[0] #=> String
|
5069
5069
|
# resp.ip_address_type #=> String, one of "ipv4", "dualstack", "dualstack-without-public-ipv4"
|
5070
|
+
# resp.enable_prefix_for_ipv_6_source_nat #=> String, one of "on", "off"
|
5070
5071
|
#
|
5071
5072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
|
5072
5073
|
#
|
@@ -5095,7 +5096,7 @@ module Aws::ElasticLoadBalancingV2
|
|
5095
5096
|
tracer: tracer
|
5096
5097
|
)
|
5097
5098
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
5098
|
-
context[:gem_version] = '1.
|
5099
|
+
context[:gem_version] = '1.121.0'
|
5099
5100
|
Seahorse::Client::Request.new(handlers, context)
|
5100
5101
|
end
|
5101
5102
|
|
@@ -140,6 +140,7 @@ module Aws::ElasticLoadBalancingV2
|
|
140
140
|
DuplicateTagKeysException = Shapes::StructureShape.new(name: 'DuplicateTagKeysException', error: {"code"=>"DuplicateTagKeys", "httpStatusCode"=>400, "senderFault"=>true})
|
141
141
|
DuplicateTargetGroupNameException = Shapes::StructureShape.new(name: 'DuplicateTargetGroupNameException', error: {"code"=>"DuplicateTargetGroupName", "httpStatusCode"=>400, "senderFault"=>true})
|
142
142
|
DuplicateTrustStoreNameException = Shapes::StructureShape.new(name: 'DuplicateTrustStoreNameException', error: {"code"=>"DuplicateTrustStoreName", "httpStatusCode"=>400, "senderFault"=>true})
|
143
|
+
EnablePrefixForIpv6SourceNatEnum = Shapes::StringShape.new(name: 'EnablePrefixForIpv6SourceNatEnum')
|
143
144
|
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = Shapes::StringShape.new(name: 'EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic')
|
144
145
|
EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = Shapes::StringShape.new(name: 'EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum')
|
145
146
|
FixedResponseActionConfig = Shapes::StructureShape.new(name: 'FixedResponseActionConfig')
|
@@ -298,6 +299,8 @@ module Aws::ElasticLoadBalancingV2
|
|
298
299
|
SetSubnetsInput = Shapes::StructureShape.new(name: 'SetSubnetsInput')
|
299
300
|
SetSubnetsOutput = Shapes::StructureShape.new(name: 'SetSubnetsOutput')
|
300
301
|
SourceIpConditionConfig = Shapes::StructureShape.new(name: 'SourceIpConditionConfig')
|
302
|
+
SourceNatIpv6Prefix = Shapes::StringShape.new(name: 'SourceNatIpv6Prefix')
|
303
|
+
SourceNatIpv6Prefixes = Shapes::ListShape.new(name: 'SourceNatIpv6Prefixes')
|
301
304
|
SslPolicies = Shapes::ListShape.new(name: 'SslPolicies')
|
302
305
|
SslPolicy = Shapes::StructureShape.new(name: 'SslPolicy')
|
303
306
|
SslPolicyName = Shapes::StringShape.new(name: 'SslPolicyName')
|
@@ -464,6 +467,7 @@ module Aws::ElasticLoadBalancingV2
|
|
464
467
|
AvailabilityZone.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
465
468
|
AvailabilityZone.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
466
469
|
AvailabilityZone.add_member(:load_balancer_addresses, Shapes::ShapeRef.new(shape: LoadBalancerAddresses, location_name: "LoadBalancerAddresses"))
|
470
|
+
AvailabilityZone.add_member(:source_nat_ipv_6_prefixes, Shapes::ShapeRef.new(shape: SourceNatIpv6Prefixes, location_name: "SourceNatIpv6Prefixes"))
|
467
471
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
468
472
|
|
469
473
|
AvailabilityZoneNotSupportedException.struct_class = Types::AvailabilityZoneNotSupportedException
|
@@ -509,6 +513,7 @@ module Aws::ElasticLoadBalancingV2
|
|
509
513
|
CreateLoadBalancerInput.add_member(:type, Shapes::ShapeRef.new(shape: LoadBalancerTypeEnum, location_name: "Type"))
|
510
514
|
CreateLoadBalancerInput.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
511
515
|
CreateLoadBalancerInput.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
516
|
+
CreateLoadBalancerInput.add_member(:enable_prefix_for_ipv_6_source_nat, Shapes::ShapeRef.new(shape: EnablePrefixForIpv6SourceNatEnum, location_name: "EnablePrefixForIpv6SourceNat"))
|
512
517
|
CreateLoadBalancerInput.struct_class = Types::CreateLoadBalancerInput
|
513
518
|
|
514
519
|
CreateLoadBalancerOutput.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "LoadBalancers"))
|
@@ -847,6 +852,7 @@ module Aws::ElasticLoadBalancingV2
|
|
847
852
|
LoadBalancer.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
848
853
|
LoadBalancer.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
849
854
|
LoadBalancer.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
855
|
+
LoadBalancer.add_member(:enable_prefix_for_ipv_6_source_nat, Shapes::ShapeRef.new(shape: EnablePrefixForIpv6SourceNatEnum, location_name: "EnablePrefixForIpv6SourceNat"))
|
850
856
|
LoadBalancer.struct_class = Types::LoadBalancer
|
851
857
|
|
852
858
|
LoadBalancerAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
@@ -1080,15 +1086,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1080
1086
|
SetSubnetsInput.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, location_name: "Subnets"))
|
1081
1087
|
SetSubnetsInput.add_member(:subnet_mappings, Shapes::ShapeRef.new(shape: SubnetMappings, location_name: "SubnetMappings"))
|
1082
1088
|
SetSubnetsInput.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
1089
|
+
SetSubnetsInput.add_member(:enable_prefix_for_ipv_6_source_nat, Shapes::ShapeRef.new(shape: EnablePrefixForIpv6SourceNatEnum, location_name: "EnablePrefixForIpv6SourceNat"))
|
1083
1090
|
SetSubnetsInput.struct_class = Types::SetSubnetsInput
|
1084
1091
|
|
1085
1092
|
SetSubnetsOutput.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
1086
1093
|
SetSubnetsOutput.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
1094
|
+
SetSubnetsOutput.add_member(:enable_prefix_for_ipv_6_source_nat, Shapes::ShapeRef.new(shape: EnablePrefixForIpv6SourceNatEnum, location_name: "EnablePrefixForIpv6SourceNat"))
|
1087
1095
|
SetSubnetsOutput.struct_class = Types::SetSubnetsOutput
|
1088
1096
|
|
1089
1097
|
SourceIpConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
1090
1098
|
SourceIpConditionConfig.struct_class = Types::SourceIpConditionConfig
|
1091
1099
|
|
1100
|
+
SourceNatIpv6Prefixes.member = Shapes::ShapeRef.new(shape: SourceNatIpv6Prefix)
|
1101
|
+
|
1092
1102
|
SslPolicies.member = Shapes::ShapeRef.new(shape: SslPolicy)
|
1093
1103
|
|
1094
1104
|
SslPolicy.add_member(:ssl_protocols, Shapes::ShapeRef.new(shape: SslProtocols, location_name: "SslProtocols"))
|
@@ -1105,6 +1115,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1105
1115
|
SubnetMapping.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId"))
|
1106
1116
|
SubnetMapping.add_member(:private_i_pv_4_address, Shapes::ShapeRef.new(shape: PrivateIPv4Address, location_name: "PrivateIPv4Address"))
|
1107
1117
|
SubnetMapping.add_member(:i_pv_6_address, Shapes::ShapeRef.new(shape: IPv6Address, location_name: "IPv6Address"))
|
1118
|
+
SubnetMapping.add_member(:source_nat_ipv_6_prefix, Shapes::ShapeRef.new(shape: SourceNatIpv6Prefix, location_name: "SourceNatIpv6Prefix"))
|
1108
1119
|
SubnetMapping.struct_class = Types::SubnetMapping
|
1109
1120
|
|
1110
1121
|
SubnetMappings.member = Shapes::ShapeRef.new(shape: SubnetMapping)
|
@@ -399,13 +399,21 @@ module Aws::ElasticLoadBalancingV2
|
|
399
399
|
# from the IPv4 range of the subnet.
|
400
400
|
# @return [Array<Types::LoadBalancerAddress>]
|
401
401
|
#
|
402
|
+
# @!attribute [rw] source_nat_ipv_6_prefixes
|
403
|
+
# \[Network Load Balancers with UDP listeners\] The IPv6 prefixes to
|
404
|
+
# use for source NAT. For each subnet, specify an IPv6 prefix (/80
|
405
|
+
# netmask) from the subnet CIDR block or `auto_assigned` to use an
|
406
|
+
# IPv6 prefix selected at random from the subnet CIDR block.
|
407
|
+
# @return [Array<String>]
|
408
|
+
#
|
402
409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZone AWS API Documentation
|
403
410
|
#
|
404
411
|
class AvailabilityZone < Struct.new(
|
405
412
|
:zone_name,
|
406
413
|
:subnet_id,
|
407
414
|
:outpost_id,
|
408
|
-
:load_balancer_addresses
|
415
|
+
:load_balancer_addresses,
|
416
|
+
:source_nat_ipv_6_prefixes)
|
409
417
|
SENSITIVE = []
|
410
418
|
include Aws::Structure
|
411
419
|
end
|
@@ -478,12 +486,12 @@ module Aws::ElasticLoadBalancingV2
|
|
478
486
|
# Application Load Balancers, the supported protocols are HTTP and
|
479
487
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
480
488
|
# TLS, UDP, and TCP\_UDP. You can’t specify the UDP or TCP\_UDP
|
481
|
-
# protocol if dual-stack mode is enabled. You
|
489
|
+
# protocol if dual-stack mode is enabled. You can't specify a
|
482
490
|
# protocol for a Gateway Load Balancer.
|
483
491
|
# @return [String]
|
484
492
|
#
|
485
493
|
# @!attribute [rw] port
|
486
|
-
# The port on which the load balancer is listening. You
|
494
|
+
# The port on which the load balancer is listening. You can't specify
|
487
495
|
# a port for a Gateway Load Balancer.
|
488
496
|
# @return [Integer]
|
489
497
|
#
|
@@ -594,11 +602,8 @@ module Aws::ElasticLoadBalancingV2
|
|
594
602
|
# \[Application Load Balancers on Local Zones\] You can specify
|
595
603
|
# subnets from one or more Local Zones.
|
596
604
|
#
|
597
|
-
# \[Network Load Balancers\] You can
|
598
|
-
# Availability Zones.
|
599
|
-
#
|
600
|
-
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
601
|
-
# Availability Zones.
|
605
|
+
# \[Network Load Balancers and Gateway Load Balancers\] You can
|
606
|
+
# specify subnets from one or more Availability Zones.
|
602
607
|
# @return [Array<String>]
|
603
608
|
#
|
604
609
|
# @!attribute [rw] subnet_mappings
|
@@ -607,7 +612,7 @@ module Aws::ElasticLoadBalancingV2
|
|
607
612
|
# mappings, but not both.
|
608
613
|
#
|
609
614
|
# \[Application Load Balancers\] You must specify subnets from at
|
610
|
-
# least two Availability Zones. You
|
615
|
+
# least two Availability Zones. You can't specify Elastic IP
|
611
616
|
# addresses for your subnets.
|
612
617
|
#
|
613
618
|
# \[Application Load Balancers on Outposts\] You must specify one
|
@@ -625,7 +630,7 @@ module Aws::ElasticLoadBalancingV2
|
|
625
630
|
# subnet.
|
626
631
|
#
|
627
632
|
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
628
|
-
# Availability Zones. You
|
633
|
+
# Availability Zones. You can't specify Elastic IP addresses for your
|
629
634
|
# subnets.
|
630
635
|
# @return [Array<Types::SubnetMapping>]
|
631
636
|
#
|
@@ -649,7 +654,7 @@ module Aws::ElasticLoadBalancingV2
|
|
649
654
|
#
|
650
655
|
# The default is an Internet-facing load balancer.
|
651
656
|
#
|
652
|
-
# You
|
657
|
+
# You can't specify a scheme for a Gateway Load Balancer.
|
653
658
|
# @return [String]
|
654
659
|
#
|
655
660
|
# @!attribute [rw] tags
|
@@ -661,21 +666,16 @@ module Aws::ElasticLoadBalancingV2
|
|
661
666
|
# @return [String]
|
662
667
|
#
|
663
668
|
# @!attribute [rw] ip_address_type
|
664
|
-
#
|
669
|
+
# The IP address type. Internal load balancers must use `ipv4`.
|
665
670
|
#
|
666
|
-
# \[Application Load Balancers\] The
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
671
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
672
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
673
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
674
|
+
# IPv4 and IPv6 addresses).
|
670
675
|
#
|
671
|
-
# \[Network Load Balancers
|
672
|
-
# are `ipv4` (
|
673
|
-
#
|
674
|
-
# with a UDP or TCP\_UDP listener.
|
675
|
-
#
|
676
|
-
# \[Gateway Load Balancers\] The IP address type. The possible values
|
677
|
-
# are `ipv4` (for only IPv4 addresses) and `dualstack` (for IPv4 and
|
678
|
-
# IPv6 addresses).
|
676
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
677
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
678
|
+
# addresses).
|
679
679
|
# @return [String]
|
680
680
|
#
|
681
681
|
# @!attribute [rw] customer_owned_ipv_4_pool
|
@@ -683,6 +683,12 @@ module Aws::ElasticLoadBalancingV2
|
|
683
683
|
# customer-owned address pool (CoIP pool).
|
684
684
|
# @return [String]
|
685
685
|
#
|
686
|
+
# @!attribute [rw] enable_prefix_for_ipv_6_source_nat
|
687
|
+
# \[Network Load Balancers with UDP listeners\] Indicates whether to
|
688
|
+
# use an IPv6 prefix from each subnet for source NAT. The IP address
|
689
|
+
# type must be `dualstack`. The default value is `off`.
|
690
|
+
# @return [String]
|
691
|
+
#
|
686
692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput AWS API Documentation
|
687
693
|
#
|
688
694
|
class CreateLoadBalancerInput < Struct.new(
|
@@ -694,7 +700,8 @@ module Aws::ElasticLoadBalancingV2
|
|
694
700
|
:tags,
|
695
701
|
:type,
|
696
702
|
:ip_address_type,
|
697
|
-
:customer_owned_ipv_4_pool
|
703
|
+
:customer_owned_ipv_4_pool,
|
704
|
+
:enable_prefix_for_ipv_6_source_nat)
|
698
705
|
SENSITIVE = []
|
699
706
|
include Aws::Structure
|
700
707
|
end
|
@@ -815,7 +822,7 @@ module Aws::ElasticLoadBalancingV2
|
|
815
822
|
# Indicates whether health checks are enabled. If the target type is
|
816
823
|
# `lambda`, health checks are disabled by default but can be enabled.
|
817
824
|
# If the target type is `instance`, `ip`, or `alb`, health checks are
|
818
|
-
# always enabled and
|
825
|
+
# always enabled and can't be disabled.
|
819
826
|
# @return [Boolean]
|
820
827
|
#
|
821
828
|
# @!attribute [rw] health_check_path
|
@@ -897,9 +904,7 @@ module Aws::ElasticLoadBalancingV2
|
|
897
904
|
# @return [Array<Types::Tag>]
|
898
905
|
#
|
899
906
|
# @!attribute [rw] ip_address_type
|
900
|
-
# The
|
901
|
-
# values are `ipv4` and `ipv6`. This is an optional parameter. If not
|
902
|
-
# specified, the IP address type defaults to `ipv4`.
|
907
|
+
# The IP address type. The default value is `ipv4`.
|
903
908
|
# @return [String]
|
904
909
|
#
|
905
910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput AWS API Documentation
|
@@ -941,7 +946,7 @@ module Aws::ElasticLoadBalancingV2
|
|
941
946
|
# @!attribute [rw] name
|
942
947
|
# The name of the trust store.
|
943
948
|
#
|
944
|
-
# This name must be unique per region and
|
949
|
+
# This name must be unique per region and can't be changed after
|
945
950
|
# creation.
|
946
951
|
# @return [String]
|
947
952
|
#
|
@@ -986,7 +991,7 @@ module Aws::ElasticLoadBalancingV2
|
|
986
991
|
include Aws::Structure
|
987
992
|
end
|
988
993
|
|
989
|
-
# The specified association
|
994
|
+
# The specified association can't be within the same account.
|
990
995
|
#
|
991
996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteAssociationSameAccountException AWS API Documentation
|
992
997
|
#
|
@@ -2247,17 +2252,17 @@ module Aws::ElasticLoadBalancingV2
|
|
2247
2252
|
# @return [Array<String>]
|
2248
2253
|
#
|
2249
2254
|
# @!attribute [rw] ip_address_type
|
2250
|
-
#
|
2251
|
-
#
|
2252
|
-
#
|
2253
|
-
#
|
2254
|
-
# `dualstack
|
2255
|
-
#
|
2255
|
+
# The type of IP addresses used for public or private connections by
|
2256
|
+
# the subnets attached to your load balancer.
|
2257
|
+
#
|
2258
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
2259
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
2260
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
2261
|
+
# IPv4 and IPv6 addresses).
|
2256
2262
|
#
|
2257
|
-
# \[Network Load Balancers and Gateway Load Balancers\] The
|
2258
|
-
#
|
2259
|
-
#
|
2260
|
-
# only IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses).
|
2263
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
2264
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
2265
|
+
# addresses).
|
2261
2266
|
# @return [String]
|
2262
2267
|
#
|
2263
2268
|
# @!attribute [rw] customer_owned_ipv_4_pool
|
@@ -2271,6 +2276,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2271
2276
|
# PrivateLink.
|
2272
2277
|
# @return [String]
|
2273
2278
|
#
|
2279
|
+
# @!attribute [rw] enable_prefix_for_ipv_6_source_nat
|
2280
|
+
# \[Network Load Balancers with UDP listeners\] Indicates whether to
|
2281
|
+
# use an IPv6 prefix from each subnet for source NAT. The IP address
|
2282
|
+
# type must be `dualstack`. The default value is `off`.
|
2283
|
+
# @return [String]
|
2284
|
+
#
|
2274
2285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer AWS API Documentation
|
2275
2286
|
#
|
2276
2287
|
class LoadBalancer < Struct.new(
|
@@ -2287,7 +2298,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2287
2298
|
:security_groups,
|
2288
2299
|
:ip_address_type,
|
2289
2300
|
:customer_owned_ipv_4_pool,
|
2290
|
-
:enforce_security_group_inbound_rules_on_private_link_traffic
|
2301
|
+
:enforce_security_group_inbound_rules_on_private_link_traffic,
|
2302
|
+
:enable_prefix_for_ipv_6_source_nat)
|
2291
2303
|
SENSITIVE = []
|
2292
2304
|
include Aws::Structure
|
2293
2305
|
end
|
@@ -2338,7 +2350,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2338
2350
|
# load balancing is enabled. The possible values are `true` and
|
2339
2351
|
# `false`. The default for Network Load Balancers and Gateway Load
|
2340
2352
|
# Balancers is `false`. The default for Application Load Balancers
|
2341
|
-
# is `true`, and
|
2353
|
+
# is `true`, and can't be changed.
|
2342
2354
|
#
|
2343
2355
|
# The following attributes are supported by both Application Load
|
2344
2356
|
# Balancers and Network Load Balancers:
|
@@ -2573,7 +2585,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2573
2585
|
#
|
2574
2586
|
# @!attribute [rw] port
|
2575
2587
|
# The port for connections from clients to the load balancer. You
|
2576
|
-
#
|
2588
|
+
# can't specify a port for a Gateway Load Balancer.
|
2577
2589
|
# @return [Integer]
|
2578
2590
|
#
|
2579
2591
|
# @!attribute [rw] protocol
|
@@ -2581,7 +2593,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2581
2593
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2582
2594
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2583
2595
|
# protocols. You can’t change the protocol to UDP or TCP\_UDP if
|
2584
|
-
# dual-stack mode is enabled. You
|
2596
|
+
# dual-stack mode is enabled. You can't specify a protocol for a
|
2585
2597
|
# Gateway Load Balancer.
|
2586
2598
|
# @return [String]
|
2587
2599
|
#
|
@@ -3010,39 +3022,39 @@ module Aws::ElasticLoadBalancingV2
|
|
3010
3022
|
#
|
3011
3023
|
# You can reuse URI components using the following reserved keywords:
|
3012
3024
|
#
|
3013
|
-
# *
|
3025
|
+
# * \#\{protocol}
|
3014
3026
|
#
|
3015
|
-
# *
|
3027
|
+
# * \#\{host}
|
3016
3028
|
#
|
3017
|
-
# *
|
3029
|
+
# * \#\{port}
|
3018
3030
|
#
|
3019
|
-
# *
|
3031
|
+
# * \#\{path} (the leading "/" is removed)
|
3020
3032
|
#
|
3021
|
-
# *
|
3033
|
+
# * \#\{query}
|
3022
3034
|
#
|
3023
|
-
# For example, you can change the path to "/new
|
3024
|
-
# hostname to "example
|
3025
|
-
# "
|
3035
|
+
# For example, you can change the path to "/new/#\{path}", the
|
3036
|
+
# hostname to "example.#\{host}", or the query to
|
3037
|
+
# "#\{query}&value=xyz".
|
3026
3038
|
#
|
3027
3039
|
# @!attribute [rw] protocol
|
3028
|
-
# The protocol. You can specify HTTP, HTTPS, or
|
3029
|
-
#
|
3030
|
-
#
|
3040
|
+
# The protocol. You can specify HTTP, HTTPS, or #\{protocol}. You can
|
3041
|
+
# redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't
|
3042
|
+
# redirect HTTPS to HTTP.
|
3031
3043
|
# @return [String]
|
3032
3044
|
#
|
3033
3045
|
# @!attribute [rw] port
|
3034
|
-
# The port. You can specify a value from 1 to 65535 or
|
3046
|
+
# The port. You can specify a value from 1 to 65535 or #\{port}.
|
3035
3047
|
# @return [String]
|
3036
3048
|
#
|
3037
3049
|
# @!attribute [rw] host
|
3038
3050
|
# The hostname. This component is not percent-encoded. The hostname
|
3039
|
-
# can contain
|
3051
|
+
# can contain #\{host}.
|
3040
3052
|
# @return [String]
|
3041
3053
|
#
|
3042
3054
|
# @!attribute [rw] path
|
3043
3055
|
# The absolute path, starting with the leading "/". This component
|
3044
|
-
# is not percent-encoded. The path can contain
|
3045
|
-
#
|
3056
|
+
# is not percent-encoded. The path can contain #\{host}, #\{path}, and
|
3057
|
+
# #\{port}.
|
3046
3058
|
# @return [String]
|
3047
3059
|
#
|
3048
3060
|
# @!attribute [rw] query
|
@@ -3253,7 +3265,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3253
3265
|
# conditions: `http-request-method`, `host-header`, `path-pattern`, and
|
3254
3266
|
# `source-ip`. Each rule can also optionally include one or more of each
|
3255
3267
|
# of the following conditions: `http-header` and `query-string`. Note
|
3256
|
-
# that the value for a condition
|
3268
|
+
# that the value for a condition can't be empty.
|
3257
3269
|
#
|
3258
3270
|
# For more information, see [Quotas for your Application Load
|
3259
3271
|
# Balancers][1].
|
@@ -3397,27 +3409,21 @@ module Aws::ElasticLoadBalancingV2
|
|
3397
3409
|
# @return [String]
|
3398
3410
|
#
|
3399
3411
|
# @!attribute [rw] ip_address_type
|
3400
|
-
#
|
3401
|
-
#
|
3402
|
-
# \[Application Load Balancers\] The IP address type. The possible
|
3403
|
-
# values are `ipv4` (for only IPv4 addresses), `dualstack` (for IPv4
|
3404
|
-
# and IPv6 addresses), and `dualstack-without-public-ipv4` (for IPv6
|
3405
|
-
# only public addresses, with private IPv4 and IPv6 addresses).
|
3412
|
+
# The IP address type. Internal load balancers must use `ipv4`.
|
3406
3413
|
#
|
3407
|
-
#
|
3408
|
-
# addresses
|
3409
|
-
#
|
3410
|
-
#
|
3411
|
-
# errors.
|
3414
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
3415
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
3416
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
3417
|
+
# IPv4 and IPv6 addresses).
|
3412
3418
|
#
|
3413
|
-
#
|
3414
|
-
#
|
3415
|
-
#
|
3416
|
-
#
|
3419
|
+
# Application Load Balancer authentication supports IPv4 addresses
|
3420
|
+
# only when connecting to an Identity Provider (IdP) or Amazon Cognito
|
3421
|
+
# endpoint. Without a public IPv4 address the load balancer can't
|
3422
|
+
# complete the authentication process, resulting in HTTP 500 errors.
|
3417
3423
|
#
|
3418
|
-
# \[
|
3419
|
-
# are `ipv4` (
|
3420
|
-
#
|
3424
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
3425
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
3426
|
+
# addresses).
|
3421
3427
|
# @return [String]
|
3422
3428
|
#
|
3423
3429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeInput AWS API Documentation
|
@@ -3526,11 +3532,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3526
3532
|
# \[Application Load Balancers on Local Zones\] You can specify
|
3527
3533
|
# subnets from one or more Local Zones.
|
3528
3534
|
#
|
3529
|
-
# \[Network Load Balancers\] You can
|
3530
|
-
# Availability Zones.
|
3531
|
-
#
|
3532
|
-
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
3533
|
-
# Availability Zones.
|
3535
|
+
# \[Network Load Balancers and Gateway Load Balancers\] You can
|
3536
|
+
# specify subnets from one or more Availability Zones.
|
3534
3537
|
# @return [Array<String>]
|
3535
3538
|
#
|
3536
3539
|
# @!attribute [rw] subnet_mappings
|
@@ -3539,7 +3542,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3539
3542
|
# mappings.
|
3540
3543
|
#
|
3541
3544
|
# \[Application Load Balancers\] You must specify subnets from at
|
3542
|
-
# least two Availability Zones. You
|
3545
|
+
# least two Availability Zones. You can't specify Elastic IP
|
3543
3546
|
# addresses for your subnets.
|
3544
3547
|
#
|
3545
3548
|
# \[Application Load Balancers on Outposts\] You must specify one
|
@@ -3561,20 +3564,22 @@ module Aws::ElasticLoadBalancingV2
|
|
3561
3564
|
# @return [Array<Types::SubnetMapping>]
|
3562
3565
|
#
|
3563
3566
|
# @!attribute [rw] ip_address_type
|
3564
|
-
#
|
3565
|
-
# values are `ipv4` (for only IPv4 addresses), `dualstack` (for IPv4
|
3566
|
-
# and IPv6 addresses), and `dualstack-without-public-ipv4` (for IPv6
|
3567
|
-
# only public addresses, with private IPv4 and IPv6 addresses).
|
3567
|
+
# The IP address type.
|
3568
3568
|
#
|
3569
|
-
# \[
|
3570
|
-
#
|
3571
|
-
#
|
3572
|
-
#
|
3573
|
-
# listener.
|
3569
|
+
# \[Application Load Balancers\] The possible values are `ipv4` (IPv4
|
3570
|
+
# addresses), `dualstack` (IPv4 and IPv6 addresses), and
|
3571
|
+
# `dualstack-without-public-ipv4` (public IPv6 addresses and private
|
3572
|
+
# IPv4 and IPv6 addresses).
|
3574
3573
|
#
|
3575
|
-
# \[Gateway Load Balancers\] The
|
3576
|
-
#
|
3577
|
-
#
|
3574
|
+
# \[Network Load Balancers and Gateway Load Balancers\] The possible
|
3575
|
+
# values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
|
3576
|
+
# addresses).
|
3577
|
+
# @return [String]
|
3578
|
+
#
|
3579
|
+
# @!attribute [rw] enable_prefix_for_ipv_6_source_nat
|
3580
|
+
# \[Network Load Balancers with UDP listeners\] Indicates whether to
|
3581
|
+
# use an IPv6 prefix from each subnet for source NAT. The IP address
|
3582
|
+
# type must be `dualstack`. The default value is `off`.
|
3578
3583
|
# @return [String]
|
3579
3584
|
#
|
3580
3585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput AWS API Documentation
|
@@ -3583,7 +3588,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3583
3588
|
:load_balancer_arn,
|
3584
3589
|
:subnets,
|
3585
3590
|
:subnet_mappings,
|
3586
|
-
:ip_address_type
|
3591
|
+
:ip_address_type,
|
3592
|
+
:enable_prefix_for_ipv_6_source_nat)
|
3587
3593
|
SENSITIVE = []
|
3588
3594
|
include Aws::Structure
|
3589
3595
|
end
|
@@ -3593,18 +3599,20 @@ module Aws::ElasticLoadBalancingV2
|
|
3593
3599
|
# @return [Array<Types::AvailabilityZone>]
|
3594
3600
|
#
|
3595
3601
|
# @!attribute [rw] ip_address_type
|
3596
|
-
#
|
3597
|
-
#
|
3598
|
-
# \[Network Load Balancers\] The IP address type.
|
3602
|
+
# The IP address type.
|
3603
|
+
# @return [String]
|
3599
3604
|
#
|
3600
|
-
#
|
3605
|
+
# @!attribute [rw] enable_prefix_for_ipv_6_source_nat
|
3606
|
+
# \[Network Load Balancers\] Indicates whether to use an IPv6 prefix
|
3607
|
+
# from each subnet for source NAT.
|
3601
3608
|
# @return [String]
|
3602
3609
|
#
|
3603
3610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput AWS API Documentation
|
3604
3611
|
#
|
3605
3612
|
class SetSubnetsOutput < Struct.new(
|
3606
3613
|
:availability_zones,
|
3607
|
-
:ip_address_type
|
3614
|
+
:ip_address_type,
|
3615
|
+
:enable_prefix_for_ipv_6_source_nat)
|
3608
3616
|
SENSITIVE = []
|
3609
3617
|
include Aws::Structure
|
3610
3618
|
end
|
@@ -3686,13 +3694,21 @@ module Aws::ElasticLoadBalancingV2
|
|
3686
3694
|
# \[Network Load Balancers\] The IPv6 address.
|
3687
3695
|
# @return [String]
|
3688
3696
|
#
|
3697
|
+
# @!attribute [rw] source_nat_ipv_6_prefix
|
3698
|
+
# \[Network Load Balancers with UDP listeners\] The IPv6 prefix to use
|
3699
|
+
# for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet
|
3700
|
+
# CIDR block or `auto_assigned` to use an IPv6 prefix selected at
|
3701
|
+
# random from the subnet CIDR block.
|
3702
|
+
# @return [String]
|
3703
|
+
#
|
3689
3704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping AWS API Documentation
|
3690
3705
|
#
|
3691
3706
|
class SubnetMapping < Struct.new(
|
3692
3707
|
:subnet_id,
|
3693
3708
|
:allocation_id,
|
3694
3709
|
:private_i_pv_4_address,
|
3695
|
-
:i_pv_6_address
|
3710
|
+
:i_pv_6_address,
|
3711
|
+
:source_nat_ipv_6_prefix)
|
3696
3712
|
SENSITIVE = []
|
3697
3713
|
include Aws::Structure
|
3698
3714
|
end
|
@@ -3882,9 +3898,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3882
3898
|
# @return [String]
|
3883
3899
|
#
|
3884
3900
|
# @!attribute [rw] ip_address_type
|
3885
|
-
# The
|
3886
|
-
# values are `ipv4` and `ipv6`. This is an optional parameter. If not
|
3887
|
-
# specified, the IP address type defaults to `ipv4`.
|
3901
|
+
# The IP address type. The default value is `ipv4`.
|
3888
3902
|
# @return [String]
|
3889
3903
|
#
|
3890
3904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup AWS API Documentation
|
@@ -4045,7 +4059,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4045
4059
|
# preservation is enabled. The value is `true` or `false`. The
|
4046
4060
|
# default is disabled if the target group type is IP address and the
|
4047
4061
|
# target group protocol is TCP or TLS. Otherwise, the default is
|
4048
|
-
# enabled. Client IP preservation
|
4062
|
+
# enabled. Client IP preservation can't be disabled for UDP and
|
4049
4063
|
# TCP\_UDP target groups.
|
4050
4064
|
#
|
4051
4065
|
# * `proxy_protocol_v2.enabled` - Indicates whether Proxy Protocol
|
@@ -4083,7 +4097,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4083
4097
|
# possible values are `rebalance` and `no_rebalance`. The default is
|
4084
4098
|
# `no_rebalance`. The two attributes
|
4085
4099
|
# (`target_failover.on_deregistration` and
|
4086
|
-
# `target_failover.on_unhealthy`)
|
4100
|
+
# `target_failover.on_unhealthy`) can't be set independently. The
|
4087
4101
|
# value you set for both attributes must be the same.
|
4088
4102
|
# @return [String]
|
4089
4103
|
#
|
data/sig/client.rbs
CHANGED
@@ -225,7 +225,8 @@ module Aws
|
|
225
225
|
subnet_id: ::String?,
|
226
226
|
allocation_id: ::String?,
|
227
227
|
private_i_pv_4_address: ::String?,
|
228
|
-
i_pv_6_address: ::String
|
228
|
+
i_pv_6_address: ::String?,
|
229
|
+
source_nat_ipv_6_prefix: ::String?
|
229
230
|
},
|
230
231
|
],
|
231
232
|
?security_groups: Array[::String],
|
@@ -238,7 +239,8 @@ module Aws
|
|
238
239
|
],
|
239
240
|
?type: ("application" | "network" | "gateway"),
|
240
241
|
?ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4"),
|
241
|
-
?customer_owned_ipv_4_pool: ::String
|
242
|
+
?customer_owned_ipv_4_pool: ::String,
|
243
|
+
?enable_prefix_for_ipv_6_source_nat: ("on" | "off")
|
242
244
|
) -> _CreateLoadBalancerResponseSuccess
|
243
245
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoadBalancerResponseSuccess
|
244
246
|
|
@@ -1050,6 +1052,7 @@ module Aws
|
|
1050
1052
|
include ::Seahorse::Client::_ResponseSuccess[Types::SetSubnetsOutput]
|
1051
1053
|
def availability_zones: () -> ::Array[Types::AvailabilityZone]
|
1052
1054
|
def ip_address_type: () -> ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")
|
1055
|
+
def enable_prefix_for_ipv_6_source_nat: () -> ("on" | "off")
|
1053
1056
|
end
|
1054
1057
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticLoadBalancingV2/Client.html#set_subnets-instance_method
|
1055
1058
|
def set_subnets: (
|
@@ -1060,10 +1063,12 @@ module Aws
|
|
1060
1063
|
subnet_id: ::String?,
|
1061
1064
|
allocation_id: ::String?,
|
1062
1065
|
private_i_pv_4_address: ::String?,
|
1063
|
-
i_pv_6_address: ::String
|
1066
|
+
i_pv_6_address: ::String?,
|
1067
|
+
source_nat_ipv_6_prefix: ::String?
|
1064
1068
|
},
|
1065
1069
|
],
|
1066
|
-
?ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")
|
1070
|
+
?ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4"),
|
1071
|
+
?enable_prefix_for_ipv_6_source_nat: ("on" | "off")
|
1067
1072
|
) -> _SetSubnetsResponseSuccess
|
1068
1073
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetSubnetsResponseSuccess
|
1069
1074
|
|
data/sig/types.rbs
CHANGED
@@ -103,6 +103,7 @@ module Aws::ElasticLoadBalancingV2
|
|
103
103
|
attr_accessor subnet_id: ::String
|
104
104
|
attr_accessor outpost_id: ::String
|
105
105
|
attr_accessor load_balancer_addresses: ::Array[Types::LoadBalancerAddress]
|
106
|
+
attr_accessor source_nat_ipv_6_prefixes: ::Array[::String]
|
106
107
|
SENSITIVE: []
|
107
108
|
end
|
108
109
|
|
@@ -155,6 +156,7 @@ module Aws::ElasticLoadBalancingV2
|
|
155
156
|
attr_accessor type: ("application" | "network" | "gateway")
|
156
157
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")
|
157
158
|
attr_accessor customer_owned_ipv_4_pool: ::String
|
159
|
+
attr_accessor enable_prefix_for_ipv_6_source_nat: ("on" | "off")
|
158
160
|
SENSITIVE: []
|
159
161
|
end
|
160
162
|
|
@@ -623,6 +625,7 @@ module Aws::ElasticLoadBalancingV2
|
|
623
625
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")
|
624
626
|
attr_accessor customer_owned_ipv_4_pool: ::String
|
625
627
|
attr_accessor enforce_security_group_inbound_rules_on_private_link_traffic: ::String
|
628
|
+
attr_accessor enable_prefix_for_ipv_6_source_nat: ("on" | "off")
|
626
629
|
SENSITIVE: []
|
627
630
|
end
|
628
631
|
|
@@ -917,12 +920,14 @@ module Aws::ElasticLoadBalancingV2
|
|
917
920
|
attr_accessor subnets: ::Array[::String]
|
918
921
|
attr_accessor subnet_mappings: ::Array[Types::SubnetMapping]
|
919
922
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")
|
923
|
+
attr_accessor enable_prefix_for_ipv_6_source_nat: ("on" | "off")
|
920
924
|
SENSITIVE: []
|
921
925
|
end
|
922
926
|
|
923
927
|
class SetSubnetsOutput
|
924
928
|
attr_accessor availability_zones: ::Array[Types::AvailabilityZone]
|
925
929
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")
|
930
|
+
attr_accessor enable_prefix_for_ipv_6_source_nat: ("on" | "off")
|
926
931
|
SENSITIVE: []
|
927
932
|
end
|
928
933
|
|
@@ -944,6 +949,7 @@ module Aws::ElasticLoadBalancingV2
|
|
944
949
|
attr_accessor allocation_id: ::String
|
945
950
|
attr_accessor private_i_pv_4_address: ::String
|
946
951
|
attr_accessor i_pv_6_address: ::String
|
952
|
+
attr_accessor source_nat_ipv_6_prefix: ::String
|
947
953
|
SENSITIVE: []
|
948
954
|
end
|
949
955
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticloadbalancingv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.121.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|