aws-sdk-elasticloadbalancingv2 1.41.0 → 1.42.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a6c0b6fbbbec744daf2292cbb94358c905b9b6b1
4
- data.tar.gz: e9479c3668a2c9c53d6e85fe485c5308d216ad02
2
+ SHA256:
3
+ metadata.gz: 5c5c53e7fc8b7fccd998b3596d141c241dd36ad96ee41ff29b9d26a1d67a1052
4
+ data.tar.gz: edac9fe22b85c761259e32e6705b649382fb4ce4a98e793529f8200ef1efe7d5
5
5
  SHA512:
6
- metadata.gz: 739f971219abf62d80393e1cedfa76e6ae723833c1ff17f3164afcd04d1976090cba2a83c12634896d44697f604acbf3b9e77b49e868e9b2d515a143bdc08d0f
7
- data.tar.gz: f30d191a493dd5d656193ed0741181247a84322520416351e376c613dfd7bcdb3c037baf220abc85087a84969a9df4935de624e49f12c763eeef410d7b8385a2
6
+ metadata.gz: 49d0a92f077c0832386feb2042c81ced3f812f2b60de14b70af01009813d8cf2414687fe9afcff603c6d372405fd3e74899f7eecf17221d0a96fd4a8919b319d
7
+ data.tar.gz: b0bc7c90eabc2d820060fc1196c9b1c02f9c7248fce719f44d6212c7cf48ea9041fc6bb90be32d73dff11cbc9f340a77964a98ea301acd31974633a967e7c1cf
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
46
46
  # @service
47
47
  module Aws::ElasticLoadBalancingV2
48
48
 
49
- GEM_VERSION = '1.41.0'
49
+ GEM_VERSION = '1.42.0'
50
50
 
51
51
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:elasticloadbalancingv2)
32
32
  module Aws::ElasticLoadBalancingV2
33
33
  # An API client for ElasticLoadBalancingV2. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::ElasticLoadBalancingV2::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::ElasticLoadBalancingV2::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -105,7 +105,7 @@ module Aws::ElasticLoadBalancingV2
105
105
  # @option options [required, String] :region
106
106
  # The AWS region to connect to. The configured `:region` is
107
107
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
109
109
  #
110
110
  # * `Aws.config[:region]`
111
111
  # * `ENV['AWS_REGION']`
@@ -161,7 +161,7 @@ module Aws::ElasticLoadBalancingV2
161
161
  # @option options [String] :endpoint
162
162
  # The client endpoint is normally constructed from the `:region`
163
163
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
165
165
  #
166
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -229,15 +229,19 @@ module Aws::ElasticLoadBalancingV2
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
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
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::ElasticLoadBalancingV2
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::ElasticLoadBalancingV2
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -1798,6 +1801,8 @@ module Aws::ElasticLoadBalancingV2
1798
1801
  # * {Types::DescribeListenersOutput#listeners #listeners} => Array<Types::Listener>
1799
1802
  # * {Types::DescribeListenersOutput#next_marker #next_marker} => String
1800
1803
  #
1804
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1805
+ #
1801
1806
  #
1802
1807
  # @example Example: To describe a listener
1803
1808
  #
@@ -1998,6 +2003,8 @@ module Aws::ElasticLoadBalancingV2
1998
2003
  # * {Types::DescribeLoadBalancersOutput#load_balancers #load_balancers} => Array<Types::LoadBalancer>
1999
2004
  # * {Types::DescribeLoadBalancersOutput#next_marker #next_marker} => String
2000
2005
  #
2006
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2007
+ #
2001
2008
  #
2002
2009
  # @example Example: To describe a load balancer
2003
2010
  #
@@ -2075,6 +2082,13 @@ module Aws::ElasticLoadBalancingV2
2075
2082
  # resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
2076
2083
  # resp.next_marker #=> String
2077
2084
  #
2085
+ #
2086
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2087
+ #
2088
+ # * load_balancer_available
2089
+ # * load_balancer_exists
2090
+ # * load_balancers_deleted
2091
+ #
2078
2092
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers AWS API Documentation
2079
2093
  #
2080
2094
  # @overload describe_load_balancers(params = {})
@@ -2547,6 +2561,8 @@ module Aws::ElasticLoadBalancingV2
2547
2561
  # * {Types::DescribeTargetGroupsOutput#target_groups #target_groups} => Array<Types::TargetGroup>
2548
2562
  # * {Types::DescribeTargetGroupsOutput#next_marker #next_marker} => String
2549
2563
  #
2564
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2565
+ #
2550
2566
  #
2551
2567
  # @example Example: To describe a target group
2552
2568
  #
@@ -2728,6 +2744,12 @@ module Aws::ElasticLoadBalancingV2
2728
2744
  # 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"
2729
2745
  # resp.target_health_descriptions[0].target_health.description #=> String
2730
2746
  #
2747
+ #
2748
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2749
+ #
2750
+ # * target_deregistered
2751
+ # * target_in_service
2752
+ #
2731
2753
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth AWS API Documentation
2732
2754
  #
2733
2755
  # @overload describe_target_health(params = {})
@@ -4193,7 +4215,7 @@ module Aws::ElasticLoadBalancingV2
4193
4215
  params: params,
4194
4216
  config: config)
4195
4217
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
4196
- context[:gem_version] = '1.41.0'
4218
+ context[:gem_version] = '1.42.0'
4197
4219
  Seahorse::Client::Request.new(handlers, context)
4198
4220
  end
4199
4221
 
@@ -4259,13 +4281,13 @@ module Aws::ElasticLoadBalancingV2
4259
4281
  # The following table lists the valid waiter names, the operations they call,
4260
4282
  # and the default `:delay` and `:max_attempts` values.
4261
4283
  #
4262
- # | waiter_name | params | :delay | :max_attempts |
4263
- # | ----------------------- | -------------------------- | -------- | ------------- |
4264
- # | load_balancer_available | {#describe_load_balancers} | 15 | 40 |
4265
- # | load_balancer_exists | {#describe_load_balancers} | 15 | 40 |
4266
- # | load_balancers_deleted | {#describe_load_balancers} | 15 | 40 |
4267
- # | target_deregistered | {#describe_target_health} | 15 | 40 |
4268
- # | target_in_service | {#describe_target_health} | 15 | 40 |
4284
+ # | waiter_name | params | :delay | :max_attempts |
4285
+ # | ----------------------- | -------------------------------- | -------- | ------------- |
4286
+ # | load_balancer_available | {Client#describe_load_balancers} | 15 | 40 |
4287
+ # | load_balancer_exists | {Client#describe_load_balancers} | 15 | 40 |
4288
+ # | load_balancers_deleted | {Client#describe_load_balancers} | 15 | 40 |
4289
+ # | target_deregistered | {Client#describe_target_health} | 15 | 40 |
4290
+ # | target_in_service | {Client#describe_target_health} | 15 | 40 |
4269
4291
  #
4270
4292
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4271
4293
  # because the waiter has entered a state that it will not transition
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ElasticLoadBalancingV2
9
- # This class provides a resource oriented interface for ElasticLoadBalancingV2.
10
- # To create a resource object:
11
- # resource = Aws::ElasticLoadBalancingV2::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::ElasticLoadBalancingV2::Client.new(region: 'us-west-2')
15
- # resource = Aws::ElasticLoadBalancingV2::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -8,6 +8,71 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::ElasticLoadBalancingV2
11
+ # Waiters are utility methods that poll for a particular state to occur
12
+ # on a client. Waiters can fail after a number of attempts at a polling
13
+ # interval defined for the service client.
14
+ #
15
+ # For a list of operations that can be waited for and the
16
+ # client methods called for each operation, see the table below or the
17
+ # {Client#wait_until} field documentation for the {Client}.
18
+ #
19
+ # # Invoking a Waiter
20
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
21
+ # is the waiter name, which is specific to the service client and indicates
22
+ # which operation is being waited for. The second parameter is a hash of
23
+ # parameters that are passed to the client method called by the waiter,
24
+ # which varies according to the waiter name.
25
+ #
26
+ # # Wait Failures
27
+ # To catch errors in a waiter, use WaiterFailed,
28
+ # as shown in the following example.
29
+ #
30
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
31
+ # puts "failed waiting for instance running: #{error.message}
32
+ # end
33
+ #
34
+ # # Configuring a Waiter
35
+ # Each waiter has a default polling interval and a maximum number of
36
+ # attempts it will make before returning control to your program.
37
+ # To set these values, use the `max_attempts` and `delay` parameters
38
+ # in your `#wait_until` call.
39
+ # The following example waits for up to 25 seconds, polling every five seconds.
40
+ #
41
+ # client.wait_until(...) do |w|
42
+ # w.max_attempts = 5
43
+ # w.delay = 5
44
+ # end
45
+ #
46
+ # To disable wait failures, set the value of either of these parameters
47
+ # to `nil`.
48
+ #
49
+ # # Extending a Waiter
50
+ # To modify the behavior of waiters, you can register callbacks that are
51
+ # triggered before each polling attempt and before waiting.
52
+ #
53
+ # The following example implements an exponential backoff in a waiter
54
+ # by doubling the amount of time to wait on every attempt.
55
+ #
56
+ # client.wait_until(...) do |w|
57
+ # w.interval = 0 # disable normal sleep
58
+ # w.before_wait do |n, resp|
59
+ # sleep(n ** 2)
60
+ # end
61
+ # end
62
+ #
63
+ # # Available Waiters
64
+ #
65
+ # The following table lists the valid waiter names, the operations they call,
66
+ # and the default `:delay` and `:max_attempts` values.
67
+ #
68
+ # | waiter_name | params | :delay | :max_attempts |
69
+ # | ----------------------- | -------------------------------- | -------- | ------------- |
70
+ # | load_balancer_available | {Client#describe_load_balancers} | 15 | 40 |
71
+ # | load_balancer_exists | {Client#describe_load_balancers} | 15 | 40 |
72
+ # | load_balancers_deleted | {Client#describe_load_balancers} | 15 | 40 |
73
+ # | target_deregistered | {Client#describe_target_health} | 15 | 40 |
74
+ # | target_in_service | {Client#describe_target_health} | 15 | 40 |
75
+ #
11
76
  module Waiters
12
77
 
13
78
  class LoadBalancerAvailable
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.5.2.3
85
+ rubygems_version: 2.7.6.2
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: AWS SDK for Ruby - Elastic Load Balancing v2