aws-sdk-elasticloadbalancingv2 1.74.0 → 1.93.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 +98 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +150 -54
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +5 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_provider.rb +57 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb +492 -0
- data/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb +136 -0
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +242 -1110
- data/lib/aws-sdk-elasticloadbalancingv2.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b84a22f5ad197e2df6e5f75c1bc66c25a82093c20b246eec360d9cff22f74c
|
4
|
+
data.tar.gz: 13e6cb850df4a9078bde7bb6aca1ece2cc5f812224889e7ddfc9af0cfd6d3366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55f8fe38999eb94a05cfcb4b8c41114e536e1058ef1748d0437706504283f1ea43ddf62b0feae4a7b13bc58898e283e97137ef250d633303d03fde8ec747c3ec
|
7
|
+
data.tar.gz: '066438704868030d3279429bb3f3dae7981193d3f3d0ff1ea0be690ac5aed5b3236d9e3bf3e37d76820e67e34710cfb5c4abe992d0e0539e30361c5ada062986'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,103 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.93.0 (2023-10-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables routing policies with Availability Zone affinity for Network Load Balancers.
|
8
|
+
|
9
|
+
1.92.0 (2023-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.91.0 (2023-09-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release enables default UDP connection termination and disabling unhealthy target connection termination for Network Load Balancers.
|
18
|
+
|
19
|
+
1.90.0 (2023-08-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release enables configuring security groups for Network Load Balancers
|
23
|
+
|
24
|
+
1.89.0 (2023-07-11)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.88.0 (2023-07-06)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.87.0 (2023-06-28)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.86.0 (2023-06-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.85.0 (2023-05-31)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.84.0 (2023-02-02)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - The GWLB Flex Health Check project updates the default values of healthy-threshold-count from 3 to 5 and unhealthy-threshold-count from 3 to 2
|
53
|
+
|
54
|
+
1.83.0 (2023-01-18)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
60
|
+
|
61
|
+
1.82.0 (2022-11-17)
|
62
|
+
------------------
|
63
|
+
|
64
|
+
* Feature - Provides new target group attributes to turn on/off cross zone load balancing and configure target group health for Network Load Balancers and Application Load Balancers. Provides improvements to health check configuration for Network Load Balancers.
|
65
|
+
|
66
|
+
1.81.0 (2022-10-25)
|
67
|
+
------------------
|
68
|
+
|
69
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
70
|
+
|
71
|
+
1.80.0 (2022-10-07)
|
72
|
+
------------------
|
73
|
+
|
74
|
+
* Feature - Gateway Load Balancer adds a new feature (target_failover) for customers to rebalance existing flows to a healthy target after marked unhealthy or deregistered. This allows graceful patching/upgrades of target appliances during maintenance windows, and helps reduce unhealthy target failover time.
|
75
|
+
|
76
|
+
1.79.0 (2022-08-25)
|
77
|
+
------------------
|
78
|
+
|
79
|
+
* Feature - Documentation updates for ELBv2. Gateway Load Balancer now supports Configurable Flow Stickiness, enabling you to configure the hashing used to maintain stickiness of flows to a specific target appliance.
|
80
|
+
|
81
|
+
1.78.0 (2022-06-29)
|
82
|
+
------------------
|
83
|
+
|
84
|
+
* Feature - This release adds two attributes for ALB. One, helps to preserve the host header and the other helps to modify, preserve, or remove the X-Forwarded-For header in the HTTP request.
|
85
|
+
|
86
|
+
1.77.0 (2022-02-24)
|
87
|
+
------------------
|
88
|
+
|
89
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
90
|
+
|
91
|
+
1.76.0 (2022-02-03)
|
92
|
+
------------------
|
93
|
+
|
94
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
95
|
+
|
96
|
+
1.75.0 (2021-12-21)
|
97
|
+
------------------
|
98
|
+
|
99
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
100
|
+
|
4
101
|
1.74.0 (2021-11-30)
|
5
102
|
------------------
|
6
103
|
|
@@ -451,4 +548,4 @@ Unreleased Changes
|
|
451
548
|
1.0.0.rc1 (2016-12-05)
|
452
549
|
------------------
|
453
550
|
|
454
|
-
* Feature - Initial preview release of the `aws-sdk-elasticloadbalancingv2` gem.
|
551
|
+
* Feature - Initial preview release of the `aws-sdk-elasticloadbalancingv2` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.93.0
|
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
-
require 'aws-sdk-core/plugins/
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
32
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
34
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
31
35
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
32
36
|
|
33
37
|
Aws::Plugins::GlobalConfiguration.add_identifier(:elasticloadbalancingv2)
|
@@ -73,8 +77,13 @@ module Aws::ElasticLoadBalancingV2
|
|
73
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
|
-
add_plugin(Aws::Plugins::
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
82
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
84
|
+
add_plugin(Aws::Plugins::Sign)
|
77
85
|
add_plugin(Aws::Plugins::Protocols::Query)
|
86
|
+
add_plugin(Aws::ElasticLoadBalancingV2::Plugins::Endpoints)
|
78
87
|
|
79
88
|
# @overload initialize(options)
|
80
89
|
# @param [Hash] options
|
@@ -175,10 +184,18 @@ module Aws::ElasticLoadBalancingV2
|
|
175
184
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
185
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
186
|
#
|
187
|
+
# @option options [String] :defaults_mode ("legacy")
|
188
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
189
|
+
# accepted modes and the configuration defaults that are included.
|
190
|
+
#
|
178
191
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
192
|
# Set to true to disable SDK automatically adding host prefix
|
180
193
|
# to default service endpoint when available.
|
181
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
182
199
|
# @option options [String] :endpoint
|
183
200
|
# The client endpoint is normally constructed from the `:region`
|
184
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -199,6 +216,10 @@ module Aws::ElasticLoadBalancingV2
|
|
199
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
200
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
201
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
202
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
203
224
|
# The log formatter.
|
204
225
|
#
|
@@ -219,6 +240,11 @@ module Aws::ElasticLoadBalancingV2
|
|
219
240
|
# Used when loading credentials from the shared credentials file
|
220
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
221
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
222
248
|
# @option options [Proc] :retry_backoff
|
223
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
224
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -264,6 +290,11 @@ module Aws::ElasticLoadBalancingV2
|
|
264
290
|
# in the future.
|
265
291
|
#
|
266
292
|
#
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
294
|
+
# A unique and opaque application ID that is appended to the
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
296
|
+
# maximum length of 50.
|
297
|
+
#
|
267
298
|
# @option options [String] :secret_access_key
|
268
299
|
#
|
269
300
|
# @option options [String] :session_token
|
@@ -277,6 +308,19 @@ module Aws::ElasticLoadBalancingV2
|
|
277
308
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
278
309
|
# requests are made, and retries are disabled.
|
279
310
|
#
|
311
|
+
# @option options [Aws::TokenProvider] :token_provider
|
312
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
313
|
+
# following classes:
|
314
|
+
#
|
315
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
316
|
+
# tokens.
|
317
|
+
#
|
318
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
319
|
+
# access token generated from `aws login`.
|
320
|
+
#
|
321
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
322
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
323
|
+
#
|
280
324
|
# @option options [Boolean] :use_dualstack_endpoint
|
281
325
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
326
|
# will be used if available.
|
@@ -290,6 +334,9 @@ module Aws::ElasticLoadBalancingV2
|
|
290
334
|
# When `true`, request parameters are validated before
|
291
335
|
# sending the request.
|
292
336
|
#
|
337
|
+
# @option options [Aws::ElasticLoadBalancingV2::EndpointProvider] :endpoint_provider
|
338
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ElasticLoadBalancingV2::EndpointParameters`
|
339
|
+
#
|
293
340
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
294
341
|
# requests through. Formatted like 'http://proxy.com:123'.
|
295
342
|
#
|
@@ -297,7 +344,7 @@ module Aws::ElasticLoadBalancingV2
|
|
297
344
|
# seconds to wait when opening a HTTP session before raising a
|
298
345
|
# `Timeout::Error`.
|
299
346
|
#
|
300
|
-
# @option options [
|
347
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
348
|
# number of seconds to wait for response data. This value can
|
302
349
|
# safely be set per-request on the session.
|
303
350
|
#
|
@@ -313,6 +360,9 @@ module Aws::ElasticLoadBalancingV2
|
|
313
360
|
# disables this behaviour. This value can safely be set per
|
314
361
|
# request on the session.
|
315
362
|
#
|
363
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
364
|
+
# in seconds.
|
365
|
+
#
|
316
366
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
367
|
# HTTP debug output will be sent to the `:logger`.
|
318
368
|
#
|
@@ -796,7 +846,9 @@ module Aws::ElasticLoadBalancingV2
|
|
796
846
|
#
|
797
847
|
# @option params [Array<String>] :subnets
|
798
848
|
# The IDs of the public subnets. You can specify only one subnet per
|
799
|
-
# Availability Zone. You must specify either subnets or subnet mappings
|
849
|
+
# Availability Zone. You must specify either subnets or subnet mappings,
|
850
|
+
# but not both. To specify an Elastic IP address, specify subnet
|
851
|
+
# mappings instead of subnets.
|
800
852
|
#
|
801
853
|
# \[Application Load Balancers\] You must specify subnets from at least
|
802
854
|
# two Availability Zones.
|
@@ -815,7 +867,8 @@ module Aws::ElasticLoadBalancingV2
|
|
815
867
|
#
|
816
868
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
817
869
|
# The IDs of the public subnets. You can specify only one subnet per
|
818
|
-
# Availability Zone. You must specify either subnets or subnet mappings
|
870
|
+
# Availability Zone. You must specify either subnets or subnet mappings,
|
871
|
+
# but not both.
|
819
872
|
#
|
820
873
|
# \[Application Load Balancers\] You must specify subnets from at least
|
821
874
|
# two Availability Zones. You cannot specify Elastic IP addresses for
|
@@ -840,8 +893,8 @@ module Aws::ElasticLoadBalancingV2
|
|
840
893
|
# subnets.
|
841
894
|
#
|
842
895
|
# @option params [Array<String>] :security_groups
|
843
|
-
# \[Application Load Balancers\] The IDs of
|
844
|
-
# load balancer.
|
896
|
+
# \[Application Load Balancers and Network Load Balancers\] The IDs of
|
897
|
+
# the security groups for the load balancer.
|
845
898
|
#
|
846
899
|
# @option params [String] :scheme
|
847
900
|
# The nodes of an Internet-facing load balancer have public IP
|
@@ -1023,6 +1076,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1023
1076
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1024
1077
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
1025
1078
|
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
1079
|
+
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
|
1026
1080
|
#
|
1027
1081
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer AWS API Documentation
|
1028
1082
|
#
|
@@ -1380,38 +1434,39 @@ module Aws::ElasticLoadBalancingV2
|
|
1380
1434
|
#
|
1381
1435
|
# @option params [Integer] :health_check_interval_seconds
|
1382
1436
|
# The approximate amount of time, in seconds, between health checks of
|
1383
|
-
# an individual target. If the target group protocol
|
1384
|
-
#
|
1385
|
-
# group protocol is
|
1386
|
-
# target
|
1387
|
-
# target type is `lambda`, the default is 35 seconds.
|
1437
|
+
# an individual target. The range is 5-300. If the target group protocol
|
1438
|
+
# is TCP, TLS, UDP, TCP\_UDP, HTTP or HTTPS, the default is 30 seconds.
|
1439
|
+
# If the target group protocol is GENEVE, the default is 10 seconds. If
|
1440
|
+
# the target type is `lambda`, the default is 35 seconds.
|
1388
1441
|
#
|
1389
1442
|
# @option params [Integer] :health_check_timeout_seconds
|
1390
1443
|
# The amount of time, in seconds, during which no response from a target
|
1391
|
-
# means a failed health check.
|
1392
|
-
#
|
1393
|
-
# with a protocol of TCP or
|
1394
|
-
#
|
1395
|
-
# target type is `lambda`, the default is 30 seconds.
|
1444
|
+
# means a failed health check. The range is 2–120 seconds. For target
|
1445
|
+
# groups with a protocol of HTTP, the default is 6 seconds. For target
|
1446
|
+
# groups with a protocol of TCP, TLS or HTTPS, the default is 10
|
1447
|
+
# seconds. For target groups with a protocol of GENEVE, the default is 5
|
1448
|
+
# seconds. If the target type is `lambda`, the default is 30 seconds.
|
1396
1449
|
#
|
1397
1450
|
# @option params [Integer] :healthy_threshold_count
|
1398
|
-
# The number of consecutive health
|
1399
|
-
# considering
|
1400
|
-
# protocol
|
1401
|
-
#
|
1402
|
-
# is `lambda`, the default is 5.
|
1451
|
+
# The number of consecutive health check successes required before
|
1452
|
+
# considering a target healthy. The range is 2-10. If the target group
|
1453
|
+
# protocol is TCP, TCP\_UDP, UDP, TLS, HTTP or HTTPS, the default is 5.
|
1454
|
+
# For target groups with a protocol of GENEVE, the default is 5. If the
|
1455
|
+
# target type is `lambda`, the default is 5.
|
1403
1456
|
#
|
1404
1457
|
# @option params [Integer] :unhealthy_threshold_count
|
1405
1458
|
# The number of consecutive health check failures required before
|
1406
|
-
# considering a target unhealthy. If the target group
|
1407
|
-
# or HTTPS, the default is 2.
|
1408
|
-
#
|
1409
|
-
#
|
1410
|
-
# type is `lambda`, the default is 2.
|
1459
|
+
# considering a target unhealthy. The range is 2-10. If the target group
|
1460
|
+
# protocol is TCP, TCP\_UDP, UDP, TLS, HTTP or HTTPS, the default is 2.
|
1461
|
+
# For target groups with a protocol of GENEVE, the default is 2. If the
|
1462
|
+
# target type is `lambda`, the default is 5.
|
1411
1463
|
#
|
1412
1464
|
# @option params [Types::Matcher] :matcher
|
1413
1465
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
1414
|
-
# checking for a successful response from a target.
|
1466
|
+
# checking for a successful response from a target. For target groups
|
1467
|
+
# with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599. For
|
1468
|
+
# target groups with a protocol of HTTP or HTTPS, the range is 200-499.
|
1469
|
+
# For target groups with a protocol of GENEVE, the range is 200-399.
|
1415
1470
|
#
|
1416
1471
|
# @option params [String] :target_type
|
1417
1472
|
# The type of target that you must specify when registering targets with
|
@@ -1692,6 +1747,32 @@ module Aws::ElasticLoadBalancingV2
|
|
1692
1747
|
# After the targets are deregistered, they no longer receive traffic
|
1693
1748
|
# from the load balancer.
|
1694
1749
|
#
|
1750
|
+
# The load balancer stops sending requests to targets that are
|
1751
|
+
# deregistering, but uses connection draining to ensure that in-flight
|
1752
|
+
# traffic completes on the existing connections. This deregistration
|
1753
|
+
# delay is configured by default but can be updated for each target
|
1754
|
+
# group.
|
1755
|
+
#
|
1756
|
+
# For more information, see the following:
|
1757
|
+
#
|
1758
|
+
# * [ Deregistration delay][1] in the *Application Load Balancers User
|
1759
|
+
# Guide*
|
1760
|
+
#
|
1761
|
+
# * [ Deregistration delay][2] in the *Network Load Balancers User
|
1762
|
+
# Guide*
|
1763
|
+
#
|
1764
|
+
# * [ Deregistration delay][3] in the *Gateway Load Balancers User
|
1765
|
+
# Guide*
|
1766
|
+
#
|
1767
|
+
# Note: If the specified target does not exist, the action returns
|
1768
|
+
# successfully.
|
1769
|
+
#
|
1770
|
+
#
|
1771
|
+
#
|
1772
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#deregistration-delay
|
1773
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay
|
1774
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#deregistration-delay
|
1775
|
+
#
|
1695
1776
|
# @option params [required, String] :target_group_arn
|
1696
1777
|
# The Amazon Resource Name (ARN) of the target group.
|
1697
1778
|
#
|
@@ -2154,6 +2235,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2154
2235
|
# resp.load_balancers[0].security_groups[0] #=> String
|
2155
2236
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
2156
2237
|
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
2238
|
+
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
|
2157
2239
|
# resp.next_marker #=> String
|
2158
2240
|
#
|
2159
2241
|
#
|
@@ -3555,8 +3637,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3555
3637
|
# TCP\_UDP. The GENEVE, TLS, UDP, and TCP\_UDP protocols are not
|
3556
3638
|
# supported for health checks.
|
3557
3639
|
#
|
3558
|
-
# With Network Load Balancers, you can't modify this setting.
|
3559
|
-
#
|
3560
3640
|
# @option params [String] :health_check_port
|
3561
3641
|
# The port the load balancer uses when performing health checks on
|
3562
3642
|
# targets.
|
@@ -3576,32 +3656,26 @@ module Aws::ElasticLoadBalancingV2
|
|
3576
3656
|
#
|
3577
3657
|
# @option params [Integer] :health_check_interval_seconds
|
3578
3658
|
# The approximate amount of time, in seconds, between health checks of
|
3579
|
-
# an individual target.
|
3580
|
-
# 10 or 30 seconds.
|
3581
|
-
#
|
3582
|
-
# With Network Load Balancers, you can't modify this setting.
|
3659
|
+
# an individual target.
|
3583
3660
|
#
|
3584
3661
|
# @option params [Integer] :health_check_timeout_seconds
|
3585
3662
|
# \[HTTP/HTTPS health checks\] The amount of time, in seconds, during
|
3586
3663
|
# which no response means a failed health check.
|
3587
3664
|
#
|
3588
|
-
# With Network Load Balancers, you can't modify this setting.
|
3589
|
-
#
|
3590
3665
|
# @option params [Integer] :healthy_threshold_count
|
3591
3666
|
# The number of consecutive health checks successes required before
|
3592
3667
|
# considering an unhealthy target healthy.
|
3593
3668
|
#
|
3594
3669
|
# @option params [Integer] :unhealthy_threshold_count
|
3595
3670
|
# The number of consecutive health check failures required before
|
3596
|
-
# considering the target unhealthy.
|
3597
|
-
# TCP or TLS, this value must be the same as the healthy threshold
|
3598
|
-
# count.
|
3671
|
+
# considering the target unhealthy.
|
3599
3672
|
#
|
3600
3673
|
# @option params [Types::Matcher] :matcher
|
3601
3674
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
3602
|
-
# checking for a successful response from a target.
|
3603
|
-
#
|
3604
|
-
#
|
3675
|
+
# checking for a successful response from a target. For target groups
|
3676
|
+
# with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599. For
|
3677
|
+
# target groups with a protocol of HTTP or HTTPS, the range is 200-499.
|
3678
|
+
# For target groups with a protocol of GENEVE, the range is 200-399.
|
3605
3679
|
#
|
3606
3680
|
# @return [Types::ModifyTargetGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3607
3681
|
#
|
@@ -3932,7 +4006,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3932
4006
|
end
|
3933
4007
|
|
3934
4008
|
# Sets the type of IP addresses used by the subnets of the specified
|
3935
|
-
#
|
4009
|
+
# load balancer.
|
3936
4010
|
#
|
3937
4011
|
# @option params [required, String] :load_balancer_arn
|
3938
4012
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -4105,11 +4179,14 @@ module Aws::ElasticLoadBalancingV2
|
|
4105
4179
|
end
|
4106
4180
|
|
4107
4181
|
# Associates the specified security groups with the specified
|
4108
|
-
# Application Load Balancer
|
4109
|
-
# previously associated security groups.
|
4182
|
+
# Application Load Balancer or Network Load Balancer. The specified
|
4183
|
+
# security groups override the previously associated security groups.
|
4110
4184
|
#
|
4111
|
-
# You can't
|
4112
|
-
#
|
4185
|
+
# You can't perform this operation on a Network Load Balancer unless
|
4186
|
+
# you specified a security group for the load balancer when you created
|
4187
|
+
# it.
|
4188
|
+
#
|
4189
|
+
# You can't associate a security group with a Gateway Load Balancer.
|
4113
4190
|
#
|
4114
4191
|
# @option params [required, String] :load_balancer_arn
|
4115
4192
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -4117,9 +4194,15 @@ module Aws::ElasticLoadBalancingV2
|
|
4117
4194
|
# @option params [required, Array<String>] :security_groups
|
4118
4195
|
# The IDs of the security groups.
|
4119
4196
|
#
|
4197
|
+
# @option params [String] :enforce_security_group_inbound_rules_on_private_link_traffic
|
4198
|
+
# Indicates whether to evaluate inbound security group rules for traffic
|
4199
|
+
# sent to a Network Load Balancer through Amazon Web Services
|
4200
|
+
# PrivateLink. The default is `on`.
|
4201
|
+
#
|
4120
4202
|
# @return [Types::SetSecurityGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4121
4203
|
#
|
4122
4204
|
# * {Types::SetSecurityGroupsOutput#security_group_ids #security_group_ids} => Array<String>
|
4205
|
+
# * {Types::SetSecurityGroupsOutput#enforce_security_group_inbound_rules_on_private_link_traffic #enforce_security_group_inbound_rules_on_private_link_traffic} => String
|
4123
4206
|
#
|
4124
4207
|
#
|
4125
4208
|
# @example Example: To associate a security group with a load balancer
|
@@ -4145,12 +4228,14 @@ module Aws::ElasticLoadBalancingV2
|
|
4145
4228
|
# resp = client.set_security_groups({
|
4146
4229
|
# load_balancer_arn: "LoadBalancerArn", # required
|
4147
4230
|
# security_groups: ["SecurityGroupId"], # required
|
4231
|
+
# enforce_security_group_inbound_rules_on_private_link_traffic: "on", # accepts on, off
|
4148
4232
|
# })
|
4149
4233
|
#
|
4150
4234
|
# @example Response structure
|
4151
4235
|
#
|
4152
4236
|
# resp.security_group_ids #=> Array
|
4153
4237
|
# resp.security_group_ids[0] #=> String
|
4238
|
+
# resp.enforce_security_group_inbound_rules_on_private_link_traffic #=> String, one of "on", "off"
|
4154
4239
|
#
|
4155
4240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups AWS API Documentation
|
4156
4241
|
#
|
@@ -4162,12 +4247,13 @@ module Aws::ElasticLoadBalancingV2
|
|
4162
4247
|
end
|
4163
4248
|
|
4164
4249
|
# Enables the Availability Zones for the specified public subnets for
|
4165
|
-
# the specified Application Load Balancer
|
4166
|
-
# specified subnets replace the previously
|
4250
|
+
# the specified Application Load Balancer, Network Load Balancer or
|
4251
|
+
# Gateway Load Balancer. The specified subnets replace the previously
|
4252
|
+
# enabled subnets.
|
4167
4253
|
#
|
4168
|
-
# When you specify subnets for a Network Load Balancer,
|
4169
|
-
# all subnets that were enabled previously,
|
4170
|
-
# configurations, plus any additional subnets.
|
4254
|
+
# When you specify subnets for a Network Load Balancer, or Gateway Load
|
4255
|
+
# Balancer you must include all subnets that were enabled previously,
|
4256
|
+
# with their existing configurations, plus any additional subnets.
|
4171
4257
|
#
|
4172
4258
|
# @option params [required, String] :load_balancer_arn
|
4173
4259
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -4188,6 +4274,9 @@ module Aws::ElasticLoadBalancingV2
|
|
4188
4274
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
4189
4275
|
# Availability Zones.
|
4190
4276
|
#
|
4277
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
4278
|
+
# Availability Zones.
|
4279
|
+
#
|
4191
4280
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
4192
4281
|
# The IDs of the public subnets. You can specify only one subnet per
|
4193
4282
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -4210,12 +4299,19 @@ module Aws::ElasticLoadBalancingV2
|
|
4210
4299
|
# internet-facing load balancer, you can specify one IPv6 address per
|
4211
4300
|
# subnet.
|
4212
4301
|
#
|
4302
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
4303
|
+
# Availability Zones.
|
4304
|
+
#
|
4213
4305
|
# @option params [String] :ip_address_type
|
4214
4306
|
# \[Network Load Balancers\] The type of IP addresses used by the
|
4215
4307
|
# subnets for your load balancer. The possible values are `ipv4` (for
|
4216
4308
|
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
|
4217
4309
|
# can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
|
4218
|
-
# listener.
|
4310
|
+
# listener.
|
4311
|
+
#
|
4312
|
+
# \[Gateway Load Balancers\] The type of IP addresses used by the
|
4313
|
+
# subnets for your load balancer. The possible values are `ipv4` (for
|
4314
|
+
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses).
|
4219
4315
|
#
|
4220
4316
|
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4221
4317
|
#
|
@@ -4300,7 +4396,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4300
4396
|
params: params,
|
4301
4397
|
config: config)
|
4302
4398
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4303
|
-
context[:gem_version] = '1.
|
4399
|
+
context[:gem_version] = '1.93.0'
|
4304
4400
|
Seahorse::Client::Request.new(handlers, context)
|
4305
4401
|
end
|
4306
4402
|
|
@@ -114,6 +114,8 @@ module Aws::ElasticLoadBalancingV2
|
|
114
114
|
DuplicateLoadBalancerNameException = Shapes::StructureShape.new(name: 'DuplicateLoadBalancerNameException')
|
115
115
|
DuplicateTagKeysException = Shapes::StructureShape.new(name: 'DuplicateTagKeysException')
|
116
116
|
DuplicateTargetGroupNameException = Shapes::StructureShape.new(name: 'DuplicateTargetGroupNameException')
|
117
|
+
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = Shapes::StringShape.new(name: 'EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic')
|
118
|
+
EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = Shapes::StringShape.new(name: 'EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum')
|
117
119
|
FixedResponseActionConfig = Shapes::StructureShape.new(name: 'FixedResponseActionConfig')
|
118
120
|
FixedResponseActionContentType = Shapes::StringShape.new(name: 'FixedResponseActionContentType')
|
119
121
|
FixedResponseActionMessage = Shapes::StringShape.new(name: 'FixedResponseActionMessage')
|
@@ -638,6 +640,7 @@ module Aws::ElasticLoadBalancingV2
|
|
638
640
|
LoadBalancer.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
639
641
|
LoadBalancer.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
640
642
|
LoadBalancer.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
643
|
+
LoadBalancer.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
641
644
|
LoadBalancer.struct_class = Types::LoadBalancer
|
642
645
|
|
643
646
|
LoadBalancerAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
@@ -815,9 +818,11 @@ module Aws::ElasticLoadBalancingV2
|
|
815
818
|
|
816
819
|
SetSecurityGroupsInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
817
820
|
SetSecurityGroupsInput.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, required: true, location_name: "SecurityGroups"))
|
821
|
+
SetSecurityGroupsInput.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
818
822
|
SetSecurityGroupsInput.struct_class = Types::SetSecurityGroupsInput
|
819
823
|
|
820
824
|
SetSecurityGroupsOutput.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroupIds"))
|
825
|
+
SetSecurityGroupsOutput.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
821
826
|
SetSecurityGroupsOutput.struct_class = Types::SetSecurityGroupsOutput
|
822
827
|
|
823
828
|
SetSubnetsInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ElasticLoadBalancingV2
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
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
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
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
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|