aws-sdk-elasticloadbalancingv2 1.118.0 → 1.120.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/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb +2 -526
- data/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb +1 -102
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +109 -95
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- data/sig/client.rbs +9 -4
- data/sig/types.rbs +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b70dd355b4e7c776f687b755b79caea77d4ab17a4433568a71251f782d0e782b
|
4
|
+
data.tar.gz: e3ac69839072861e08a7628ad4ff803f7f776e1022be7e07e0b0fa8ea272de9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a44398192f3c1299819497c670c40c55554e73c37c7cb69deb8e5d7e2e4cdf8706c142820e458cdbce8692fa58220ce1786a0ef52e586820cc7d53c7764d1bec
|
7
|
+
data.tar.gz: ed729207e33eeeba1bdc1dd5411a7ed682ab200c65c228a937c34977ae0a185e2c1206af372cf9295b8dd363c6dc850af1ebc00839bf5513f4e55890edbaceb7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.120.0 (2024-10-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add UDP support for AWS PrivateLink and dual-stack Network Load Balancers
|
8
|
+
|
9
|
+
1.119.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.118.0 (2024-10-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.120.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.120.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)
|
@@ -52,15 +52,18 @@ module Aws::ElasticLoadBalancingV2
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|