aws-sdk-elasticloadbalancing 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f46128422edb3f6423e404f272bbac8027e4acf
4
- data.tar.gz: d2ac526fe23d406fef0dbb2388c40ad0097618a7
3
+ metadata.gz: 83669d496f1c9442f968fb4dc471c13f8e24da4f
4
+ data.tar.gz: 2348509f8263ecbf9e8e4aea4390a9336577d342
5
5
  SHA512:
6
- metadata.gz: cc816ec4081886719f59cd13edcc80494b79c3a1de87d3f0e5a4caab4d9dc3b81fe30a7929966beffe2d37bcf7224ff8aad47277a8e3e3dedeed3283df87ecbc
7
- data.tar.gz: e9a7fb38aa0fbfd3872fb50cc7e60d2a92837180d64d0912cea9f5ca2b40a14a4a6a3c9c5c1f92aa0e26901356324777762e56009cf0c3b01c0706e33aa36252
6
+ metadata.gz: 7fc65f70e22f3c47979c86f01608ef1273a5ac6ea69cc24cc769c6006d5b82858bb2da1749dbd8231de5d54a2a3b22d0b75587923f5f80662c257764bbe99043
7
+ data.tar.gz: 8a907624159ebf079ee3bc8d24051da008ece63068a166fc453a3b1bcebfdaf33a97ecb90054a5d6f05bd7c23033c2244c38c1040b1c1a5772397a595cbac9b9
@@ -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.19.0'
49
+ GEM_VERSION = '1.20.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
@@ -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.
@@ -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. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
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,26 @@ 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 and auth
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) used by the default backoff function.
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
+ # * `legacy` - The pre-existing retry behavior. This is default value if
233
+ # no retry mode is provided.
234
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
+ # This includes support for retry quotas, which limit the number of
236
+ # unsuccessful retries a client can make.
237
+ # * `adaptive` - An experimental retry mode that includes all the
238
+ # functionality of `standard` mode along with automatic client side
239
+ # throttling. This is a provisional mode that may change behavior
240
+ # in the future.
190
241
  #
191
242
  # @option options [String] :secret_access_key
192
243
  #
@@ -209,16 +260,16 @@ module Aws::ElasticLoadBalancing
209
260
  # requests through. Formatted like 'http://proxy.com:123'.
210
261
  #
211
262
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
263
+ # seconds to wait when opening a HTTP session before raising a
213
264
  # `Timeout::Error`.
214
265
  #
215
266
  # @option options [Integer] :http_read_timeout (60) The default
216
267
  # number of seconds to wait for response data. This value can
217
268
  # safely be set
218
- # per-request on the session yeidled by {#session_for}.
269
+ # per-request on the session yielded by {#session_for}.
219
270
  #
220
271
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
272
+ # seconds a connection is allowed to sit idle before it is
222
273
  # considered stale. Stale connections are closed and removed
223
274
  # from the pool before making a request.
224
275
  #
@@ -227,7 +278,7 @@ module Aws::ElasticLoadBalancing
227
278
  # request body. This option has no effect unless the request has
228
279
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
280
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
281
+ # request on the session yielded by {#session_for}.
231
282
  #
232
283
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
284
  # HTTP debug output will be sent to the `:logger`.
@@ -2530,7 +2581,7 @@ module Aws::ElasticLoadBalancing
2530
2581
  params: params,
2531
2582
  config: config)
2532
2583
  context[:gem_name] = 'aws-sdk-elasticloadbalancing'
2533
- context[:gem_version] = '1.19.0'
2584
+ context[:gem_version] = '1.20.0'
2534
2585
  Seahorse::Client::Request.new(handlers, context)
2535
2586
  end
2536
2587
 
@@ -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,13 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ElasticLoadBalancing
9
+ # This class provides a resource oriented interface for ElasticLoadBalancing.
10
+ # To create a resource object:
11
+ # resource = Aws::ElasticLoadBalancing::Resource.new(region: 'us-west-2')
12
+ # You can supply a client object with custom configuration that will be used for all resource operations.
13
+ # If you do not pass +:client+, a default client will be constructed.
14
+ # client = Aws::ElasticLoadBalancing::Client.new(region: 'us-west-2')
15
+ # resource = Aws::ElasticLoadBalancing::Resource.new(client: client)
9
16
  class Resource
10
17
 
11
18
  # @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
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.19.0
4
+ version: 1.20.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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core