lib/aws-sdk-elasticloadbalancingv2/client.rb in aws-sdk-elasticloadbalancingv2-1.119.0 vs lib/aws-sdk-elasticloadbalancingv2/client.rb in aws-sdk-elasticloadbalancingv2-1.120.0
- old
+ new
@@ -628,15 +628,15 @@
# @option params [String] :protocol
# The protocol for connections from clients to the load balancer. For
# Application Load Balancers, the supported protocols are HTTP and
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
# TLS, UDP, and TCP\_UDP. You can’t specify the UDP or TCP\_UDP protocol
- # if dual-stack mode is enabled. You cannot specify a protocol for a
+ # if dual-stack mode is enabled. You can't specify a protocol for a
# Gateway Load Balancer.
#
# @option params [Integer] :port
- # The port on which the load balancer is listening. You cannot specify a
+ # The port on which the load balancer is listening. You can't specify a
# port for a Gateway Load Balancer.
#
# @option params [String] :ssl_policy
# \[HTTPS and TLS listeners\] The security policy that defines which
# protocols and ciphers are supported.
@@ -972,23 +972,20 @@
# Outpost subnet.
#
# \[Application Load Balancers on Local Zones\] You can specify subnets
# from one or more Local Zones.
#
- # \[Network Load Balancers\] You can specify subnets from one or more
- # Availability Zones.
+ # \[Network Load Balancers and Gateway Load Balancers\] You can specify
+ # subnets from one or more Availability Zones.
#
- # \[Gateway Load Balancers\] You can specify subnets from one or more
- # Availability Zones.
- #
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
# The IDs of the subnets. You can specify only one subnet per
# Availability Zone. You must specify either subnets or subnet mappings,
# but not both.
#
# \[Application Load Balancers\] You must specify subnets from at least
- # two Availability Zones. You cannot specify Elastic IP addresses for
+ # two Availability Zones. You can't specify Elastic IP addresses for
# your subnets.
#
# \[Application Load Balancers on Outposts\] You must specify one
# Outpost subnet.
#
@@ -1002,11 +999,11 @@
# address per subnet from the IPv4 range of the subnet. For
# internet-facing load balancer, you can specify one IPv6 address per
# subnet.
#
# \[Gateway Load Balancers\] You can specify subnets from one or more
- # Availability Zones. You cannot specify Elastic IP addresses for your
+ # Availability Zones. You can't specify Elastic IP addresses for your
# subnets.
#
# @option params [Array<String>] :security_groups
# \[Application Load Balancers and Network Load Balancers\] The IDs of
# the security groups for the load balancer.
@@ -1024,39 +1021,39 @@
# balancers can route requests only from clients with access to the VPC
# for the load balancer.
#
# The default is an Internet-facing load balancer.
#
- # You cannot specify a scheme for a Gateway Load Balancer.
+ # You can't specify a scheme for a Gateway Load Balancer.
#
# @option params [Array<Types::Tag>] :tags
# The tags to assign to the load balancer.
#
# @option params [String] :type
# The type of load balancer. The default is `application`.
#
# @option params [String] :ip_address_type
- # Note: Internal load balancers must use the `ipv4` IP address type.
+ # The IP address type. Internal load balancers must use `ipv4`.
#
- # \[Application Load Balancers\] The IP address type. The possible
- # values are `ipv4` (for only IPv4 addresses), `dualstack` (for IPv4 and
- # IPv6 addresses), and `dualstack-without-public-ipv4` (for IPv6 only
- # public addresses, with private IPv4 and IPv6 addresses).
+ # \[Application Load Balancers\] The possible values are `ipv4` (IPv4
+ # addresses), `dualstack` (IPv4 and IPv6 addresses), and
+ # `dualstack-without-public-ipv4` (public IPv6 addresses and private
+ # IPv4 and IPv6 addresses).
#
- # \[Network Load Balancers\] The IP address type. The possible values
- # are `ipv4` (for only IPv4 addresses) and `dualstack` (for IPv4 and
- # IPv6 addresses). You can’t specify `dualstack` for a load balancer
- # with a UDP or TCP\_UDP listener.
+ # \[Network Load Balancers and Gateway Load Balancers\] The possible
+ # values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
+ # addresses).
#
- # \[Gateway Load Balancers\] The IP address type. The possible values
- # are `ipv4` (for only IPv4 addresses) and `dualstack` (for IPv4 and
- # IPv6 addresses).
- #
# @option params [String] :customer_owned_ipv_4_pool
# \[Application Load Balancers on Outposts\] The ID of the
# customer-owned address pool (CoIP pool).
#
+ # @option params [String] :enable_prefix_for_ipv_6_source_nat
+ # \[Network Load Balancers with UDP listeners\] Indicates whether to use
+ # an IPv6 prefix from each subnet for source NAT. The IP address type
+ # must be `dualstack`. The default value is `off`.
+ #
# @return [Types::CreateLoadBalancerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateLoadBalancerOutput#load_balancers #load_balancers} => Array<Types::LoadBalancer>
#
#
@@ -1160,10 +1157,11 @@
# {
# subnet_id: "SubnetId",
# allocation_id: "AllocationId",
# private_i_pv_4_address: "PrivateIPv4Address",
# i_pv_6_address: "IPv6Address",
+ # source_nat_ipv_6_prefix: "SourceNatIpv6Prefix",
# },
# ],
# security_groups: ["SecurityGroupId"],
# scheme: "internet-facing", # accepts internet-facing, internal
# tags: [
@@ -1173,10 +1171,11 @@
# },
# ],
# type: "application", # accepts application, network, gateway
# ip_address_type: "ipv4", # accepts ipv4, dualstack, dualstack-without-public-ipv4
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
+ # enable_prefix_for_ipv_6_source_nat: "on", # accepts on, off
# })
#
# @example Response structure
#
# resp.load_balancers #=> Array
@@ -1197,15 +1196,18 @@
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
+ # resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes #=> Array
+ # resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes[0] #=> String
# resp.load_balancers[0].security_groups #=> Array
# resp.load_balancers[0].security_groups[0] #=> String
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack", "dualstack-without-public-ipv4"
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
+ # resp.load_balancers[0].enable_prefix_for_ipv_6_source_nat #=> String, one of "on", "off"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer AWS API Documentation
#
# @overload create_load_balancer(params = {})
# @param [Hash] params ({})
@@ -1545,11 +1547,11 @@
#
# @option params [Boolean] :health_check_enabled
# Indicates whether health checks are enabled. If the target type is
# `lambda`, health checks are disabled by default but can be enabled. If
# the target type is `instance`, `ip`, or `alb`, health checks are
- # always enabled and cannot be disabled.
+ # always enabled and can't be disabled.
#
# @option params [String] :health_check_path
# \[HTTP/HTTPS health checks\] The destination for health checks on the
# targets.
#
@@ -1615,13 +1617,11 @@
#
# @option params [Array<Types::Tag>] :tags
# The tags to assign to the target group.
#
# @option params [String] :ip_address_type
- # The type of IP address used for this target group. The possible values
- # are `ipv4` and `ipv6`. This is an optional parameter. If not
- # specified, the IP address type defaults to `ipv4`.
+ # The IP address type. The default value is `ipv4`.
#
# @return [Types::CreateTargetGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateTargetGroupOutput#target_groups #target_groups} => Array<Types::TargetGroup>
#
@@ -1727,11 +1727,11 @@
# Creates a trust store.
#
# @option params [required, String] :name
# The name of the trust store.
#
- # This name must be unique per region and cannot be changed after
+ # This name must be unique per region and can't be changed after
# creation.
#
# @option params [required, String] :ca_certificates_bundle_s3_bucket
# The Amazon S3 bucket for the ca certificates bundle.
#
@@ -2521,15 +2521,18 @@
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
+ # resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes #=> Array
+ # resp.load_balancers[0].availability_zones[0].source_nat_ipv_6_prefixes[0] #=> String
# resp.load_balancers[0].security_groups #=> Array
# resp.load_balancers[0].security_groups[0] #=> String
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack", "dualstack-without-public-ipv4"
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
+ # resp.load_balancers[0].enable_prefix_for_ipv_6_source_nat #=> String, one of "on", "off"
# resp.next_marker #=> String
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
#
@@ -3493,19 +3496,19 @@
#
# @option params [required, String] :listener_arn
# The Amazon Resource Name (ARN) of the listener.
#
# @option params [Integer] :port
- # The port for connections from clients to the load balancer. You cannot
+ # The port for connections from clients to the load balancer. You can't
# specify a port for a Gateway Load Balancer.
#
# @option params [String] :protocol
# The protocol for connections from clients to the load balancer.
# Application Load Balancers support the HTTP and HTTPS protocols.
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
# protocols. You can’t change the protocol to UDP or TCP\_UDP if
- # dual-stack mode is enabled. You cannot specify a protocol for a
+ # dual-stack mode is enabled. You can't specify a protocol for a
# Gateway Load Balancer.
#
# @option params [String] :ssl_policy
# \[HTTPS and TLS listeners\] The security policy that defines which
# protocols and ciphers are supported.
@@ -4500,11 +4503,11 @@
# using the protocol and port for the target group. Alternatively, you
# can override the port for a target when you register it. You can
# register each EC2 instance or IP address with the same target group
# multiple times using different ports.
#
- # With a Network Load Balancer, you cannot register instances by
+ # With a Network Load Balancer, you can't register instances by
# instance ID if they have the following instance types: C1, CC1, CC2,
# CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can
# register instances of these types by IP address.
#
# @option params [required, String] :target_group_arn
@@ -4682,32 +4685,26 @@
#
# @option params [required, String] :load_balancer_arn
# The Amazon Resource Name (ARN) of the load balancer.
#
# @option params [required, String] :ip_address_type
- # Note: Internal load balancers must use the `ipv4` IP address type.
+ # The IP address type. Internal load balancers must use `ipv4`.
#
- # \[Application Load Balancers\] The IP address type. The possible
- # values are `ipv4` (for only IPv4 addresses), `dualstack` (for IPv4 and
- # IPv6 addresses), and `dualstack-without-public-ipv4` (for IPv6 only
- # public addresses, with private IPv4 and IPv6 addresses).
+ # \[Application Load Balancers\] The possible values are `ipv4` (IPv4
+ # addresses), `dualstack` (IPv4 and IPv6 addresses), and
+ # `dualstack-without-public-ipv4` (public IPv6 addresses and private
+ # IPv4 and IPv6 addresses).
#
- # Note: Application Load Balancer authentication only supports IPv4
- # addresses when connecting to an Identity Provider (IdP) or Amazon
- # Cognito endpoint. Without a public IPv4 address the load balancer
- # cannot complete the authentication process, resulting in HTTP 500
- # errors.
+ # Application Load Balancer authentication supports IPv4 addresses only
+ # when connecting to an Identity Provider (IdP) or Amazon Cognito
+ # endpoint. Without a public IPv4 address the load balancer can't
+ # complete the authentication process, resulting in HTTP 500 errors.
#
- # \[Network Load Balancers\] The IP address type. The possible values
- # are `ipv4` (for only IPv4 addresses) and `dualstack` (for IPv4 and
- # IPv6 addresses). You can’t specify `dualstack` for a load balancer
- # with a UDP or TCP\_UDP listener.
+ # \[Network Load Balancers and Gateway Load Balancers\] The possible
+ # values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
+ # addresses).
#
- # \[Gateway Load Balancers\] The IP address type. The possible values
- # are `ipv4` (for only IPv4 addresses) and `dualstack` (for IPv4 and
- # IPv6 addresses).
- #
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::SetIpAddressTypeOutput#ip_address_type #ip_address_type} => String
#
# @example Request syntax with placeholder values
@@ -4958,22 +4955,19 @@
# Outpost subnet.
#
# \[Application Load Balancers on Local Zones\] You can specify subnets
# from one or more Local Zones.
#
- # \[Network Load Balancers\] You can specify subnets from one or more
- # Availability Zones.
+ # \[Network Load Balancers and Gateway Load Balancers\] You can specify
+ # subnets from one or more Availability Zones.
#
- # \[Gateway Load Balancers\] You can specify subnets from one or more
- # Availability Zones.
- #
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
# The IDs of the public subnets. You can specify only one subnet per
# Availability Zone. You must specify either subnets or subnet mappings.
#
# \[Application Load Balancers\] You must specify subnets from at least
- # two Availability Zones. You cannot specify Elastic IP addresses for
+ # two Availability Zones. You can't specify Elastic IP addresses for
# your subnets.
#
# \[Application Load Balancers on Outposts\] You must specify one
# Outpost subnet.
#
@@ -4990,29 +4984,31 @@
#
# \[Gateway Load Balancers\] You can specify subnets from one or more
# Availability Zones.
#
# @option params [String] :ip_address_type
- # \[Application Load Balancers\] The IP address type. The possible
- # values are `ipv4` (for only IPv4 addresses), `dualstack` (for IPv4 and
- # IPv6 addresses), and `dualstack-without-public-ipv4` (for IPv6 only
- # public addresses, with private IPv4 and IPv6 addresses).
+ # The IP address type.
#
- # \[Network Load Balancers\] The type of IP addresses used by the
- # subnets for your load balancer. The possible values are `ipv4` (for
- # IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
- # can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
- # listener.
+ # \[Application Load Balancers\] The possible values are `ipv4` (IPv4
+ # addresses), `dualstack` (IPv4 and IPv6 addresses), and
+ # `dualstack-without-public-ipv4` (public IPv6 addresses and private
+ # IPv4 and IPv6 addresses).
#
- # \[Gateway Load Balancers\] The type of IP addresses used by the
- # subnets for your load balancer. The possible values are `ipv4` (for
- # IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses).
+ # \[Network Load Balancers and Gateway Load Balancers\] The possible
+ # values are `ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6
+ # addresses).
#
+ # @option params [String] :enable_prefix_for_ipv_6_source_nat
+ # \[Network Load Balancers with UDP listeners\] Indicates whether to use
+ # an IPv6 prefix from each subnet for source NAT. The IP address type
+ # must be `dualstack`. The default value is `off`.
+ #
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::SetSubnetsOutput#availability_zones #availability_zones} => Array<Types::AvailabilityZone>
# * {Types::SetSubnetsOutput#ip_address_type #ip_address_type} => String
+ # * {Types::SetSubnetsOutput#enable_prefix_for_ipv_6_source_nat #enable_prefix_for_ipv_6_source_nat} => String
#
#
# @example Example: To enable Availability Zones for a load balancer
#
# # This example enables the Availability Zones for the specified subnets for the specified load balancer.
@@ -5048,13 +5044,15 @@
# {
# subnet_id: "SubnetId",
# allocation_id: "AllocationId",
# private_i_pv_4_address: "PrivateIPv4Address",
# i_pv_6_address: "IPv6Address",
+ # source_nat_ipv_6_prefix: "SourceNatIpv6Prefix",
# },
# ],
# ip_address_type: "ipv4", # accepts ipv4, dualstack, dualstack-without-public-ipv4
+ # enable_prefix_for_ipv_6_source_nat: "on", # accepts on, off
# })
#
# @example Response structure
#
# resp.availability_zones #=> Array
@@ -5064,11 +5062,14 @@
# resp.availability_zones[0].load_balancer_addresses #=> Array
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
# resp.availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
# resp.availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
+ # resp.availability_zones[0].source_nat_ipv_6_prefixes #=> Array
+ # resp.availability_zones[0].source_nat_ipv_6_prefixes[0] #=> String
# resp.ip_address_type #=> String, one of "ipv4", "dualstack", "dualstack-without-public-ipv4"
+ # resp.enable_prefix_for_ipv_6_source_nat #=> String, one of "on", "off"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
#
# @overload set_subnets(params = {})
# @param [Hash] params ({})
@@ -5093,10 +5094,10 @@
params: params,
config: config,
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
- context[:gem_version] = '1.119.0'
+ context[:gem_version] = '1.120.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#