aws-sdk-eks 1.32.0 → 1.33.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: 35509c7263b61352667f37625da4910aa6684e65
4
- data.tar.gz: cc8db9f3ecc1bd0d84d4f52bdbba1929f80c9bdb
3
+ metadata.gz: a2eff2e8a302712d03fc216cca1730fe442491f3
4
+ data.tar.gz: 8c953e79c57dfa5e05ea3b2410a48e721ee71075
5
5
  SHA512:
6
- metadata.gz: '049fbd4bbdf27b074d24d19c497ab2d2b0ed0a09eb052282b202de7c7de43f0875c40cd20e19f348e1bd4021920598320f8faa7bea2bf6b6a8848bbe13b7ef4b'
7
- data.tar.gz: a144043e34b078b9a0f038b897b966b7e667c6f6f7ebe6c4bddccef1a490f3d95f0d51bb66e5c2582cfca07ac6597777fee12e9e20354ea23446f1946807bbbb
6
+ metadata.gz: 27fc7b7d8e8e4aec6dd2be060ec0d1bfba04732931aea094d7c8a3408d6ea885e0d4e6cbdcaf19fbd5faf99350f55506c63eff3022d2bfce9f3e964818762434
7
+ data.tar.gz: 373f8771fc3e781aeef7ee9cb4eec22899cde9d1e6c7fcb78457f3c7e015dfaf65ea881d8db69be3d820448b31947723cf1abba3fd95142651bb4f5a881573b4
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-eks/customizations'
46
46
  # @service
47
47
  module Aws::EKS
48
48
 
49
- GEM_VERSION = '1.32.0'
49
+ GEM_VERSION = '1.33.0'
50
50
 
51
51
  end
@@ -30,14 +30,16 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:eks)
31
31
 
32
32
  module Aws::EKS
33
- # An API client for EKS. To construct a client, you need to configure a +:region+ and +:credentials+.
34
- # client = Aws::EKS::Client.new(
35
- # region: region_name,
36
- # credentials: credentials,
37
- # # ...
38
- # )
33
+ # An API client for EKS. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::EKS::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
39
41
  # For details on configuring region and credentials see
40
- # the {developer-guide}[https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/setup-config.html].
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
41
43
  #
42
44
  # See {#initialize} for a full list of supported configuration options.
43
45
  class Client < Seahorse::Client::Base
@@ -118,6 +120,12 @@ module Aws::EKS
118
120
  # When set to `true`, a thread polling for endpoints will be running in
119
121
  # the background every 60 secs (default). Defaults to `false`.
120
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
+ #
121
129
  # @option options [Boolean] :client_side_monitoring (false)
122
130
  # When `true`, client-side metrics will be collected for all API requests from
123
131
  # this client.
@@ -142,6 +150,10 @@ module Aws::EKS
142
150
  # When `true`, an attempt is made to coerce request parameters into
143
151
  # the required types.
144
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
+ #
145
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
146
158
  # Set to true to disable SDK automatically adding host prefix
147
159
  # to default service endpoint when available.
@@ -176,15 +188,29 @@ module Aws::EKS
176
188
  # The Logger instance to send log messages to. If this option
177
189
  # is not set, logging will be disabled.
178
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
+ #
179
197
  # @option options [String] :profile ("default")
180
198
  # Used when loading credentials from the shared credentials file
181
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
182
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
+ #
183
205
  # @option options [Float] :retry_base_delay (0.3)
184
- # 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.
185
208
  #
186
209
  # @option options [Symbol] :retry_jitter (:none)
187
- # 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.
188
214
  #
189
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
190
216
  #
@@ -192,11 +218,26 @@ module Aws::EKS
192
218
  # The maximum number of times to retry failed requests. Only
193
219
  # ~ 500 level server errors and certain ~ 400 level client errors
194
220
  # are retried. Generally, these are throttling errors, data
195
- # checksum errors, networking errors, timeout errors and auth
196
- # 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.
197
224
  #
198
225
  # @option options [Integer] :retry_max_delay (0)
199
- # 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.
200
241
  #
201
242
  # @option options [String] :secret_access_key
202
243
  #
@@ -1989,7 +2030,7 @@ module Aws::EKS
1989
2030
  params: params,
1990
2031
  config: config)
1991
2032
  context[:gem_name] = 'aws-sdk-eks'
1992
- context[:gem_version] = '1.32.0'
2033
+ context[:gem_version] = '1.33.0'
1993
2034
  Seahorse::Client::Request.new(handlers, context)
1994
2035
  end
1995
2036
 
@@ -11,22 +11,17 @@ module Aws::EKS
11
11
  # These errors all extend Aws::EKS::Errors::ServiceError < {Aws::Errors::ServiceError}
12
12
  #
13
13
  # You can rescue all EKS errors using ServiceError:
14
+ #
14
15
  # begin
15
16
  # # do stuff
16
17
  # rescue Aws::EKS::Errors::ServiceError
17
18
  # # rescues all EKS API errors
18
19
  # end
19
20
  #
21
+ #
20
22
  # ## Request Context
21
23
  # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
22
- # information about the request that generated the error, including:
23
- # *
24
- # * #params - The request params
25
- # * #operation_name - Name of the API operation invoked
26
- # * #http_request
27
- # * #http_response
28
- # * etc ...
29
- #
24
+ # information about the request that generated the error.
30
25
  # See {Seahorse::Client::RequestContext} for more information.
31
26
  #
32
27
  # ## Error Classes
@@ -41,6 +36,7 @@ module Aws::EKS
41
36
  # * {ServerException}
42
37
  # * {ServiceUnavailableException}
43
38
  # * {UnsupportedAvailabilityZoneException}
39
+ #
44
40
  # Additionally, error classes are dynamically generated for service errors based on the error code
45
41
  # if they are not defined above.
46
42
  module Errors
@@ -60,7 +56,6 @@ module Aws::EKS
60
56
  def message
61
57
  @message || @data[:message]
62
58
  end
63
-
64
59
  end
65
60
 
66
61
  class ClientException < ServiceError
@@ -86,7 +81,6 @@ module Aws::EKS
86
81
  def message
87
82
  @message || @data[:message]
88
83
  end
89
-
90
84
  end
91
85
 
92
86
  class InvalidParameterException < ServiceError
@@ -117,7 +111,6 @@ module Aws::EKS
117
111
  def message
118
112
  @message || @data[:message]
119
113
  end
120
-
121
114
  end
122
115
 
123
116
  class InvalidRequestException < ServiceError
@@ -143,7 +136,6 @@ module Aws::EKS
143
136
  def message
144
137
  @message || @data[:message]
145
138
  end
146
-
147
139
  end
148
140
 
149
141
  class NotFoundException < ServiceError
@@ -159,7 +151,6 @@ module Aws::EKS
159
151
  def message
160
152
  @message || @data[:message]
161
153
  end
162
-
163
154
  end
164
155
 
165
156
  class ResourceInUseException < ServiceError
@@ -185,7 +176,6 @@ module Aws::EKS
185
176
  def message
186
177
  @message || @data[:message]
187
178
  end
188
-
189
179
  end
190
180
 
191
181
  class ResourceLimitExceededException < ServiceError
@@ -211,7 +201,6 @@ module Aws::EKS
211
201
  def message
212
202
  @message || @data[:message]
213
203
  end
214
-
215
204
  end
216
205
 
217
206
  class ResourceNotFoundException < ServiceError
@@ -242,7 +231,6 @@ module Aws::EKS
242
231
  def message
243
232
  @message || @data[:message]
244
233
  end
245
-
246
234
  end
247
235
 
248
236
  class ServerException < ServiceError
@@ -268,7 +256,6 @@ module Aws::EKS
268
256
  def message
269
257
  @message || @data[:message]
270
258
  end
271
-
272
259
  end
273
260
 
274
261
  class ServiceUnavailableException < ServiceError
@@ -284,7 +271,6 @@ module Aws::EKS
284
271
  def message
285
272
  @message || @data[:message]
286
273
  end
287
-
288
274
  end
289
275
 
290
276
  class UnsupportedAvailabilityZoneException < ServiceError
@@ -315,7 +301,6 @@ module Aws::EKS
315
301
  def valid_zones
316
302
  @data[:valid_zones]
317
303
  end
318
-
319
304
  end
320
305
 
321
306
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-05 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