aws-sdk-elasticloadbalancing 1.18.0 → 1.23.1

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: ec67b20896bfd36ccaf275bc62ce511c9545de26
4
- data.tar.gz: 857b2c9477741d10101d656ddcb54fbbe9241227
2
+ SHA256:
3
+ metadata.gz: 3d3f5e4d48883da14f8e7b584035a129c42244f293c249031940e9bf736ee584
4
+ data.tar.gz: bc41f3c13d465c128017ad3b4cf760a2307cf7cf371dc363e8cafdbd57cc3964
5
5
  SHA512:
6
- metadata.gz: 3d19c4f0df079c57282c28b236a9ee8e85e2d4722db202880d54fe35ff4e9720cbc2a00125fe87e009a39ecfa49ae9912aaa71ab94ac6ce28e06483e7b0723b4
7
- data.tar.gz: ac55fdb703a448e43924b3192437833102173d1af0e842bf397665e8a3fa77dfcb4ecec35b8d64dc3b3a556cf0203316e591993181e118bd33e17094901144c1
6
+ metadata.gz: 8d12a7524a532426953d8fbcd3207002d0c45debe59dda480215c9814b59a8284fc82f48fa1edf88272646f88b8eb9f324374cd8432ebc378fb71adc70aa6799
7
+ data.tar.gz: 6e8af20644ca76b4bc82ed5f05d6bdc2a8dcc781810de3e0dc0f6a5b1d33257420cfb04f7e5e8ae41fbc7304d0f134cd243d977d104893972daf9490b016f594
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-elasticloadbalancing/customizations'
25
25
  # methods each accept a hash of request parameters and return a response
26
26
  # structure.
27
27
  #
28
+ # elastic_load_balancing = Aws::ElasticLoadBalancing::Client.new
29
+ # resp = elastic_load_balancing.add_tags(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::ElasticLoadBalancing::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-elasticloadbalancing/customizations'
43
46
  # @service
44
47
  module Aws::ElasticLoadBalancing
45
48
 
46
- GEM_VERSION = '1.18.0'
49
+ GEM_VERSION = '1.23.1'
47
50
 
48
51
  end
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
30
 
30
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:elasticloadbalancing)
31
32
 
32
33
  module Aws::ElasticLoadBalancing
34
+ # An API client for ElasticLoadBalancing. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
36
+ # client = Aws::ElasticLoadBalancing::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
41
+ #
42
+ # For details on configuring region and credentials see
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
44
+ #
45
+ # See {#initialize} for a full list of supported configuration options.
33
46
  class Client < Seahorse::Client::Base
34
47
 
35
48
  include Aws::ClientStubs
@@ -57,6 +70,7 @@ module Aws::ElasticLoadBalancing
57
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
60
74
  add_plugin(Aws::Plugins::SignatureV4)
61
75
  add_plugin(Aws::Plugins::Protocols::Query)
62
76
 
@@ -93,7 +107,7 @@ module Aws::ElasticLoadBalancing
93
107
  # @option options [required, String] :region
94
108
  # The AWS region to connect to. The configured `:region` is
95
109
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
97
111
  #
98
112
  # * `Aws.config[:region]`
99
113
  # * `ENV['AWS_REGION']`
@@ -108,6 +122,12 @@ module Aws::ElasticLoadBalancing
108
122
  # When set to `true`, a thread polling for endpoints will be running in
109
123
  # the background every 60 secs (default). Defaults to `false`.
110
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
111
131
  # @option options [Boolean] :client_side_monitoring (false)
112
132
  # When `true`, client-side metrics will be collected for all API requests from
113
133
  # this client.
@@ -132,6 +152,10 @@ module Aws::ElasticLoadBalancing
132
152
  # When `true`, an attempt is made to coerce request parameters into
133
153
  # the required types.
134
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
135
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
160
  # Set to true to disable SDK automatically adding host prefix
137
161
  # to default service endpoint when available.
@@ -139,7 +163,7 @@ module Aws::ElasticLoadBalancing
139
163
  # @option options [String] :endpoint
140
164
  # The client endpoint is normally constructed from the `:region`
141
165
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
167
  #
144
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +178,7 @@ module Aws::ElasticLoadBalancing
154
178
  # requests fetching endpoints information. Defaults to 60 sec.
155
179
  #
156
180
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
182
  #
159
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
184
  # The log formatter.
@@ -166,15 +190,29 @@ module Aws::ElasticLoadBalancing
166
190
  # The Logger instance to send log messages to. If this option
167
191
  # is not set, logging will be disabled.
168
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
169
199
  # @option options [String] :profile ("default")
170
200
  # Used when loading credentials from the shared credentials file
171
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
173
207
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
175
210
  #
176
211
  # @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.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
178
216
  #
179
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
218
  #
@@ -182,11 +220,30 @@ module Aws::ElasticLoadBalancing
182
220
  # The maximum number of times to retry failed requests. Only
183
221
  # ~ 500 level server errors and certain ~ 400 level client errors
184
222
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
187
226
  #
188
227
  # @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.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
190
247
  #
191
248
  # @option options [String] :secret_access_key
192
249
  #
@@ -209,16 +266,15 @@ module Aws::ElasticLoadBalancing
209
266
  # requests through. Formatted like 'http://proxy.com:123'.
210
267
  #
211
268
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
269
+ # seconds to wait when opening a HTTP session before raising a
213
270
  # `Timeout::Error`.
214
271
  #
215
272
  # @option options [Integer] :http_read_timeout (60) The default
216
273
  # 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}.
274
+ # safely be set per-request on the session.
219
275
  #
220
276
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
277
+ # seconds a connection is allowed to sit idle before it is
222
278
  # considered stale. Stale connections are closed and removed
223
279
  # from the pool before making a request.
224
280
  #
@@ -227,7 +283,7 @@ module Aws::ElasticLoadBalancing
227
283
  # request body. This option has no effect unless the request has
228
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
285
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
286
+ # request on the session.
231
287
  #
232
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
289
  # HTTP debug output will be sent to the `:logger`.
@@ -1392,6 +1448,13 @@ module Aws::ElasticLoadBalancing
1392
1448
  # resp.instance_states[0].reason_code #=> String
1393
1449
  # resp.instance_states[0].description #=> String
1394
1450
  #
1451
+ #
1452
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1453
+ #
1454
+ # * any_instance_in_service
1455
+ # * instance_deregistered
1456
+ # * instance_in_service
1457
+ #
1395
1458
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth AWS API Documentation
1396
1459
  #
1397
1460
  # @overload describe_instance_health(params = {})
@@ -1635,6 +1698,8 @@ module Aws::ElasticLoadBalancing
1635
1698
  # * {Types::DescribeAccessPointsOutput#load_balancer_descriptions #load_balancer_descriptions} => Array&lt;Types::LoadBalancerDescription&gt;
1636
1699
  # * {Types::DescribeAccessPointsOutput#next_marker #next_marker} => String
1637
1700
  #
1701
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1702
+ #
1638
1703
  #
1639
1704
  # @example Example: To describe one of your load balancers
1640
1705
  #
@@ -2530,7 +2595,7 @@ module Aws::ElasticLoadBalancing
2530
2595
  params: params,
2531
2596
  config: config)
2532
2597
  context[:gem_name] = 'aws-sdk-elasticloadbalancing'
2533
- context[:gem_version] = '1.18.0'
2598
+ context[:gem_version] = '1.23.1'
2534
2599
  Seahorse::Client::Request.new(handlers, context)
2535
2600
  end
2536
2601
 
@@ -2596,11 +2661,11 @@ module Aws::ElasticLoadBalancing
2596
2661
  # The following table lists the valid waiter names, the operations they call,
2597
2662
  # and the default `:delay` and `:max_attempts` values.
2598
2663
  #
2599
- # | waiter_name | params | :delay | :max_attempts |
2600
- # | ----------------------- | --------------------------- | -------- | ------------- |
2601
- # | any_instance_in_service | {#describe_instance_health} | 15 | 40 |
2602
- # | instance_deregistered | {#describe_instance_health} | 15 | 40 |
2603
- # | instance_in_service | {#describe_instance_health} | 15 | 40 |
2664
+ # | waiter_name | params | :delay | :max_attempts |
2665
+ # | ----------------------- | --------------------------------- | -------- | ------------- |
2666
+ # | any_instance_in_service | {Client#describe_instance_health} | 15 | 40 |
2667
+ # | instance_deregistered | {Client#describe_instance_health} | 15 | 40 |
2668
+ # | instance_in_service | {Client#describe_instance_health} | 15 | 40 |
2604
2669
  #
2605
2670
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
2606
2671
  # because the waiter has entered a state that it will not transition
@@ -199,6 +199,8 @@ module Aws::ElasticLoadBalancing
199
199
  AccessLog.add_member(:s3_bucket_prefix, Shapes::ShapeRef.new(shape: AccessLogPrefix, location_name: "S3BucketPrefix"))
200
200
  AccessLog.struct_class = Types::AccessLog
201
201
 
202
+ AccessPointNotFoundException.struct_class = Types::AccessPointNotFoundException
203
+
202
204
  AddAvailabilityZonesInput.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "LoadBalancerName"))
203
205
  AddAvailabilityZonesInput.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, required: true, location_name: "AvailabilityZones"))
204
206
  AddAvailabilityZonesInput.struct_class = Types::AddAvailabilityZonesInput
@@ -246,6 +248,8 @@ module Aws::ElasticLoadBalancing
246
248
 
247
249
  BackendServerDescriptions.member = Shapes::ShapeRef.new(shape: BackendServerDescription)
248
250
 
251
+ CertificateNotFoundException.struct_class = Types::CertificateNotFoundException
252
+
249
253
  ConfigureHealthCheckInput.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "LoadBalancerName"))
250
254
  ConfigureHealthCheckInput.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheck, required: true, location_name: "HealthCheck"))
251
255
  ConfigureHealthCheckInput.struct_class = Types::ConfigureHealthCheckInput
@@ -320,6 +324,8 @@ module Aws::ElasticLoadBalancing
320
324
 
321
325
  DeleteLoadBalancerPolicyOutput.struct_class = Types::DeleteLoadBalancerPolicyOutput
322
326
 
327
+ DependencyThrottleException.struct_class = Types::DependencyThrottleException
328
+
323
329
  DeregisterEndPointsInput.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "LoadBalancerName"))
324
330
  DeregisterEndPointsInput.add_member(:instances, Shapes::ShapeRef.new(shape: Instances, required: true, location_name: "Instances"))
325
331
  DeregisterEndPointsInput.struct_class = Types::DeregisterEndPointsInput
@@ -383,6 +389,14 @@ module Aws::ElasticLoadBalancing
383
389
  DetachLoadBalancerFromSubnetsOutput.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, location_name: "Subnets"))
384
390
  DetachLoadBalancerFromSubnetsOutput.struct_class = Types::DetachLoadBalancerFromSubnetsOutput
385
391
 
392
+ DuplicateAccessPointNameException.struct_class = Types::DuplicateAccessPointNameException
393
+
394
+ DuplicateListenerException.struct_class = Types::DuplicateListenerException
395
+
396
+ DuplicatePolicyNameException.struct_class = Types::DuplicatePolicyNameException
397
+
398
+ DuplicateTagKeysException.struct_class = Types::DuplicateTagKeysException
399
+
386
400
  HealthCheck.add_member(:target, Shapes::ShapeRef.new(shape: HealthCheckTarget, required: true, location_name: "Target"))
387
401
  HealthCheck.add_member(:interval, Shapes::ShapeRef.new(shape: HealthCheckInterval, required: true, location_name: "Interval"))
388
402
  HealthCheck.add_member(:timeout, Shapes::ShapeRef.new(shape: HealthCheckTimeout, required: true, location_name: "Timeout"))
@@ -403,6 +417,16 @@ module Aws::ElasticLoadBalancing
403
417
 
404
418
  Instances.member = Shapes::ShapeRef.new(shape: Instance)
405
419
 
420
+ InvalidConfigurationRequestException.struct_class = Types::InvalidConfigurationRequestException
421
+
422
+ InvalidEndPointException.struct_class = Types::InvalidEndPointException
423
+
424
+ InvalidSchemeException.struct_class = Types::InvalidSchemeException
425
+
426
+ InvalidSecurityGroupException.struct_class = Types::InvalidSecurityGroupException
427
+
428
+ InvalidSubnetException.struct_class = Types::InvalidSubnetException
429
+
406
430
  LBCookieStickinessPolicies.member = Shapes::ShapeRef.new(shape: LBCookieStickinessPolicy)
407
431
 
408
432
  LBCookieStickinessPolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "PolicyName"))
@@ -428,8 +452,12 @@ module Aws::ElasticLoadBalancing
428
452
 
429
453
  ListenerDescriptions.member = Shapes::ShapeRef.new(shape: ListenerDescription)
430
454
 
455
+ ListenerNotFoundException.struct_class = Types::ListenerNotFoundException
456
+
431
457
  Listeners.member = Shapes::ShapeRef.new(shape: Listener)
432
458
 
459
+ LoadBalancerAttributeNotFoundException.struct_class = Types::LoadBalancerAttributeNotFoundException
460
+
433
461
  LoadBalancerAttributes.add_member(:cross_zone_load_balancing, Shapes::ShapeRef.new(shape: CrossZoneLoadBalancing, location_name: "CrossZoneLoadBalancing"))
434
462
  LoadBalancerAttributes.add_member(:access_log, Shapes::ShapeRef.new(shape: AccessLog, location_name: "AccessLog"))
435
463
  LoadBalancerAttributes.add_member(:connection_draining, Shapes::ShapeRef.new(shape: ConnectionDraining, location_name: "ConnectionDraining"))
@@ -469,6 +497,8 @@ module Aws::ElasticLoadBalancing
469
497
  ModifyLoadBalancerAttributesOutput.add_member(:load_balancer_attributes, Shapes::ShapeRef.new(shape: LoadBalancerAttributes, location_name: "LoadBalancerAttributes"))
470
498
  ModifyLoadBalancerAttributesOutput.struct_class = Types::ModifyLoadBalancerAttributesOutput
471
499
 
500
+ OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
501
+
472
502
  Policies.add_member(:app_cookie_stickiness_policies, Shapes::ShapeRef.new(shape: AppCookieStickinessPolicies, location_name: "AppCookieStickinessPolicies"))
473
503
  Policies.add_member(:lb_cookie_stickiness_policies, Shapes::ShapeRef.new(shape: LBCookieStickinessPolicies, location_name: "LBCookieStickinessPolicies"))
474
504
  Policies.add_member(:other_policies, Shapes::ShapeRef.new(shape: PolicyNames, location_name: "OtherPolicies"))
@@ -504,6 +534,8 @@ module Aws::ElasticLoadBalancing
504
534
 
505
535
  PolicyNames.member = Shapes::ShapeRef.new(shape: PolicyName)
506
536
 
537
+ PolicyNotFoundException.struct_class = Types::PolicyNotFoundException
538
+
507
539
  PolicyTypeDescription.add_member(:policy_type_name, Shapes::ShapeRef.new(shape: PolicyTypeName, location_name: "PolicyTypeName"))
508
540
  PolicyTypeDescription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
509
541
  PolicyTypeDescription.add_member(:policy_attribute_type_descriptions, Shapes::ShapeRef.new(shape: PolicyAttributeTypeDescriptions, location_name: "PolicyAttributeTypeDescriptions"))
@@ -513,6 +545,8 @@ module Aws::ElasticLoadBalancing
513
545
 
514
546
  PolicyTypeNames.member = Shapes::ShapeRef.new(shape: PolicyTypeName)
515
547
 
548
+ PolicyTypeNotFoundException.struct_class = Types::PolicyTypeNotFoundException
549
+
516
550
  Ports.member = Shapes::ShapeRef.new(shape: AccessPointPort)
517
551
 
518
552
  RegisterEndPointsInput.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "LoadBalancerName"))
@@ -562,6 +596,8 @@ module Aws::ElasticLoadBalancing
562
596
  SourceSecurityGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "GroupName"))
563
597
  SourceSecurityGroup.struct_class = Types::SourceSecurityGroup
564
598
 
599
+ SubnetNotFoundException.struct_class = Types::SubnetNotFoundException
600
+
565
601
  Subnets.member = Shapes::ShapeRef.new(shape: SubnetId)
566
602
 
567
603
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -581,6 +617,14 @@ module Aws::ElasticLoadBalancing
581
617
 
582
618
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
583
619
 
620
+ TooManyAccessPointsException.struct_class = Types::TooManyAccessPointsException
621
+
622
+ TooManyPoliciesException.struct_class = Types::TooManyPoliciesException
623
+
624
+ TooManyTagsException.struct_class = Types::TooManyTagsException
625
+
626
+ UnsupportedProtocolException.struct_class = Types::UnsupportedProtocolException
627
+
584
628
 
585
629
  # @api private
586
630
  API = Seahorse::Model::Api.new.tap do |api|
@@ -6,9 +6,273 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ElasticLoadBalancing
9
+
10
+ # When ElasticLoadBalancing returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::ElasticLoadBalancing::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all ElasticLoadBalancing errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::ElasticLoadBalancing::Errors::ServiceError
18
+ # # rescues all ElasticLoadBalancing API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AccessPointNotFoundException}
29
+ # * {CertificateNotFoundException}
30
+ # * {DependencyThrottleException}
31
+ # * {DuplicateAccessPointNameException}
32
+ # * {DuplicateListenerException}
33
+ # * {DuplicatePolicyNameException}
34
+ # * {DuplicateTagKeysException}
35
+ # * {InvalidConfigurationRequestException}
36
+ # * {InvalidEndPointException}
37
+ # * {InvalidSchemeException}
38
+ # * {InvalidSecurityGroupException}
39
+ # * {InvalidSubnetException}
40
+ # * {ListenerNotFoundException}
41
+ # * {LoadBalancerAttributeNotFoundException}
42
+ # * {OperationNotPermittedException}
43
+ # * {PolicyNotFoundException}
44
+ # * {PolicyTypeNotFoundException}
45
+ # * {SubnetNotFoundException}
46
+ # * {TooManyAccessPointsException}
47
+ # * {TooManyPoliciesException}
48
+ # * {TooManyTagsException}
49
+ # * {UnsupportedProtocolException}
50
+ #
51
+ # Additionally, error classes are dynamically generated for service errors based on the error code
52
+ # if they are not defined above.
9
53
  module Errors
10
54
 
11
55
  extend Aws::Errors::DynamicErrors
12
56
 
57
+ class AccessPointNotFoundException < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::ElasticLoadBalancing::Types::AccessPointNotFoundException] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
65
+ end
66
+
67
+ class CertificateNotFoundException < ServiceError
68
+
69
+ # @param [Seahorse::Client::RequestContext] context
70
+ # @param [String] message
71
+ # @param [Aws::ElasticLoadBalancing::Types::CertificateNotFoundException] data
72
+ def initialize(context, message, data = Aws::EmptyStructure.new)
73
+ super(context, message, data)
74
+ end
75
+ end
76
+
77
+ class DependencyThrottleException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::ElasticLoadBalancing::Types::DependencyThrottleException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+ end
86
+
87
+ class DuplicateAccessPointNameException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::ElasticLoadBalancing::Types::DuplicateAccessPointNameException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+ end
96
+
97
+ class DuplicateListenerException < ServiceError
98
+
99
+ # @param [Seahorse::Client::RequestContext] context
100
+ # @param [String] message
101
+ # @param [Aws::ElasticLoadBalancing::Types::DuplicateListenerException] data
102
+ def initialize(context, message, data = Aws::EmptyStructure.new)
103
+ super(context, message, data)
104
+ end
105
+ end
106
+
107
+ class DuplicatePolicyNameException < ServiceError
108
+
109
+ # @param [Seahorse::Client::RequestContext] context
110
+ # @param [String] message
111
+ # @param [Aws::ElasticLoadBalancing::Types::DuplicatePolicyNameException] data
112
+ def initialize(context, message, data = Aws::EmptyStructure.new)
113
+ super(context, message, data)
114
+ end
115
+ end
116
+
117
+ class DuplicateTagKeysException < ServiceError
118
+
119
+ # @param [Seahorse::Client::RequestContext] context
120
+ # @param [String] message
121
+ # @param [Aws::ElasticLoadBalancing::Types::DuplicateTagKeysException] data
122
+ def initialize(context, message, data = Aws::EmptyStructure.new)
123
+ super(context, message, data)
124
+ end
125
+ end
126
+
127
+ class InvalidConfigurationRequestException < ServiceError
128
+
129
+ # @param [Seahorse::Client::RequestContext] context
130
+ # @param [String] message
131
+ # @param [Aws::ElasticLoadBalancing::Types::InvalidConfigurationRequestException] data
132
+ def initialize(context, message, data = Aws::EmptyStructure.new)
133
+ super(context, message, data)
134
+ end
135
+ end
136
+
137
+ class InvalidEndPointException < ServiceError
138
+
139
+ # @param [Seahorse::Client::RequestContext] context
140
+ # @param [String] message
141
+ # @param [Aws::ElasticLoadBalancing::Types::InvalidEndPointException] data
142
+ def initialize(context, message, data = Aws::EmptyStructure.new)
143
+ super(context, message, data)
144
+ end
145
+ end
146
+
147
+ class InvalidSchemeException < ServiceError
148
+
149
+ # @param [Seahorse::Client::RequestContext] context
150
+ # @param [String] message
151
+ # @param [Aws::ElasticLoadBalancing::Types::InvalidSchemeException] data
152
+ def initialize(context, message, data = Aws::EmptyStructure.new)
153
+ super(context, message, data)
154
+ end
155
+ end
156
+
157
+ class InvalidSecurityGroupException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::ElasticLoadBalancing::Types::InvalidSecurityGroupException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+ end
166
+
167
+ class InvalidSubnetException < ServiceError
168
+
169
+ # @param [Seahorse::Client::RequestContext] context
170
+ # @param [String] message
171
+ # @param [Aws::ElasticLoadBalancing::Types::InvalidSubnetException] data
172
+ def initialize(context, message, data = Aws::EmptyStructure.new)
173
+ super(context, message, data)
174
+ end
175
+ end
176
+
177
+ class ListenerNotFoundException < ServiceError
178
+
179
+ # @param [Seahorse::Client::RequestContext] context
180
+ # @param [String] message
181
+ # @param [Aws::ElasticLoadBalancing::Types::ListenerNotFoundException] data
182
+ def initialize(context, message, data = Aws::EmptyStructure.new)
183
+ super(context, message, data)
184
+ end
185
+ end
186
+
187
+ class LoadBalancerAttributeNotFoundException < ServiceError
188
+
189
+ # @param [Seahorse::Client::RequestContext] context
190
+ # @param [String] message
191
+ # @param [Aws::ElasticLoadBalancing::Types::LoadBalancerAttributeNotFoundException] data
192
+ def initialize(context, message, data = Aws::EmptyStructure.new)
193
+ super(context, message, data)
194
+ end
195
+ end
196
+
197
+ class OperationNotPermittedException < ServiceError
198
+
199
+ # @param [Seahorse::Client::RequestContext] context
200
+ # @param [String] message
201
+ # @param [Aws::ElasticLoadBalancing::Types::OperationNotPermittedException] data
202
+ def initialize(context, message, data = Aws::EmptyStructure.new)
203
+ super(context, message, data)
204
+ end
205
+ end
206
+
207
+ class PolicyNotFoundException < ServiceError
208
+
209
+ # @param [Seahorse::Client::RequestContext] context
210
+ # @param [String] message
211
+ # @param [Aws::ElasticLoadBalancing::Types::PolicyNotFoundException] data
212
+ def initialize(context, message, data = Aws::EmptyStructure.new)
213
+ super(context, message, data)
214
+ end
215
+ end
216
+
217
+ class PolicyTypeNotFoundException < ServiceError
218
+
219
+ # @param [Seahorse::Client::RequestContext] context
220
+ # @param [String] message
221
+ # @param [Aws::ElasticLoadBalancing::Types::PolicyTypeNotFoundException] data
222
+ def initialize(context, message, data = Aws::EmptyStructure.new)
223
+ super(context, message, data)
224
+ end
225
+ end
226
+
227
+ class SubnetNotFoundException < ServiceError
228
+
229
+ # @param [Seahorse::Client::RequestContext] context
230
+ # @param [String] message
231
+ # @param [Aws::ElasticLoadBalancing::Types::SubnetNotFoundException] data
232
+ def initialize(context, message, data = Aws::EmptyStructure.new)
233
+ super(context, message, data)
234
+ end
235
+ end
236
+
237
+ class TooManyAccessPointsException < ServiceError
238
+
239
+ # @param [Seahorse::Client::RequestContext] context
240
+ # @param [String] message
241
+ # @param [Aws::ElasticLoadBalancing::Types::TooManyAccessPointsException] data
242
+ def initialize(context, message, data = Aws::EmptyStructure.new)
243
+ super(context, message, data)
244
+ end
245
+ end
246
+
247
+ class TooManyPoliciesException < ServiceError
248
+
249
+ # @param [Seahorse::Client::RequestContext] context
250
+ # @param [String] message
251
+ # @param [Aws::ElasticLoadBalancing::Types::TooManyPoliciesException] data
252
+ def initialize(context, message, data = Aws::EmptyStructure.new)
253
+ super(context, message, data)
254
+ end
255
+ end
256
+
257
+ class TooManyTagsException < ServiceError
258
+
259
+ # @param [Seahorse::Client::RequestContext] context
260
+ # @param [String] message
261
+ # @param [Aws::ElasticLoadBalancing::Types::TooManyTagsException] data
262
+ def initialize(context, message, data = Aws::EmptyStructure.new)
263
+ super(context, message, data)
264
+ end
265
+ end
266
+
267
+ class UnsupportedProtocolException < ServiceError
268
+
269
+ # @param [Seahorse::Client::RequestContext] context
270
+ # @param [String] message
271
+ # @param [Aws::ElasticLoadBalancing::Types::UnsupportedProtocolException] data
272
+ def initialize(context, message, data = Aws::EmptyStructure.new)
273
+ super(context, message, data)
274
+ end
275
+ end
276
+
13
277
  end
14
278
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ElasticLoadBalancing
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -51,6 +51,12 @@ module Aws::ElasticLoadBalancing
51
51
  include Aws::Structure
52
52
  end
53
53
 
54
+ # The specified load balancer does not exist.
55
+ #
56
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AccessPointNotFoundException AWS API Documentation
57
+ #
58
+ class AccessPointNotFoundException < Aws::EmptyStructure; end
59
+
54
60
  # Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
55
61
  #
56
62
  # @note When making an API call, you may pass AddAvailabilityZonesInput
@@ -273,6 +279,15 @@ module Aws::ElasticLoadBalancing
273
279
  include Aws::Structure
274
280
  end
275
281
 
282
+ # The specified ARN does not refer to a valid SSL certificate in AWS
283
+ # Identity and Access Management (IAM) or AWS Certificate Manager (ACM).
284
+ # Note that if you recently uploaded the certificate to IAM, this error
285
+ # might indicate that the certificate is not fully available yet.
286
+ #
287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CertificateNotFoundException AWS API Documentation
288
+ #
289
+ class CertificateNotFoundException < Aws::EmptyStructure; end
290
+
276
291
  # Contains the parameters for ConfigureHealthCheck.
277
292
  #
278
293
  # @note When making an API call, you may pass ConfigureHealthCheckInput
@@ -775,6 +790,13 @@ module Aws::ElasticLoadBalancing
775
790
  #
776
791
  class DeleteLoadBalancerPolicyOutput < Aws::EmptyStructure; end
777
792
 
793
+ # A request made by Elastic Load Balancing to another service exceeds
794
+ # the maximum request rate permitted for your account.
795
+ #
796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DependencyThrottleException AWS API Documentation
797
+ #
798
+ class DependencyThrottleException < Aws::EmptyStructure; end
799
+
778
800
  # Contains the parameters for DeregisterInstancesFromLoadBalancer.
779
801
  #
780
802
  # @note When making an API call, you may pass DeregisterEndPointsInput
@@ -1134,6 +1156,33 @@ module Aws::ElasticLoadBalancing
1134
1156
  include Aws::Structure
1135
1157
  end
1136
1158
 
1159
+ # The specified load balancer name already exists for this account.
1160
+ #
1161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DuplicateAccessPointNameException AWS API Documentation
1162
+ #
1163
+ class DuplicateAccessPointNameException < Aws::EmptyStructure; end
1164
+
1165
+ # A listener already exists for the specified load balancer name and
1166
+ # port, but with a different instance port, protocol, or SSL
1167
+ # certificate.
1168
+ #
1169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DuplicateListenerException AWS API Documentation
1170
+ #
1171
+ class DuplicateListenerException < Aws::EmptyStructure; end
1172
+
1173
+ # A policy with the specified name already exists for this load
1174
+ # balancer.
1175
+ #
1176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DuplicatePolicyNameException AWS API Documentation
1177
+ #
1178
+ class DuplicatePolicyNameException < Aws::EmptyStructure; end
1179
+
1180
+ # A tag key was specified more than once.
1181
+ #
1182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DuplicateTagKeysException AWS API Documentation
1183
+ #
1184
+ class DuplicateTagKeysException < Aws::EmptyStructure; end
1185
+
1137
1186
  # Information about a health check.
1138
1187
  #
1139
1188
  # @note When making an API call, you may pass HealthCheck
@@ -1284,6 +1333,37 @@ module Aws::ElasticLoadBalancing
1284
1333
  include Aws::Structure
1285
1334
  end
1286
1335
 
1336
+ # The requested configuration change is not valid.
1337
+ #
1338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InvalidConfigurationRequestException AWS API Documentation
1339
+ #
1340
+ class InvalidConfigurationRequestException < Aws::EmptyStructure; end
1341
+
1342
+ # The specified endpoint is not valid.
1343
+ #
1344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InvalidEndPointException AWS API Documentation
1345
+ #
1346
+ class InvalidEndPointException < Aws::EmptyStructure; end
1347
+
1348
+ # The specified value for the schema is not valid. You can only specify
1349
+ # a scheme for load balancers in a VPC.
1350
+ #
1351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InvalidSchemeException AWS API Documentation
1352
+ #
1353
+ class InvalidSchemeException < Aws::EmptyStructure; end
1354
+
1355
+ # One or more of the specified security groups do not exist.
1356
+ #
1357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InvalidSecurityGroupException AWS API Documentation
1358
+ #
1359
+ class InvalidSecurityGroupException < Aws::EmptyStructure; end
1360
+
1361
+ # The specified VPC has no associated Internet gateway.
1362
+ #
1363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InvalidSubnetException AWS API Documentation
1364
+ #
1365
+ class InvalidSubnetException < Aws::EmptyStructure; end
1366
+
1287
1367
  # Information about a policy for duration-based session stickiness.
1288
1368
  #
1289
1369
  # @!attribute [rw] policy_name
@@ -1416,6 +1496,19 @@ module Aws::ElasticLoadBalancing
1416
1496
  include Aws::Structure
1417
1497
  end
1418
1498
 
1499
+ # The load balancer does not have a listener configured at the specified
1500
+ # port.
1501
+ #
1502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerNotFoundException AWS API Documentation
1503
+ #
1504
+ class ListenerNotFoundException < Aws::EmptyStructure; end
1505
+
1506
+ # The specified load balancer attribute does not exist.
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributeNotFoundException AWS API Documentation
1509
+ #
1510
+ class LoadBalancerAttributeNotFoundException < Aws::EmptyStructure; end
1511
+
1419
1512
  # The attributes for a load balancer.
1420
1513
  #
1421
1514
  # @note When making an API call, you may pass LoadBalancerAttributes
@@ -1685,6 +1778,12 @@ module Aws::ElasticLoadBalancing
1685
1778
  include Aws::Structure
1686
1779
  end
1687
1780
 
1781
+ # This operation is not allowed.
1782
+ #
1783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/OperationNotPermittedException AWS API Documentation
1784
+ #
1785
+ class OperationNotPermittedException < Aws::EmptyStructure; end
1786
+
1688
1787
  # The policies for a load balancer.
1689
1788
  #
1690
1789
  # @!attribute [rw] app_cookie_stickiness_policies
@@ -1820,6 +1919,12 @@ module Aws::ElasticLoadBalancing
1820
1919
  include Aws::Structure
1821
1920
  end
1822
1921
 
1922
+ # One or more of the specified policies do not exist.
1923
+ #
1924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyNotFoundException AWS API Documentation
1925
+ #
1926
+ class PolicyNotFoundException < Aws::EmptyStructure; end
1927
+
1823
1928
  # Information about a policy type.
1824
1929
  #
1825
1930
  # @!attribute [rw] policy_type_name
@@ -1844,6 +1949,12 @@ module Aws::ElasticLoadBalancing
1844
1949
  include Aws::Structure
1845
1950
  end
1846
1951
 
1952
+ # One or more of the specified policy types do not exist.
1953
+ #
1954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeNotFoundException AWS API Documentation
1955
+ #
1956
+ class PolicyTypeNotFoundException < Aws::EmptyStructure; end
1957
+
1847
1958
  # Contains the parameters for RegisterInstancesWithLoadBalancer.
1848
1959
  #
1849
1960
  # @note When making an API call, you may pass RegisterEndPointsInput
@@ -2098,6 +2209,12 @@ module Aws::ElasticLoadBalancing
2098
2209
  include Aws::Structure
2099
2210
  end
2100
2211
 
2212
+ # One or more of the specified subnets do not exist.
2213
+ #
2214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SubnetNotFoundException AWS API Documentation
2215
+ #
2216
+ class SubnetNotFoundException < Aws::EmptyStructure; end
2217
+
2101
2218
  # Information about a tag.
2102
2219
  #
2103
2220
  # @note When making an API call, you may pass Tag
@@ -2162,5 +2279,31 @@ module Aws::ElasticLoadBalancing
2162
2279
  include Aws::Structure
2163
2280
  end
2164
2281
 
2282
+ # The quota for the number of load balancers has been reached.
2283
+ #
2284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TooManyAccessPointsException AWS API Documentation
2285
+ #
2286
+ class TooManyAccessPointsException < Aws::EmptyStructure; end
2287
+
2288
+ # The quota for the number of policies for this load balancer has been
2289
+ # reached.
2290
+ #
2291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TooManyPoliciesException AWS API Documentation
2292
+ #
2293
+ class TooManyPoliciesException < Aws::EmptyStructure; end
2294
+
2295
+ # The quota for the number of tags that can be assigned to a load
2296
+ # balancer has been reached.
2297
+ #
2298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TooManyTagsException AWS API Documentation
2299
+ #
2300
+ class TooManyTagsException < Aws::EmptyStructure; end
2301
+
2302
+ # The specified protocol or signature version is not supported.
2303
+ #
2304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/UnsupportedProtocolException AWS API Documentation
2305
+ #
2306
+ class UnsupportedProtocolException < Aws::EmptyStructure; end
2307
+
2165
2308
  end
2166
2309
  end
@@ -8,6 +8,69 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::ElasticLoadBalancing
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
+ # | any_instance_in_service | {Client#describe_instance_health} | 15 | 40 |
71
+ # | instance_deregistered | {Client#describe_instance_health} | 15 | 40 |
72
+ # | instance_in_service | {Client#describe_instance_health} | 15 | 40 |
73
+ #
11
74
  module Waiters
12
75
 
13
76
  class AnyInstanceInService
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.23.1
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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.61.1
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.61.1
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -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