aws-sdk-elasticloadbalancingv2 1.39.0 → 1.44.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 +203 -27
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +84 -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 +376 -36
- data/lib/aws-sdk-elasticloadbalancingv2/waiters.rb +65 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c47e7a5fbc71e871b36d686fed1978296cef982295dafd79b42f7943fef39212
|
4
|
+
data.tar.gz: bb8febe75bb0ae37186acf1cd57abe5df5a3d63d46a7adc40f32f0b1eb7615d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43ef642bec2fe9dbdf62b57996cc3ad52703f3514a9212f84e3ce37271821d372bc1298dfffee79d30a221f2f1a11d30d5830c439fae868ac4bb2b73f9dc41a4
|
7
|
+
data.tar.gz: e70bed54f87b1e9059a3fbd1af6afa49094d40bfe4fc5294360263470dbe0f8aa2bbb9050e37cd6f1651ef7f4e4cd960bcfccf456e2c2426df8153fdb5a30f57
|
@@ -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
|
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
|
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.
|
49
|
+
GEM_VERSION = '1.44.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
|
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
|
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
|
@@ -154,7 +176,7 @@ module Aws::ElasticLoadBalancingV2
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -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.
|
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
|
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)
|
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
|
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
|
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
|
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.
|
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
|
-
#
|
410
|
-
#
|
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<Types::Listener>
|
@@ -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
|
#
|
@@ -1720,6 +1826,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1720
1826
|
# * {Types::DescribeListenersOutput#listeners #listeners} => Array<Types::Listener>
|
1721
1827
|
# * {Types::DescribeListenersOutput#next_marker #next_marker} => String
|
1722
1828
|
#
|
1829
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1830
|
+
#
|
1723
1831
|
#
|
1724
1832
|
# @example Example: To describe a listener
|
1725
1833
|
#
|
@@ -1809,6 +1917,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1809
1917
|
# resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
|
1810
1918
|
# resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
|
1811
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
|
1812
1922
|
# resp.next_marker #=> String
|
1813
1923
|
#
|
1814
1924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners AWS API Documentation
|
@@ -1920,6 +2030,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1920
2030
|
# * {Types::DescribeLoadBalancersOutput#load_balancers #load_balancers} => Array<Types::LoadBalancer>
|
1921
2031
|
# * {Types::DescribeLoadBalancersOutput#next_marker #next_marker} => String
|
1922
2032
|
#
|
2033
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2034
|
+
#
|
1923
2035
|
#
|
1924
2036
|
# @example Example: To describe a load balancer
|
1925
2037
|
#
|
@@ -1997,6 +2109,13 @@ module Aws::ElasticLoadBalancingV2
|
|
1997
2109
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
1998
2110
|
# resp.next_marker #=> String
|
1999
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
|
+
#
|
2000
2119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers AWS API Documentation
|
2001
2120
|
#
|
2002
2121
|
# @overload describe_load_balancers(params = {})
|
@@ -2308,7 +2427,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2308
2427
|
# Balancers, and target groups.
|
2309
2428
|
#
|
2310
2429
|
# @option params [required, Array<String>] :resource_arns
|
2311
|
-
# 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.
|
2312
2432
|
#
|
2313
2433
|
# @return [Types::DescribeTagsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2314
2434
|
#
|
@@ -2468,6 +2588,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2468
2588
|
# * {Types::DescribeTargetGroupsOutput#target_groups #target_groups} => Array<Types::TargetGroup>
|
2469
2589
|
# * {Types::DescribeTargetGroupsOutput#next_marker #next_marker} => String
|
2470
2590
|
#
|
2591
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2592
|
+
#
|
2471
2593
|
#
|
2472
2594
|
# @example Example: To describe a target group
|
2473
2595
|
#
|
@@ -2649,6 +2771,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2649
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"
|
2650
2772
|
# resp.target_health_descriptions[0].target_health.description #=> String
|
2651
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
|
+
#
|
2652
2780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth AWS API Documentation
|
2653
2781
|
#
|
2654
2782
|
# @overload describe_target_health(params = {})
|
@@ -2685,12 +2813,35 @@ module Aws::ElasticLoadBalancingV2
|
|
2685
2813
|
#
|
2686
2814
|
# @option params [String] :ssl_policy
|
2687
2815
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
2688
|
-
# protocols and ciphers are supported.
|
2689
|
-
#
|
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*.
|
2690
2840
|
#
|
2691
2841
|
#
|
2692
2842
|
#
|
2693
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
|
2694
2845
|
#
|
2695
2846
|
# @option params [Array<Types::Certificate>] :certificates
|
2696
2847
|
# \[HTTPS and TLS listeners\] The default certificate for the listener.
|
@@ -2721,6 +2872,28 @@ module Aws::ElasticLoadBalancingV2
|
|
2721
2872
|
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
2722
2873
|
# you drop specified client requests and return a custom HTTP response.
|
2723
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
|
+
#
|
2724
2897
|
# @return [Types::ModifyListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2725
2898
|
#
|
2726
2899
|
# * {Types::ModifyListenerOutput#listeners #listeners} => Array<Types::Listener>
|
@@ -2868,6 +3041,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2868
3041
|
# },
|
2869
3042
|
# },
|
2870
3043
|
# ],
|
3044
|
+
# alpn_policy: ["AlpnPolicyValue"],
|
2871
3045
|
# })
|
2872
3046
|
#
|
2873
3047
|
# @example Response structure
|
@@ -2921,6 +3095,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2921
3095
|
# resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
|
2922
3096
|
# resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
|
2923
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
|
2924
3100
|
#
|
2925
3101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener AWS API Documentation
|
2926
3102
|
#
|
@@ -4091,7 +4267,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4091
4267
|
params: params,
|
4092
4268
|
config: config)
|
4093
4269
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4094
|
-
context[:gem_version] = '1.
|
4270
|
+
context[:gem_version] = '1.44.0'
|
4095
4271
|
Seahorse::Client::Request.new(handlers, context)
|
4096
4272
|
end
|
4097
4273
|
|
@@ -4157,13 +4333,13 @@ module Aws::ElasticLoadBalancingV2
|
|
4157
4333
|
# The following table lists the valid waiter names, the operations they call,
|
4158
4334
|
# and the default `:delay` and `:max_attempts` values.
|
4159
4335
|
#
|
4160
|
-
# | waiter_name | params
|
4161
|
-
# | ----------------------- |
|
4162
|
-
# | load_balancer_available | {#describe_load_balancers} | 15 | 40 |
|
4163
|
-
# | load_balancer_exists | {#describe_load_balancers} | 15 | 40 |
|
4164
|
-
# | load_balancers_deleted | {#describe_load_balancers} | 15 | 40 |
|
4165
|
-
# | target_deregistered | {#describe_target_health} | 15 | 40 |
|
4166
|
-
# | 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 |
|
4167
4343
|
#
|
4168
4344
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
4169
4345
|
# because the waiter has entered a state that it will not transition
|