aws-sdk-elasticloadbalancing 1.17.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-elasticloadbalancing.rb +7 -4
- data/lib/aws-sdk-elasticloadbalancing/client.rb +82 -19
- data/lib/aws-sdk-elasticloadbalancing/client_api.rb +44 -0
- data/lib/aws-sdk-elasticloadbalancing/errors.rb +264 -0
- data/lib/aws-sdk-elasticloadbalancing/resource.rb +1 -0
- data/lib/aws-sdk-elasticloadbalancing/types.rb +143 -0
- data/lib/aws-sdk-elasticloadbalancing/waiters.rb +63 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0dd507b7f3c4b1daea21bcd80e3cf6db5a11ae542b44234c8c4522429b56f6a6
|
4
|
+
data.tar.gz: 3f076a710a5a48b113d137ad3d46c75fed9f1ac9d664c01b9163b2a91d20bced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c336268de58ec12fc12dd51cc1c3a05a956e643010ae20225b4ea23a0876c51fa07952c657267d44481badd3ef1786ef23e086afb69c62425fd31c2e5aac6d8d
|
7
|
+
data.tar.gz: 7f03a064be34145f3be374d32d9b7451e58e3edea97f8c4bf8c32dcae430860cd57558464291a7d921dc2d4348922f7776805ed359f1fe757168d9124a3d98cf
|
@@ -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
|
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
|
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.
|
49
|
+
GEM_VERSION = '1.22.0'
|
47
50
|
|
48
51
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/query.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:elasticloadbalancing)
|
31
31
|
|
32
32
|
module Aws::ElasticLoadBalancing
|
33
|
+
# An API client for ElasticLoadBalancing. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::ElasticLoadBalancing::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::ElasticLoadBalancing
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::ElasticLoadBalancing
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::ElasticLoadBalancing
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::ElasticLoadBalancing
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::ElasticLoadBalancing
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::ElasticLoadBalancing
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::ElasticLoadBalancing
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::ElasticLoadBalancing
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::ElasticLoadBalancing
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1392,6 +1446,13 @@ module Aws::ElasticLoadBalancing
|
|
1392
1446
|
# resp.instance_states[0].reason_code #=> String
|
1393
1447
|
# resp.instance_states[0].description #=> String
|
1394
1448
|
#
|
1449
|
+
#
|
1450
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1451
|
+
#
|
1452
|
+
# * any_instance_in_service
|
1453
|
+
# * instance_deregistered
|
1454
|
+
# * instance_in_service
|
1455
|
+
#
|
1395
1456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth AWS API Documentation
|
1396
1457
|
#
|
1397
1458
|
# @overload describe_instance_health(params = {})
|
@@ -1635,6 +1696,8 @@ module Aws::ElasticLoadBalancing
|
|
1635
1696
|
# * {Types::DescribeAccessPointsOutput#load_balancer_descriptions #load_balancer_descriptions} => Array<Types::LoadBalancerDescription>
|
1636
1697
|
# * {Types::DescribeAccessPointsOutput#next_marker #next_marker} => String
|
1637
1698
|
#
|
1699
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1700
|
+
#
|
1638
1701
|
#
|
1639
1702
|
# @example Example: To describe one of your load balancers
|
1640
1703
|
#
|
@@ -2530,7 +2593,7 @@ module Aws::ElasticLoadBalancing
|
|
2530
2593
|
params: params,
|
2531
2594
|
config: config)
|
2532
2595
|
context[:gem_name] = 'aws-sdk-elasticloadbalancing'
|
2533
|
-
context[:gem_version] = '1.
|
2596
|
+
context[:gem_version] = '1.22.0'
|
2534
2597
|
Seahorse::Client::Request.new(handlers, context)
|
2535
2598
|
end
|
2536
2599
|
|
@@ -2596,11 +2659,11 @@ module Aws::ElasticLoadBalancing
|
|
2596
2659
|
# The following table lists the valid waiter names, the operations they call,
|
2597
2660
|
# and the default `:delay` and `:max_attempts` values.
|
2598
2661
|
#
|
2599
|
-
# | waiter_name | params
|
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 |
|
2662
|
+
# | waiter_name | params | :delay | :max_attempts |
|
2663
|
+
# | ----------------------- | --------------------------------- | -------- | ------------- |
|
2664
|
+
# | any_instance_in_service | {Client#describe_instance_health} | 15 | 40 |
|
2665
|
+
# | instance_deregistered | {Client#describe_instance_health} | 15 | 40 |
|
2666
|
+
# | instance_in_service | {Client#describe_instance_health} | 15 | 40 |
|
2604
2667
|
#
|
2605
2668
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
2606
2669
|
# 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
|
@@ -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.
|
4
|
+
version: 1.22.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:
|
11
|
+
date: 2020-05-28 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.
|
22
|
+
version: 3.71.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.
|
32
|
+
version: 3.71.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.
|
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
|