aws-sdk-elasticloadbalancingv2 1.38.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-elasticloadbalancingv2.rb +7 -4
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +225 -33
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +87 -0
- data/lib/aws-sdk-elasticloadbalancingv2/errors.rb +429 -0
- data/lib/aws-sdk-elasticloadbalancingv2/resource.rb +1 -0
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +415 -44
- data/lib/aws-sdk-elasticloadbalancingv2/waiters.rb +65 -0
- metadata +3 -3
@@ -8,6 +8,12 @@
|
|
8
8
|
module Aws::ElasticLoadBalancingV2
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The specified ALPN policy is not supported.
|
12
|
+
#
|
13
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ALPNPolicyNotSupportedException AWS API Documentation
|
14
|
+
#
|
15
|
+
class ALPNPolicyNotSupportedException < Aws::EmptyStructure; end
|
16
|
+
|
11
17
|
# Information about an action.
|
12
18
|
#
|
13
19
|
# @note When making an API call, you may pass Action
|
@@ -197,7 +203,7 @@ module Aws::ElasticLoadBalancingV2
|
|
197
203
|
# @return [Array<String>]
|
198
204
|
#
|
199
205
|
# @!attribute [rw] tags
|
200
|
-
# The tags.
|
206
|
+
# The tags.
|
201
207
|
# @return [Array<Types::Tag>]
|
202
208
|
#
|
203
209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsInput AWS API Documentation
|
@@ -212,6 +218,12 @@ module Aws::ElasticLoadBalancingV2
|
|
212
218
|
#
|
213
219
|
class AddTagsOutput < Aws::EmptyStructure; end
|
214
220
|
|
221
|
+
# The specified allocation ID does not exist.
|
222
|
+
#
|
223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AllocationIdNotFoundException AWS API Documentation
|
224
|
+
#
|
225
|
+
class AllocationIdNotFoundException < Aws::EmptyStructure; end
|
226
|
+
|
215
227
|
# Request parameters to use when integrating with Amazon Cognito to
|
216
228
|
# authenticate users.
|
217
229
|
#
|
@@ -419,7 +431,9 @@ module Aws::ElasticLoadBalancingV2
|
|
419
431
|
# @!attribute [rw] load_balancer_addresses
|
420
432
|
# \[Network Load Balancers\] If you need static IP addresses for your
|
421
433
|
# load balancer, you can specify one Elastic IP address per
|
422
|
-
# Availability Zone when you create
|
434
|
+
# Availability Zone when you create an internal-facing load balancer.
|
435
|
+
# For internal load balancers, you can specify a private IP address
|
436
|
+
# from the IPv4 range of the subnet.
|
423
437
|
# @return [Array<Types::LoadBalancerAddress>]
|
424
438
|
#
|
425
439
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZone AWS API Documentation
|
@@ -431,6 +445,12 @@ module Aws::ElasticLoadBalancingV2
|
|
431
445
|
include Aws::Structure
|
432
446
|
end
|
433
447
|
|
448
|
+
# The specified Availability Zone is not supported.
|
449
|
+
#
|
450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZoneNotSupportedException AWS API Documentation
|
451
|
+
#
|
452
|
+
class AvailabilityZoneNotSupportedException < Aws::EmptyStructure; end
|
453
|
+
|
434
454
|
# Information about an SSL server certificate.
|
435
455
|
#
|
436
456
|
# @note When making an API call, you may pass Certificate
|
@@ -460,6 +480,12 @@ module Aws::ElasticLoadBalancingV2
|
|
460
480
|
include Aws::Structure
|
461
481
|
end
|
462
482
|
|
483
|
+
# The specified certificate does not exist.
|
484
|
+
#
|
485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CertificateNotFoundException AWS API Documentation
|
486
|
+
#
|
487
|
+
class CertificateNotFoundException < Aws::EmptyStructure; end
|
488
|
+
|
463
489
|
# Information about a cipher used in a policy.
|
464
490
|
#
|
465
491
|
# @!attribute [rw] name
|
@@ -552,6 +578,7 @@ module Aws::ElasticLoadBalancingV2
|
|
552
578
|
# },
|
553
579
|
# },
|
554
580
|
# ],
|
581
|
+
# alpn_policy: ["AlpnPolicyValue"],
|
555
582
|
# }
|
556
583
|
#
|
557
584
|
# @!attribute [rw] load_balancer_arn
|
@@ -571,8 +598,35 @@ module Aws::ElasticLoadBalancingV2
|
|
571
598
|
#
|
572
599
|
# @!attribute [rw] ssl_policy
|
573
600
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
574
|
-
#
|
575
|
-
#
|
601
|
+
# protocols and ciphers are supported. The following are the possible
|
602
|
+
# values:
|
603
|
+
#
|
604
|
+
# * `ELBSecurityPolicy-2016-08`
|
605
|
+
#
|
606
|
+
# * `ELBSecurityPolicy-TLS-1-0-2015-04`
|
607
|
+
#
|
608
|
+
# * `ELBSecurityPolicy-TLS-1-1-2017-01`
|
609
|
+
#
|
610
|
+
# * `ELBSecurityPolicy-TLS-1-2-2017-01`
|
611
|
+
#
|
612
|
+
# * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
|
613
|
+
#
|
614
|
+
# * `ELBSecurityPolicy-FS-2018-06`
|
615
|
+
#
|
616
|
+
# * `ELBSecurityPolicy-FS-1-1-2019-08`
|
617
|
+
#
|
618
|
+
# * `ELBSecurityPolicy-FS-1-2-2019-08`
|
619
|
+
#
|
620
|
+
# * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
|
621
|
+
#
|
622
|
+
# For more information, see [Security Policies][1] in the *Application
|
623
|
+
# Load Balancers Guide* and [Security Policies][2] in the *Network
|
624
|
+
# Load Balancers Guide*.
|
625
|
+
#
|
626
|
+
#
|
627
|
+
#
|
628
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
|
629
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies
|
576
630
|
# @return [String]
|
577
631
|
#
|
578
632
|
# @!attribute [rw] certificates
|
@@ -609,6 +663,29 @@ module Aws::ElasticLoadBalancingV2
|
|
609
663
|
# custom HTTP response.
|
610
664
|
# @return [Array<Types::Action>]
|
611
665
|
#
|
666
|
+
# @!attribute [rw] alpn_policy
|
667
|
+
# \[TLS listeners\] The name of the Application-Layer Protocol
|
668
|
+
# Negotiation (ALPN) policy. You can specify one policy name. The
|
669
|
+
# following are the possible values:
|
670
|
+
#
|
671
|
+
# * `HTTP1Only`
|
672
|
+
#
|
673
|
+
# * `HTTP2Only`
|
674
|
+
#
|
675
|
+
# * `HTTP2Optional`
|
676
|
+
#
|
677
|
+
# * `HTTP2Preferred`
|
678
|
+
#
|
679
|
+
# * `None`
|
680
|
+
#
|
681
|
+
# For more information, see [ALPN Policies][1] in the *Network Load
|
682
|
+
# Balancers Guide*.
|
683
|
+
#
|
684
|
+
#
|
685
|
+
#
|
686
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies
|
687
|
+
# @return [Array<String>]
|
688
|
+
#
|
612
689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput AWS API Documentation
|
613
690
|
#
|
614
691
|
class CreateListenerInput < Struct.new(
|
@@ -617,7 +694,8 @@ module Aws::ElasticLoadBalancingV2
|
|
617
694
|
:port,
|
618
695
|
:ssl_policy,
|
619
696
|
:certificates,
|
620
|
-
:default_actions
|
697
|
+
:default_actions,
|
698
|
+
:alpn_policy)
|
621
699
|
include Aws::Structure
|
622
700
|
end
|
623
701
|
|
@@ -642,6 +720,7 @@ module Aws::ElasticLoadBalancingV2
|
|
642
720
|
# {
|
643
721
|
# subnet_id: "SubnetId",
|
644
722
|
# allocation_id: "AllocationId",
|
723
|
+
# private_i_pv_4_address: "PrivateIPv4Address",
|
645
724
|
# },
|
646
725
|
# ],
|
647
726
|
# security_groups: ["SecurityGroupId"],
|
@@ -688,7 +767,9 @@ module Aws::ElasticLoadBalancingV2
|
|
688
767
|
#
|
689
768
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
690
769
|
# Availability Zones. You can specify one Elastic IP address per
|
691
|
-
# subnet if you need static IP addresses for your load
|
770
|
+
# subnet if you need static IP addresses for your internet-facing load
|
771
|
+
# balancer. For internal load balancers, you can specify one private
|
772
|
+
# IP address per subnet from the IPv4 range of the subnet.
|
692
773
|
# @return [Array<Types::SubnetMapping>]
|
693
774
|
#
|
694
775
|
# @!attribute [rw] security_groups
|
@@ -1517,7 +1598,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1517
1598
|
end
|
1518
1599
|
|
1519
1600
|
# @!attribute [rw] ssl_policies
|
1520
|
-
# Information about the policies.
|
1601
|
+
# Information about the security policies.
|
1521
1602
|
# @return [Array<Types::SslPolicy>]
|
1522
1603
|
#
|
1523
1604
|
# @!attribute [rw] next_marker
|
@@ -1541,7 +1622,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1541
1622
|
# }
|
1542
1623
|
#
|
1543
1624
|
# @!attribute [rw] resource_arns
|
1544
|
-
# The Amazon Resource Names (ARN) of the resources.
|
1625
|
+
# The Amazon Resource Names (ARN) of the resources. You can specify up
|
1626
|
+
# to 20 resources in a single call.
|
1545
1627
|
# @return [Array<String>]
|
1546
1628
|
#
|
1547
1629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsInput AWS API Documentation
|
@@ -1692,6 +1774,30 @@ module Aws::ElasticLoadBalancingV2
|
|
1692
1774
|
include Aws::Structure
|
1693
1775
|
end
|
1694
1776
|
|
1777
|
+
# A listener with the specified port already exists.
|
1778
|
+
#
|
1779
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DuplicateListenerException AWS API Documentation
|
1780
|
+
#
|
1781
|
+
class DuplicateListenerException < Aws::EmptyStructure; end
|
1782
|
+
|
1783
|
+
# A load balancer with the specified name already exists.
|
1784
|
+
#
|
1785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DuplicateLoadBalancerNameException AWS API Documentation
|
1786
|
+
#
|
1787
|
+
class DuplicateLoadBalancerNameException < Aws::EmptyStructure; end
|
1788
|
+
|
1789
|
+
# A tag key was specified more than once.
|
1790
|
+
#
|
1791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DuplicateTagKeysException AWS API Documentation
|
1792
|
+
#
|
1793
|
+
class DuplicateTagKeysException < Aws::EmptyStructure; end
|
1794
|
+
|
1795
|
+
# A target group with the specified name already exists.
|
1796
|
+
#
|
1797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DuplicateTargetGroupNameException AWS API Documentation
|
1798
|
+
#
|
1799
|
+
class DuplicateTargetGroupNameException < Aws::EmptyStructure; end
|
1800
|
+
|
1695
1801
|
# Information about an action that returns a custom HTTP response.
|
1696
1802
|
#
|
1697
1803
|
# @note When making an API call, you may pass FixedResponseActionConfig
|
@@ -1762,6 +1868,13 @@ module Aws::ElasticLoadBalancingV2
|
|
1762
1868
|
include Aws::Structure
|
1763
1869
|
end
|
1764
1870
|
|
1871
|
+
# The health of the specified targets could not be retrieved due to an
|
1872
|
+
# internal error.
|
1873
|
+
#
|
1874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/HealthUnavailableException AWS API Documentation
|
1875
|
+
#
|
1876
|
+
class HealthUnavailableException < Aws::EmptyStructure; end
|
1877
|
+
|
1765
1878
|
# Information about a host header condition.
|
1766
1879
|
#
|
1767
1880
|
# @note When making an API call, you may pass HostHeaderConditionConfig
|
@@ -1869,6 +1982,49 @@ module Aws::ElasticLoadBalancingV2
|
|
1869
1982
|
include Aws::Structure
|
1870
1983
|
end
|
1871
1984
|
|
1985
|
+
# The specified configuration is not valid with this protocol.
|
1986
|
+
#
|
1987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/IncompatibleProtocolsException AWS API Documentation
|
1988
|
+
#
|
1989
|
+
class IncompatibleProtocolsException < Aws::EmptyStructure; end
|
1990
|
+
|
1991
|
+
# The requested configuration is not valid.
|
1992
|
+
#
|
1993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InvalidConfigurationRequestException AWS API Documentation
|
1994
|
+
#
|
1995
|
+
class InvalidConfigurationRequestException < Aws::EmptyStructure; end
|
1996
|
+
|
1997
|
+
# The requested action is not valid.
|
1998
|
+
#
|
1999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InvalidLoadBalancerActionException AWS API Documentation
|
2000
|
+
#
|
2001
|
+
class InvalidLoadBalancerActionException < Aws::EmptyStructure; end
|
2002
|
+
|
2003
|
+
# The requested scheme is not valid.
|
2004
|
+
#
|
2005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InvalidSchemeException AWS API Documentation
|
2006
|
+
#
|
2007
|
+
class InvalidSchemeException < Aws::EmptyStructure; end
|
2008
|
+
|
2009
|
+
# The specified security group does not exist.
|
2010
|
+
#
|
2011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InvalidSecurityGroupException AWS API Documentation
|
2012
|
+
#
|
2013
|
+
class InvalidSecurityGroupException < Aws::EmptyStructure; end
|
2014
|
+
|
2015
|
+
# The specified subnet is out of available addresses.
|
2016
|
+
#
|
2017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InvalidSubnetException AWS API Documentation
|
2018
|
+
#
|
2019
|
+
class InvalidSubnetException < Aws::EmptyStructure; end
|
2020
|
+
|
2021
|
+
# The specified target does not exist, is not in the same VPC as the
|
2022
|
+
# target group, or has an unsupported instance type.
|
2023
|
+
#
|
2024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InvalidTargetException AWS API Documentation
|
2025
|
+
#
|
2026
|
+
class InvalidTargetException < Aws::EmptyStructure; end
|
2027
|
+
|
1872
2028
|
# Information about an Elastic Load Balancing resource limit for your
|
1873
2029
|
# AWS account.
|
1874
2030
|
#
|
@@ -1936,14 +2092,18 @@ module Aws::ElasticLoadBalancingV2
|
|
1936
2092
|
#
|
1937
2093
|
# @!attribute [rw] ssl_policy
|
1938
2094
|
# \[HTTPS or TLS listener\] The security policy that defines which
|
1939
|
-
#
|
1940
|
-
# predefined security policy.
|
2095
|
+
# protocols and ciphers are supported.
|
1941
2096
|
# @return [String]
|
1942
2097
|
#
|
1943
2098
|
# @!attribute [rw] default_actions
|
1944
2099
|
# The default actions for the listener.
|
1945
2100
|
# @return [Array<Types::Action>]
|
1946
2101
|
#
|
2102
|
+
# @!attribute [rw] alpn_policy
|
2103
|
+
# \[TLS listener\] The name of the Application-Layer Protocol
|
2104
|
+
# Negotiation (ALPN) policy.
|
2105
|
+
# @return [Array<String>]
|
2106
|
+
#
|
1947
2107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Listener AWS API Documentation
|
1948
2108
|
#
|
1949
2109
|
class Listener < Struct.new(
|
@@ -1953,10 +2113,17 @@ module Aws::ElasticLoadBalancingV2
|
|
1953
2113
|
:protocol,
|
1954
2114
|
:certificates,
|
1955
2115
|
:ssl_policy,
|
1956
|
-
:default_actions
|
2116
|
+
:default_actions,
|
2117
|
+
:alpn_policy)
|
1957
2118
|
include Aws::Structure
|
1958
2119
|
end
|
1959
2120
|
|
2121
|
+
# The specified listener does not exist.
|
2122
|
+
#
|
2123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ListenerNotFoundException AWS API Documentation
|
2124
|
+
#
|
2125
|
+
class ListenerNotFoundException < Aws::EmptyStructure; end
|
2126
|
+
|
1960
2127
|
# Information about a load balancer.
|
1961
2128
|
#
|
1962
2129
|
# @!attribute [rw] load_balancer_arn
|
@@ -2046,14 +2213,20 @@ module Aws::ElasticLoadBalancingV2
|
|
2046
2213
|
#
|
2047
2214
|
# @!attribute [rw] allocation_id
|
2048
2215
|
# \[Network Load Balancers\] The allocation ID of the Elastic IP
|
2049
|
-
# address.
|
2216
|
+
# address for an internal-facing load balancer.
|
2217
|
+
# @return [String]
|
2218
|
+
#
|
2219
|
+
# @!attribute [rw] private_i_pv_4_address
|
2220
|
+
# \[Network Load Balancers\] The private IPv4 address for an internal
|
2221
|
+
# load balancer.
|
2050
2222
|
# @return [String]
|
2051
2223
|
#
|
2052
2224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAddress AWS API Documentation
|
2053
2225
|
#
|
2054
2226
|
class LoadBalancerAddress < Struct.new(
|
2055
2227
|
:ip_address,
|
2056
|
-
:allocation_id
|
2228
|
+
:allocation_id,
|
2229
|
+
:private_i_pv_4_address)
|
2057
2230
|
include Aws::Structure
|
2058
2231
|
end
|
2059
2232
|
|
@@ -2102,7 +2275,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2102
2275
|
# is `false`.
|
2103
2276
|
#
|
2104
2277
|
# * `routing.http2.enabled` - Indicates whether HTTP/2 is enabled. The
|
2105
|
-
# value is `true` or `false`. The default is `true`.
|
2278
|
+
# value is `true` or `false`. The default is `true`. Elastic Load
|
2279
|
+
# Balancing requires that message header names contain only
|
2280
|
+
# alphanumeric characters and hyphens.
|
2106
2281
|
#
|
2107
2282
|
# The following attributes are supported by only Network Load
|
2108
2283
|
# Balancers:
|
@@ -2126,6 +2301,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2126
2301
|
include Aws::Structure
|
2127
2302
|
end
|
2128
2303
|
|
2304
|
+
# The specified load balancer does not exist.
|
2305
|
+
#
|
2306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerNotFoundException AWS API Documentation
|
2307
|
+
#
|
2308
|
+
class LoadBalancerNotFoundException < Aws::EmptyStructure; end
|
2309
|
+
|
2129
2310
|
# Information about the state of the load balancer.
|
2130
2311
|
#
|
2131
2312
|
# @!attribute [rw] code
|
@@ -2249,6 +2430,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2249
2430
|
# },
|
2250
2431
|
# },
|
2251
2432
|
# ],
|
2433
|
+
# alpn_policy: ["AlpnPolicyValue"],
|
2252
2434
|
# }
|
2253
2435
|
#
|
2254
2436
|
# @!attribute [rw] listener_arn
|
@@ -2268,12 +2450,35 @@ module Aws::ElasticLoadBalancingV2
|
|
2268
2450
|
#
|
2269
2451
|
# @!attribute [rw] ssl_policy
|
2270
2452
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
2271
|
-
# protocols and ciphers are supported.
|
2272
|
-
#
|
2453
|
+
# protocols and ciphers are supported. The following are the possible
|
2454
|
+
# values:
|
2455
|
+
#
|
2456
|
+
# * `ELBSecurityPolicy-2016-08`
|
2457
|
+
#
|
2458
|
+
# * `ELBSecurityPolicy-TLS-1-0-2015-04`
|
2459
|
+
#
|
2460
|
+
# * `ELBSecurityPolicy-TLS-1-1-2017-01`
|
2461
|
+
#
|
2462
|
+
# * `ELBSecurityPolicy-TLS-1-2-2017-01`
|
2463
|
+
#
|
2464
|
+
# * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
|
2465
|
+
#
|
2466
|
+
# * `ELBSecurityPolicy-FS-2018-06`
|
2467
|
+
#
|
2468
|
+
# * `ELBSecurityPolicy-FS-1-1-2019-08`
|
2469
|
+
#
|
2470
|
+
# * `ELBSecurityPolicy-FS-1-2-2019-08`
|
2471
|
+
#
|
2472
|
+
# * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
|
2473
|
+
#
|
2474
|
+
# For more information, see [Security Policies][1] in the *Application
|
2475
|
+
# Load Balancers Guide* and [Security Policies][2] in the *Network
|
2476
|
+
# Load Balancers Guide*.
|
2273
2477
|
#
|
2274
2478
|
#
|
2275
2479
|
#
|
2276
2480
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
|
2481
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies
|
2277
2482
|
# @return [String]
|
2278
2483
|
#
|
2279
2484
|
# @!attribute [rw] certificates
|
@@ -2309,6 +2514,29 @@ module Aws::ElasticLoadBalancingV2
|
|
2309
2514
|
# custom HTTP response.
|
2310
2515
|
# @return [Array<Types::Action>]
|
2311
2516
|
#
|
2517
|
+
# @!attribute [rw] alpn_policy
|
2518
|
+
# \[TLS listeners\] The name of the Application-Layer Protocol
|
2519
|
+
# Negotiation (ALPN) policy. You can specify one policy name. The
|
2520
|
+
# following are the possible values:
|
2521
|
+
#
|
2522
|
+
# * `HTTP1Only`
|
2523
|
+
#
|
2524
|
+
# * `HTTP2Only`
|
2525
|
+
#
|
2526
|
+
# * `HTTP2Optional`
|
2527
|
+
#
|
2528
|
+
# * `HTTP2Preferred`
|
2529
|
+
#
|
2530
|
+
# * `None`
|
2531
|
+
#
|
2532
|
+
# For more information, see [ALPN Policies][1] in the *Network Load
|
2533
|
+
# Balancers Guide*.
|
2534
|
+
#
|
2535
|
+
#
|
2536
|
+
#
|
2537
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies
|
2538
|
+
# @return [Array<String>]
|
2539
|
+
#
|
2312
2540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput AWS API Documentation
|
2313
2541
|
#
|
2314
2542
|
class ModifyListenerInput < Struct.new(
|
@@ -2317,7 +2545,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2317
2545
|
:protocol,
|
2318
2546
|
:ssl_policy,
|
2319
2547
|
:certificates,
|
2320
|
-
:default_actions
|
2548
|
+
:default_actions,
|
2549
|
+
:alpn_policy)
|
2321
2550
|
include Aws::Structure
|
2322
2551
|
end
|
2323
2552
|
|
@@ -2672,6 +2901,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2672
2901
|
include Aws::Structure
|
2673
2902
|
end
|
2674
2903
|
|
2904
|
+
# This operation is not allowed.
|
2905
|
+
#
|
2906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/OperationNotPermittedException AWS API Documentation
|
2907
|
+
#
|
2908
|
+
class OperationNotPermittedException < Aws::EmptyStructure; end
|
2909
|
+
|
2675
2910
|
# Information about a path pattern condition.
|
2676
2911
|
#
|
2677
2912
|
# @note When making an API call, you may pass PathPatternConditionConfig
|
@@ -2700,6 +2935,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2700
2935
|
include Aws::Structure
|
2701
2936
|
end
|
2702
2937
|
|
2938
|
+
# The specified priority is in use.
|
2939
|
+
#
|
2940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/PriorityInUseException AWS API Documentation
|
2941
|
+
#
|
2942
|
+
class PriorityInUseException < Aws::EmptyStructure; end
|
2943
|
+
|
2703
2944
|
# Information about a query string condition.
|
2704
2945
|
#
|
2705
2946
|
# The query string component of a URI starts after the first '?'
|
@@ -2947,6 +3188,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2947
3188
|
#
|
2948
3189
|
class RemoveTagsOutput < Aws::EmptyStructure; end
|
2949
3190
|
|
3191
|
+
# A specified resource is in use.
|
3192
|
+
#
|
3193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ResourceInUseException AWS API Documentation
|
3194
|
+
#
|
3195
|
+
class ResourceInUseException < Aws::EmptyStructure; end
|
3196
|
+
|
2950
3197
|
# Information about a rule.
|
2951
3198
|
#
|
2952
3199
|
# @!attribute [rw] rule_arn
|
@@ -3115,6 +3362,12 @@ module Aws::ElasticLoadBalancingV2
|
|
3115
3362
|
include Aws::Structure
|
3116
3363
|
end
|
3117
3364
|
|
3365
|
+
# The specified rule does not exist.
|
3366
|
+
#
|
3367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleNotFoundException AWS API Documentation
|
3368
|
+
#
|
3369
|
+
class RuleNotFoundException < Aws::EmptyStructure; end
|
3370
|
+
|
3118
3371
|
# Information about the priorities for the rules for a listener.
|
3119
3372
|
#
|
3120
3373
|
# @note When making an API call, you may pass RulePriorityPair
|
@@ -3141,6 +3394,12 @@ module Aws::ElasticLoadBalancingV2
|
|
3141
3394
|
include Aws::Structure
|
3142
3395
|
end
|
3143
3396
|
|
3397
|
+
# The specified SSL policy does not exist.
|
3398
|
+
#
|
3399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SSLPolicyNotFoundException AWS API Documentation
|
3400
|
+
#
|
3401
|
+
class SSLPolicyNotFoundException < Aws::EmptyStructure; end
|
3402
|
+
|
3144
3403
|
# @note When making an API call, you may pass SetIpAddressTypeInput
|
3145
3404
|
# data as a hash:
|
3146
3405
|
#
|
@@ -3258,6 +3517,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3258
3517
|
# {
|
3259
3518
|
# subnet_id: "SubnetId",
|
3260
3519
|
# allocation_id: "AllocationId",
|
3520
|
+
# private_i_pv_4_address: "PrivateIPv4Address",
|
3261
3521
|
# },
|
3262
3522
|
# ],
|
3263
3523
|
# }
|
@@ -3274,12 +3534,19 @@ module Aws::ElasticLoadBalancingV2
|
|
3274
3534
|
# @return [Array<String>]
|
3275
3535
|
#
|
3276
3536
|
# @!attribute [rw] subnet_mappings
|
3277
|
-
# The IDs of the public subnets. You
|
3278
|
-
# least two Availability Zones. You can specify only one subnet per
|
3537
|
+
# The IDs of the public subnets. You can specify only one subnet per
|
3279
3538
|
# Availability Zone. You must specify either subnets or subnet
|
3280
3539
|
# mappings.
|
3281
3540
|
#
|
3282
|
-
#
|
3541
|
+
# \[Application Load Balancers\] You must specify subnets from at
|
3542
|
+
# least two Availability Zones. You cannot specify Elastic IP
|
3543
|
+
# addresses for your subnets.
|
3544
|
+
#
|
3545
|
+
# \[Network Load Balancers\] You can specify subnets from one or more
|
3546
|
+
# Availability Zones. If you need static IP addresses for your
|
3547
|
+
# internet-facing load balancer, you can specify one Elastic IP
|
3548
|
+
# address per subnet. For internal load balancers, you can specify one
|
3549
|
+
# private IP address per subnet from the IPv4 range of the subnet.
|
3283
3550
|
# @return [Array<Types::SubnetMapping>]
|
3284
3551
|
#
|
3285
3552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput AWS API Documentation
|
@@ -3365,6 +3632,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3365
3632
|
# {
|
3366
3633
|
# subnet_id: "SubnetId",
|
3367
3634
|
# allocation_id: "AllocationId",
|
3635
|
+
# private_i_pv_4_address: "PrivateIPv4Address",
|
3368
3636
|
# }
|
3369
3637
|
#
|
3370
3638
|
# @!attribute [rw] subnet_id
|
@@ -3373,17 +3641,29 @@ module Aws::ElasticLoadBalancingV2
|
|
3373
3641
|
#
|
3374
3642
|
# @!attribute [rw] allocation_id
|
3375
3643
|
# \[Network Load Balancers\] The allocation ID of the Elastic IP
|
3376
|
-
# address.
|
3644
|
+
# address for an internet-facing load balancer.
|
3645
|
+
# @return [String]
|
3646
|
+
#
|
3647
|
+
# @!attribute [rw] private_i_pv_4_address
|
3648
|
+
# \[Network Load Balancers\] The private IPv4 address for an internal
|
3649
|
+
# load balancer.
|
3377
3650
|
# @return [String]
|
3378
3651
|
#
|
3379
3652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping AWS API Documentation
|
3380
3653
|
#
|
3381
3654
|
class SubnetMapping < Struct.new(
|
3382
3655
|
:subnet_id,
|
3383
|
-
:allocation_id
|
3656
|
+
:allocation_id,
|
3657
|
+
:private_i_pv_4_address)
|
3384
3658
|
include Aws::Structure
|
3385
3659
|
end
|
3386
3660
|
|
3661
|
+
# The specified subnet does not exist.
|
3662
|
+
#
|
3663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetNotFoundException AWS API Documentation
|
3664
|
+
#
|
3665
|
+
class SubnetNotFoundException < Aws::EmptyStructure; end
|
3666
|
+
|
3387
3667
|
# Information about a tag.
|
3388
3668
|
#
|
3389
3669
|
# @note When making an API call, you may pass Tag
|
@@ -3580,6 +3860,13 @@ module Aws::ElasticLoadBalancingV2
|
|
3580
3860
|
include Aws::Structure
|
3581
3861
|
end
|
3582
3862
|
|
3863
|
+
# You've reached the limit on the number of load balancers per target
|
3864
|
+
# group.
|
3865
|
+
#
|
3866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupAssociationLimitException AWS API Documentation
|
3867
|
+
#
|
3868
|
+
class TargetGroupAssociationLimitException < Aws::EmptyStructure; end
|
3869
|
+
|
3583
3870
|
# Information about a target group attribute.
|
3584
3871
|
#
|
3585
3872
|
# @note When making an API call, you may pass TargetGroupAttribute
|
@@ -3593,7 +3880,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3593
3880
|
# @!attribute [rw] key
|
3594
3881
|
# The name of the attribute.
|
3595
3882
|
#
|
3596
|
-
# The following
|
3883
|
+
# The following attributes are supported by both Application Load
|
3597
3884
|
# Balancers and Network Load Balancers:
|
3598
3885
|
#
|
3599
3886
|
# * `deregistration_delay.timeout_seconds` - The amount of time, in
|
@@ -3602,23 +3889,28 @@ module Aws::ElasticLoadBalancingV2
|
|
3602
3889
|
# range is 0-3600 seconds. The default value is 300 seconds. If the
|
3603
3890
|
# target is a Lambda function, this attribute is not supported.
|
3604
3891
|
#
|
3605
|
-
# ^
|
3606
|
-
#
|
3607
|
-
# The following attributes are supported by Application Load Balancers
|
3608
|
-
# if the target is not a Lambda function:
|
3609
|
-
#
|
3610
|
-
# * `slow_start.duration_seconds` - The time period, in seconds,
|
3611
|
-
# during which a newly registered target receives a linearly
|
3612
|
-
# increasing share of the traffic to the target group. After this
|
3613
|
-
# time period ends, the target receives its full share of traffic.
|
3614
|
-
# The range is 30-900 seconds (15 minutes). Slow start mode is
|
3615
|
-
# disabled by default.
|
3616
|
-
#
|
3617
3892
|
# * `stickiness.enabled` - Indicates whether sticky sessions are
|
3618
3893
|
# enabled. The value is `true` or `false`. The default is `false`.
|
3619
3894
|
#
|
3620
3895
|
# * `stickiness.type` - The type of sticky sessions. The possible
|
3621
|
-
#
|
3896
|
+
# values are `lb_cookie` for Application Load Balancers or
|
3897
|
+
# `source_ip` for Network Load Balancers.
|
3898
|
+
#
|
3899
|
+
# The following attributes are supported only if the load balancer is
|
3900
|
+
# an Application Load Balancer and the target is an instance or an IP
|
3901
|
+
# address:
|
3902
|
+
#
|
3903
|
+
# * `load_balancing.algorithm.type` - The load balancing algorithm
|
3904
|
+
# determines how the load balancer selects targets when routing
|
3905
|
+
# requests. The value is `round_robin` or
|
3906
|
+
# `least_outstanding_requests`. The default is `round_robin`.
|
3907
|
+
#
|
3908
|
+
# * `slow_start.duration_seconds` - The time period, in seconds,
|
3909
|
+
# during which a newly registered target receives an increasing
|
3910
|
+
# share of the traffic to the target group. After this time period
|
3911
|
+
# ends, the target receives its full share of traffic. The range is
|
3912
|
+
# 30-900 seconds (15 minutes). Slow start mode is disabled by
|
3913
|
+
# default.
|
3622
3914
|
#
|
3623
3915
|
# * `stickiness.lb_cookie.duration_seconds` - The time period, in
|
3624
3916
|
# seconds, during which requests from a client should be routed to
|
@@ -3627,16 +3919,16 @@ module Aws::ElasticLoadBalancingV2
|
|
3627
3919
|
# second to 1 week (604800 seconds). The default value is 1 day
|
3628
3920
|
# (86400 seconds).
|
3629
3921
|
#
|
3630
|
-
# The following attribute is supported only if the
|
3631
|
-
# function
|
3922
|
+
# The following attribute is supported only if the load balancer is an
|
3923
|
+
# Application Load Balancer and the target is a Lambda function:
|
3632
3924
|
#
|
3633
3925
|
# * `lambda.multi_value_headers.enabled` - Indicates whether the
|
3634
|
-
# request and response headers exchanged between the load
|
3635
|
-
# and the Lambda function include arrays of values or
|
3636
|
-
# value is `true` or `false`. The default is `false`.
|
3637
|
-
# is `false` and the request contains a duplicate
|
3638
|
-
# or query parameter key, the load balancer uses
|
3639
|
-
# by the client.
|
3926
|
+
# request and response headers that are exchanged between the load
|
3927
|
+
# balancer and the Lambda function include arrays of values or
|
3928
|
+
# strings. The value is `true` or `false`. The default is `false`.
|
3929
|
+
# If the value is `false` and the request contains a duplicate
|
3930
|
+
# header field name or query parameter key, the load balancer uses
|
3931
|
+
# the last value sent by the client.
|
3640
3932
|
#
|
3641
3933
|
# ^
|
3642
3934
|
#
|
@@ -3661,6 +3953,12 @@ module Aws::ElasticLoadBalancingV2
|
|
3661
3953
|
include Aws::Structure
|
3662
3954
|
end
|
3663
3955
|
|
3956
|
+
# The specified target group does not exist.
|
3957
|
+
#
|
3958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupNotFoundException AWS API Documentation
|
3959
|
+
#
|
3960
|
+
class TargetGroupNotFoundException < Aws::EmptyStructure; end
|
3961
|
+
|
3664
3962
|
# Information about the target group stickiness for a rule.
|
3665
3963
|
#
|
3666
3964
|
# @note When making an API call, you may pass TargetGroupStickinessConfig
|
@@ -3825,5 +4123,78 @@ module Aws::ElasticLoadBalancingV2
|
|
3825
4123
|
include Aws::Structure
|
3826
4124
|
end
|
3827
4125
|
|
4126
|
+
# You've reached the limit on the number of actions per rule.
|
4127
|
+
#
|
4128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyActionsException AWS API Documentation
|
4129
|
+
#
|
4130
|
+
class TooManyActionsException < Aws::EmptyStructure; end
|
4131
|
+
|
4132
|
+
# You've reached the limit on the number of certificates per load
|
4133
|
+
# balancer.
|
4134
|
+
#
|
4135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyCertificatesException AWS API Documentation
|
4136
|
+
#
|
4137
|
+
class TooManyCertificatesException < Aws::EmptyStructure; end
|
4138
|
+
|
4139
|
+
# You've reached the limit on the number of listeners per load
|
4140
|
+
# balancer.
|
4141
|
+
#
|
4142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyListenersException AWS API Documentation
|
4143
|
+
#
|
4144
|
+
class TooManyListenersException < Aws::EmptyStructure; end
|
4145
|
+
|
4146
|
+
# You've reached the limit on the number of load balancers for your AWS
|
4147
|
+
# account.
|
4148
|
+
#
|
4149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyLoadBalancersException AWS API Documentation
|
4150
|
+
#
|
4151
|
+
class TooManyLoadBalancersException < Aws::EmptyStructure; end
|
4152
|
+
|
4153
|
+
# You've reached the limit on the number of times a target can be
|
4154
|
+
# registered with a load balancer.
|
4155
|
+
#
|
4156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyRegistrationsForTargetIdException AWS API Documentation
|
4157
|
+
#
|
4158
|
+
class TooManyRegistrationsForTargetIdException < Aws::EmptyStructure; end
|
4159
|
+
|
4160
|
+
# You've reached the limit on the number of rules per load balancer.
|
4161
|
+
#
|
4162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyRulesException AWS API Documentation
|
4163
|
+
#
|
4164
|
+
class TooManyRulesException < Aws::EmptyStructure; end
|
4165
|
+
|
4166
|
+
# You've reached the limit on the number of tags per load balancer.
|
4167
|
+
#
|
4168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyTagsException AWS API Documentation
|
4169
|
+
#
|
4170
|
+
class TooManyTagsException < Aws::EmptyStructure; end
|
4171
|
+
|
4172
|
+
# You've reached the limit on the number of target groups for your AWS
|
4173
|
+
# account.
|
4174
|
+
#
|
4175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyTargetGroupsException AWS API Documentation
|
4176
|
+
#
|
4177
|
+
class TooManyTargetGroupsException < Aws::EmptyStructure; end
|
4178
|
+
|
4179
|
+
# You've reached the limit on the number of targets.
|
4180
|
+
#
|
4181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyTargetsException AWS API Documentation
|
4182
|
+
#
|
4183
|
+
class TooManyTargetsException < Aws::EmptyStructure; end
|
4184
|
+
|
4185
|
+
# You've reached the limit on the number of unique target groups per
|
4186
|
+
# load balancer across all listeners. If a target group is used by
|
4187
|
+
# multiple actions for a load balancer, it is counted as only one use.
|
4188
|
+
#
|
4189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TooManyUniqueTargetGroupsPerLoadBalancerException AWS API Documentation
|
4190
|
+
#
|
4191
|
+
class TooManyUniqueTargetGroupsPerLoadBalancerException < Aws::EmptyStructure; end
|
4192
|
+
|
4193
|
+
# The specified protocol is not supported.
|
4194
|
+
#
|
4195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/UnsupportedProtocolException AWS API Documentation
|
4196
|
+
#
|
4197
|
+
class UnsupportedProtocolException < Aws::EmptyStructure; end
|
4198
|
+
|
3828
4199
|
end
|
3829
4200
|
end
|