aws-sdk-elasticloadbalancingv2 1.38.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 43d7111d9f5775a51db51a09e9f0248c56ce2a52
4
- data.tar.gz: 7f5938d16388615e884428034de29888f2b5df8d
2
+ SHA256:
3
+ metadata.gz: 37f0cd48d947743cf76459e384754177f0b2a2de7e58d6df30e1a4050875fe10
4
+ data.tar.gz: 456a76ee69d179d2b0098ccf7c385363d94d2bdd435f86aa1657123fa4e4cad7
5
5
  SHA512:
6
- metadata.gz: '09e012b962db01457647d401b45abf6f6aef79324c7f9316a6403c588ba69276d0736dd5aaf3562397c8e489f87282df6f9e71442665b33df00078f9d43b1730'
7
- data.tar.gz: 77eaeaa7bef68a95e7da1f7b4d1d7fb20002bb4617b7e0a92098686169a18b90874a706e9841fbfa7ee3aaa97076f4da5008f112a0a9c3b2bff5694133d7e498
6
+ metadata.gz: 8c63fe0d2a6c098139e3cdc06f43c048ef02fb16f7a8d86524698c0750c85ac9557dcecbc7d1cc10b359a38a3dd29feb86cb64cd483e8d4f0b03ede0899b53b2
7
+ data.tar.gz: 8993363ec3142870cd004569849084e22d50513b48fa5a5e107857ccee8ffdd70b4ea6c1833779b229e3b9690a4489b5bd2eb07a6f2f7f577d6bf7ccffb4ba01
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
25
25
  # methods each accept a hash of request parameters and return a response
26
26
  # structure.
27
27
  #
28
+ # elastic_load_balancing_v2 = Aws::ElasticLoadBalancingV2::Client.new
29
+ # resp = elastic_load_balancing_v2.add_listener_certificates(params)
30
+ #
28
31
  # See {Client} for more information.
29
32
  #
30
33
  # # Errors
31
34
  #
32
- # Errors returned from Elastic Load Balancing all
33
- # extend {Errors::ServiceError}.
35
+ # Errors returned from Elastic Load Balancing are defined in the
36
+ # {Errors} module and all extend {Errors::ServiceError}.
34
37
  #
35
38
  # begin
36
39
  # # do stuff
37
40
  # rescue Aws::ElasticLoadBalancingV2::Errors::ServiceError
38
- # # rescues all service API errors
41
+ # # rescues all Elastic Load Balancing API errors
39
42
  # end
40
43
  #
41
44
  # See {Errors} for more information.
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
43
46
  # @service
44
47
  module Aws::ElasticLoadBalancingV2
45
48
 
46
- GEM_VERSION = '1.38.0'
49
+ GEM_VERSION = '1.43.0'
47
50
 
48
51
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/query.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:elasticloadbalancingv2)
31
31
 
32
32
  module Aws::ElasticLoadBalancingV2
33
+ # An API client for ElasticLoadBalancingV2. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::ElasticLoadBalancingV2::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::ElasticLoadBalancingV2
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::ElasticLoadBalancingV2
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::ElasticLoadBalancingV2
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::ElasticLoadBalancingV2
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -166,15 +188,29 @@ module Aws::ElasticLoadBalancingV2
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::ElasticLoadBalancingV2
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -209,16 +264,15 @@ module Aws::ElasticLoadBalancingV2
209
264
  # requests through. Formatted like 'http://proxy.com:123'.
210
265
  #
211
266
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
267
+ # seconds to wait when opening a HTTP session before raising a
213
268
  # `Timeout::Error`.
214
269
  #
215
270
  # @option options [Integer] :http_read_timeout (60) The default
216
271
  # number of seconds to wait for response data. This value can
217
- # safely be set
218
- # per-request on the session yeidled by {#session_for}.
272
+ # safely be set per-request on the session.
219
273
  #
220
274
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
275
+ # seconds a connection is allowed to sit idle before it is
222
276
  # considered stale. Stale connections are closed and removed
223
277
  # from the pool before making a request.
224
278
  #
@@ -227,7 +281,7 @@ module Aws::ElasticLoadBalancingV2
227
281
  # request body. This option has no effect unless the request has
228
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
283
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
284
+ # request on the session.
231
285
  #
232
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
287
  # HTTP debug output will be sent to the `:logger`.
@@ -324,7 +378,7 @@ module Aws::ElasticLoadBalancingV2
324
378
  # The Amazon Resource Name (ARN) of the resource.
325
379
  #
326
380
  # @option params [required, Array<Types::Tag>] :tags
327
- # The tags. Each resource can have a maximum of 10 tags.
381
+ # The tags.
328
382
  #
329
383
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
330
384
  #
@@ -406,8 +460,35 @@ module Aws::ElasticLoadBalancingV2
406
460
  #
407
461
  # @option params [String] :ssl_policy
408
462
  # \[HTTPS and TLS listeners\] The security policy that defines which
409
- # ciphers and protocols are supported. The default is the current
410
- # predefined security policy.
463
+ # protocols and ciphers are supported. The following are the possible
464
+ # values:
465
+ #
466
+ # * `ELBSecurityPolicy-2016-08`
467
+ #
468
+ # * `ELBSecurityPolicy-TLS-1-0-2015-04`
469
+ #
470
+ # * `ELBSecurityPolicy-TLS-1-1-2017-01`
471
+ #
472
+ # * `ELBSecurityPolicy-TLS-1-2-2017-01`
473
+ #
474
+ # * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
475
+ #
476
+ # * `ELBSecurityPolicy-FS-2018-06`
477
+ #
478
+ # * `ELBSecurityPolicy-FS-1-1-2019-08`
479
+ #
480
+ # * `ELBSecurityPolicy-FS-1-2-2019-08`
481
+ #
482
+ # * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
483
+ #
484
+ # For more information, see [Security Policies][1] in the *Application
485
+ # Load Balancers Guide* and [Security Policies][2] in the *Network Load
486
+ # Balancers Guide*.
487
+ #
488
+ #
489
+ #
490
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
491
+ # [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies
411
492
  #
412
493
  # @option params [Array<Types::Certificate>] :certificates
413
494
  # \[HTTPS and TLS listeners\] The default certificate for the listener.
@@ -439,6 +520,28 @@ module Aws::ElasticLoadBalancingV2
439
520
  # \[Application Load Balancer\] If the action type is `fixed-response`,
440
521
  # you drop specified client requests and return a custom HTTP response.
441
522
  #
523
+ # @option params [Array<String>] :alpn_policy
524
+ # \[TLS listeners\] The name of the Application-Layer Protocol
525
+ # Negotiation (ALPN) policy. You can specify one policy name. The
526
+ # following are the possible values:
527
+ #
528
+ # * `HTTP1Only`
529
+ #
530
+ # * `HTTP2Only`
531
+ #
532
+ # * `HTTP2Optional`
533
+ #
534
+ # * `HTTP2Preferred`
535
+ #
536
+ # * `None`
537
+ #
538
+ # For more information, see [ALPN Policies][1] in the *Network Load
539
+ # Balancers Guide*.
540
+ #
541
+ #
542
+ #
543
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies
544
+ #
442
545
  # @return [Types::CreateListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
443
546
  #
444
547
  # * {Types::CreateListenerOutput#listeners #listeners} => Array&lt;Types::Listener&gt;
@@ -601,6 +704,7 @@ module Aws::ElasticLoadBalancingV2
601
704
  # },
602
705
  # },
603
706
  # ],
707
+ # alpn_policy: ["AlpnPolicyValue"],
604
708
  # })
605
709
  #
606
710
  # @example Response structure
@@ -654,6 +758,8 @@ module Aws::ElasticLoadBalancingV2
654
758
  # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
655
759
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
656
760
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
761
+ # resp.listeners[0].alpn_policy #=> Array
762
+ # resp.listeners[0].alpn_policy[0] #=> String
657
763
  #
658
764
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener AWS API Documentation
659
765
  #
@@ -723,7 +829,9 @@ module Aws::ElasticLoadBalancingV2
723
829
  #
724
830
  # \[Network Load Balancers\] You can specify subnets from one or more
725
831
  # Availability Zones. You can specify one Elastic IP address per subnet
726
- # if you need static IP addresses for your load balancer.
832
+ # if you need static IP addresses for your internet-facing load
833
+ # balancer. For internal load balancers, you can specify one private IP
834
+ # address per subnet from the IPv4 range of the subnet.
727
835
  #
728
836
  # @option params [Array<String>] :security_groups
729
837
  # \[Application Load Balancers\] The IDs of the security groups for the
@@ -861,6 +969,7 @@ module Aws::ElasticLoadBalancingV2
861
969
  # {
862
970
  # subnet_id: "SubnetId",
863
971
  # allocation_id: "AllocationId",
972
+ # private_i_pv_4_address: "PrivateIPv4Address",
864
973
  # },
865
974
  # ],
866
975
  # security_groups: ["SecurityGroupId"],
@@ -894,6 +1003,7 @@ module Aws::ElasticLoadBalancingV2
894
1003
  # resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
895
1004
  # resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
896
1005
  # resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
1006
+ # resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
897
1007
  # resp.load_balancers[0].security_groups #=> Array
898
1008
  # resp.load_balancers[0].security_groups[0] #=> String
899
1009
  # resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
@@ -1716,6 +1826,8 @@ module Aws::ElasticLoadBalancingV2
1716
1826
  # * {Types::DescribeListenersOutput#listeners #listeners} => Array&lt;Types::Listener&gt;
1717
1827
  # * {Types::DescribeListenersOutput#next_marker #next_marker} => String
1718
1828
  #
1829
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1830
+ #
1719
1831
  #
1720
1832
  # @example Example: To describe a listener
1721
1833
  #
@@ -1805,6 +1917,8 @@ module Aws::ElasticLoadBalancingV2
1805
1917
  # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
1806
1918
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
1807
1919
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
1920
+ # resp.listeners[0].alpn_policy #=> Array
1921
+ # resp.listeners[0].alpn_policy[0] #=> String
1808
1922
  # resp.next_marker #=> String
1809
1923
  #
1810
1924
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners AWS API Documentation
@@ -1916,6 +2030,8 @@ module Aws::ElasticLoadBalancingV2
1916
2030
  # * {Types::DescribeLoadBalancersOutput#load_balancers #load_balancers} => Array&lt;Types::LoadBalancer&gt;
1917
2031
  # * {Types::DescribeLoadBalancersOutput#next_marker #next_marker} => String
1918
2032
  #
2033
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2034
+ #
1919
2035
  #
1920
2036
  # @example Example: To describe a load balancer
1921
2037
  #
@@ -1987,11 +2103,19 @@ module Aws::ElasticLoadBalancingV2
1987
2103
  # resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
1988
2104
  # resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
1989
2105
  # resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
2106
+ # resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
1990
2107
  # resp.load_balancers[0].security_groups #=> Array
1991
2108
  # resp.load_balancers[0].security_groups[0] #=> String
1992
2109
  # resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
1993
2110
  # resp.next_marker #=> String
1994
2111
  #
2112
+ #
2113
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2114
+ #
2115
+ # * load_balancer_available
2116
+ # * load_balancer_exists
2117
+ # * load_balancers_deleted
2118
+ #
1995
2119
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers AWS API Documentation
1996
2120
  #
1997
2121
  # @overload describe_load_balancers(params = {})
@@ -2303,7 +2427,8 @@ module Aws::ElasticLoadBalancingV2
2303
2427
  # Balancers, and target groups.
2304
2428
  #
2305
2429
  # @option params [required, Array<String>] :resource_arns
2306
- # The Amazon Resource Names (ARN) of the resources.
2430
+ # The Amazon Resource Names (ARN) of the resources. You can specify up
2431
+ # to 20 resources in a single call.
2307
2432
  #
2308
2433
  # @return [Types::DescribeTagsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2309
2434
  #
@@ -2463,6 +2588,8 @@ module Aws::ElasticLoadBalancingV2
2463
2588
  # * {Types::DescribeTargetGroupsOutput#target_groups #target_groups} => Array&lt;Types::TargetGroup&gt;
2464
2589
  # * {Types::DescribeTargetGroupsOutput#next_marker #next_marker} => String
2465
2590
  #
2591
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2592
+ #
2466
2593
  #
2467
2594
  # @example Example: To describe a target group
2468
2595
  #
@@ -2644,6 +2771,12 @@ module Aws::ElasticLoadBalancingV2
2644
2771
  # resp.target_health_descriptions[0].target_health.reason #=> String, one of "Elb.RegistrationInProgress", "Elb.InitialHealthChecking", "Target.ResponseCodeMismatch", "Target.Timeout", "Target.FailedHealthChecks", "Target.NotRegistered", "Target.NotInUse", "Target.DeregistrationInProgress", "Target.InvalidState", "Target.IpUnusable", "Target.HealthCheckDisabled", "Elb.InternalError"
2645
2772
  # resp.target_health_descriptions[0].target_health.description #=> String
2646
2773
  #
2774
+ #
2775
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2776
+ #
2777
+ # * target_deregistered
2778
+ # * target_in_service
2779
+ #
2647
2780
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth AWS API Documentation
2648
2781
  #
2649
2782
  # @overload describe_target_health(params = {})
@@ -2680,12 +2813,35 @@ module Aws::ElasticLoadBalancingV2
2680
2813
  #
2681
2814
  # @option params [String] :ssl_policy
2682
2815
  # \[HTTPS and TLS listeners\] The security policy that defines which
2683
- # protocols and ciphers are supported. For more information, see
2684
- # [Security Policies][1] in the *Application Load Balancers Guide*.
2816
+ # protocols and ciphers are supported. The following are the possible
2817
+ # values:
2818
+ #
2819
+ # * `ELBSecurityPolicy-2016-08`
2820
+ #
2821
+ # * `ELBSecurityPolicy-TLS-1-0-2015-04`
2822
+ #
2823
+ # * `ELBSecurityPolicy-TLS-1-1-2017-01`
2824
+ #
2825
+ # * `ELBSecurityPolicy-TLS-1-2-2017-01`
2826
+ #
2827
+ # * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
2828
+ #
2829
+ # * `ELBSecurityPolicy-FS-2018-06`
2830
+ #
2831
+ # * `ELBSecurityPolicy-FS-1-1-2019-08`
2832
+ #
2833
+ # * `ELBSecurityPolicy-FS-1-2-2019-08`
2834
+ #
2835
+ # * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
2836
+ #
2837
+ # For more information, see [Security Policies][1] in the *Application
2838
+ # Load Balancers Guide* and [Security Policies][2] in the *Network Load
2839
+ # Balancers Guide*.
2685
2840
  #
2686
2841
  #
2687
2842
  #
2688
2843
  # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
2844
+ # [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies
2689
2845
  #
2690
2846
  # @option params [Array<Types::Certificate>] :certificates
2691
2847
  # \[HTTPS and TLS listeners\] The default certificate for the listener.
@@ -2716,6 +2872,28 @@ module Aws::ElasticLoadBalancingV2
2716
2872
  # \[Application Load Balancer\] If the action type is `fixed-response`,
2717
2873
  # you drop specified client requests and return a custom HTTP response.
2718
2874
  #
2875
+ # @option params [Array<String>] :alpn_policy
2876
+ # \[TLS listeners\] The name of the Application-Layer Protocol
2877
+ # Negotiation (ALPN) policy. You can specify one policy name. The
2878
+ # following are the possible values:
2879
+ #
2880
+ # * `HTTP1Only`
2881
+ #
2882
+ # * `HTTP2Only`
2883
+ #
2884
+ # * `HTTP2Optional`
2885
+ #
2886
+ # * `HTTP2Preferred`
2887
+ #
2888
+ # * `None`
2889
+ #
2890
+ # For more information, see [ALPN Policies][1] in the *Network Load
2891
+ # Balancers Guide*.
2892
+ #
2893
+ #
2894
+ #
2895
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies
2896
+ #
2719
2897
  # @return [Types::ModifyListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2720
2898
  #
2721
2899
  # * {Types::ModifyListenerOutput#listeners #listeners} => Array&lt;Types::Listener&gt;
@@ -2863,6 +3041,7 @@ module Aws::ElasticLoadBalancingV2
2863
3041
  # },
2864
3042
  # },
2865
3043
  # ],
3044
+ # alpn_policy: ["AlpnPolicyValue"],
2866
3045
  # })
2867
3046
  #
2868
3047
  # @example Response structure
@@ -2916,6 +3095,8 @@ module Aws::ElasticLoadBalancingV2
2916
3095
  # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
2917
3096
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
2918
3097
  # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
3098
+ # resp.listeners[0].alpn_policy #=> Array
3099
+ # resp.listeners[0].alpn_policy[0] #=> String
2919
3100
  #
2920
3101
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener AWS API Documentation
2921
3102
  #
@@ -3979,11 +4160,13 @@ module Aws::ElasticLoadBalancingV2
3979
4160
  req.send_request(options)
3980
4161
  end
3981
4162
 
3982
- # Enables the Availability Zone for the specified public subnets for the
3983
- # specified Application Load Balancer. The specified subnets replace the
4163
+ # Enables the Availability Zones for the specified public subnets for
4164
+ # the specified load balancer. The specified subnets replace the
3984
4165
  # previously enabled subnets.
3985
4166
  #
3986
- # You can't change the subnets for a Network Load Balancer.
4167
+ # When you specify subnets for a Network Load Balancer, you must include
4168
+ # all subnets that were enabled previously, with their existing
4169
+ # configurations, plus any additional subnets.
3987
4170
  #
3988
4171
  # @option params [required, String] :load_balancer_arn
3989
4172
  # The Amazon Resource Name (ARN) of the load balancer.
@@ -3994,11 +4177,18 @@ module Aws::ElasticLoadBalancingV2
3994
4177
  # Availability Zone. You must specify either subnets or subnet mappings.
3995
4178
  #
3996
4179
  # @option params [Array<Types::SubnetMapping>] :subnet_mappings
3997
- # The IDs of the public subnets. You must specify subnets from at least
3998
- # two Availability Zones. You can specify only one subnet per
4180
+ # The IDs of the public subnets. You can specify only one subnet per
3999
4181
  # Availability Zone. You must specify either subnets or subnet mappings.
4000
4182
  #
4001
- # You cannot specify Elastic IP addresses for your subnets.
4183
+ # \[Application Load Balancers\] You must specify subnets from at least
4184
+ # two Availability Zones. You cannot specify Elastic IP addresses for
4185
+ # your subnets.
4186
+ #
4187
+ # \[Network Load Balancers\] You can specify subnets from one or more
4188
+ # Availability Zones. If you need static IP addresses for your
4189
+ # internet-facing load balancer, you can specify one Elastic IP address
4190
+ # per subnet. For internal load balancers, you can specify one private
4191
+ # IP address per subnet from the IPv4 range of the subnet.
4002
4192
  #
4003
4193
  # @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4004
4194
  #
@@ -4040,6 +4230,7 @@ module Aws::ElasticLoadBalancingV2
4040
4230
  # {
4041
4231
  # subnet_id: "SubnetId",
4042
4232
  # allocation_id: "AllocationId",
4233
+ # private_i_pv_4_address: "PrivateIPv4Address",
4043
4234
  # },
4044
4235
  # ],
4045
4236
  # })
@@ -4052,6 +4243,7 @@ module Aws::ElasticLoadBalancingV2
4052
4243
  # resp.availability_zones[0].load_balancer_addresses #=> Array
4053
4244
  # resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
4054
4245
  # resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
4246
+ # resp.availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
4055
4247
  #
4056
4248
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
4057
4249
  #
@@ -4075,7 +4267,7 @@ module Aws::ElasticLoadBalancingV2
4075
4267
  params: params,
4076
4268
  config: config)
4077
4269
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
4078
- context[:gem_version] = '1.38.0'
4270
+ context[:gem_version] = '1.43.0'
4079
4271
  Seahorse::Client::Request.new(handlers, context)
4080
4272
  end
4081
4273
 
@@ -4141,13 +4333,13 @@ module Aws::ElasticLoadBalancingV2
4141
4333
  # The following table lists the valid waiter names, the operations they call,
4142
4334
  # and the default `:delay` and `:max_attempts` values.
4143
4335
  #
4144
- # | waiter_name | params | :delay | :max_attempts |
4145
- # | ----------------------- | -------------------------- | -------- | ------------- |
4146
- # | load_balancer_available | {#describe_load_balancers} | 15 | 40 |
4147
- # | load_balancer_exists | {#describe_load_balancers} | 15 | 40 |
4148
- # | load_balancers_deleted | {#describe_load_balancers} | 15 | 40 |
4149
- # | target_deregistered | {#describe_target_health} | 15 | 40 |
4150
- # | target_in_service | {#describe_target_health} | 15 | 40 |
4336
+ # | waiter_name | params | :delay | :max_attempts |
4337
+ # | ----------------------- | -------------------------------- | -------- | ------------- |
4338
+ # | load_balancer_available | {Client#describe_load_balancers} | 15 | 40 |
4339
+ # | load_balancer_exists | {Client#describe_load_balancers} | 15 | 40 |
4340
+ # | load_balancers_deleted | {Client#describe_load_balancers} | 15 | 40 |
4341
+ # | target_deregistered | {Client#describe_target_health} | 15 | 40 |
4342
+ # | target_in_service | {Client#describe_target_health} | 15 | 40 |
4151
4343
  #
4152
4344
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4153
4345
  # because the waiter has entered a state that it will not transition