aws-sdk-eks 1.56.0 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9f225f8f8ec2d3dfe3b05241fe6561454861c8121f6372ba8b922379835d1ef
4
- data.tar.gz: 70179a868a3fe7f4ecbcea700c622de7d58faa76787f4b6227cb5469416f9f65
3
+ metadata.gz: 590cf65e20d33db477757288a8928515504f74cdbd666b84f5dad98b5ada517b
4
+ data.tar.gz: 6c4ea0d5b3046153ef411aee141deed4e04193b226db18bb3a538febfb3e0b12
5
5
  SHA512:
6
- metadata.gz: f297dbb8cf6688292c4ba6b54e7f246e50cba12a3ff5355bbd244fa357463bd6a3938d0f65fc39d786f87b78e774289eca99b67c9b3cdfad62c743e1243010ab
7
- data.tar.gz: 4e2f784673e228e473d19269907e1deb492a319073f8da1f85d4dda376d712d8eae6f6fc03a3ad877da624151fe9ab622d19887833c96e93e787b93574b1a475
6
+ metadata.gz: b365ee51db8be82f207a9beab298c151fdf1ff99145fd39b564cca68eb02de53d0da60a057edbe4f8052d177ad40c4c9df37dee9138c50c786a4ebf3a91b9c17
7
+ data.tar.gz: 0f9aacbdb0cf72bd3c183e9924f1b83bc9920a486acbb39ec4b7b751d5df337bb02d6ef1f02597dd3e37c4dc4a6a9760529bd86483de44d67ed3efb17357f2e5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2021-07-08)
5
+ ------------------
6
+
7
+ * Feature - Added waiters for EKS FargateProfiles.
8
+
4
9
  1.56.0 (2021-07-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.57.0
data/lib/aws-sdk-eks.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-eks/customizations'
49
49
  # @!group service
50
50
  module Aws::EKS
51
51
 
52
- GEM_VERSION = '1.56.0'
52
+ GEM_VERSION = '1.57.0'
53
53
 
54
54
  end
@@ -1767,6 +1767,12 @@ module Aws::EKS
1767
1767
  # resp.fargate_profile.tags #=> Hash
1768
1768
  # resp.fargate_profile.tags["TagKey"] #=> String
1769
1769
  #
1770
+ #
1771
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1772
+ #
1773
+ # * fargate_profile_active
1774
+ # * fargate_profile_deleted
1775
+ #
1770
1776
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile AWS API Documentation
1771
1777
  #
1772
1778
  # @overload describe_fargate_profile(params = {})
@@ -3008,7 +3014,7 @@ module Aws::EKS
3008
3014
  params: params,
3009
3015
  config: config)
3010
3016
  context[:gem_name] = 'aws-sdk-eks'
3011
- context[:gem_version] = '1.56.0'
3017
+ context[:gem_version] = '1.57.0'
3012
3018
  Seahorse::Client::Request.new(handlers, context)
3013
3019
  end
3014
3020
 
@@ -3074,14 +3080,16 @@ module Aws::EKS
3074
3080
  # The following table lists the valid waiter names, the operations they call,
3075
3081
  # and the default `:delay` and `:max_attempts` values.
3076
3082
  #
3077
- # | waiter_name | params | :delay | :max_attempts |
3078
- # | ----------------- | --------------------------- | -------- | ------------- |
3079
- # | addon_active | {Client#describe_addon} | 10 | 60 |
3080
- # | addon_deleted | {Client#describe_addon} | 10 | 60 |
3081
- # | cluster_active | {Client#describe_cluster} | 30 | 40 |
3082
- # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
3083
- # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
3084
- # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
3083
+ # | waiter_name | params | :delay | :max_attempts |
3084
+ # | ----------------------- | --------------------------------- | -------- | ------------- |
3085
+ # | addon_active | {Client#describe_addon} | 10 | 60 |
3086
+ # | addon_deleted | {Client#describe_addon} | 10 | 60 |
3087
+ # | cluster_active | {Client#describe_cluster} | 30 | 40 |
3088
+ # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
3089
+ # | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
3090
+ # | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
3091
+ # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
3092
+ # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
3085
3093
  #
3086
3094
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
3087
3095
  # because the waiter has entered a state that it will not transition
@@ -3136,6 +3144,8 @@ module Aws::EKS
3136
3144
  addon_deleted: Waiters::AddonDeleted,
3137
3145
  cluster_active: Waiters::ClusterActive,
3138
3146
  cluster_deleted: Waiters::ClusterDeleted,
3147
+ fargate_profile_active: Waiters::FargateProfileActive,
3148
+ fargate_profile_deleted: Waiters::FargateProfileDeleted,
3139
3149
  nodegroup_active: Waiters::NodegroupActive,
3140
3150
  nodegroup_deleted: Waiters::NodegroupDeleted
3141
3151
  }
@@ -67,14 +67,16 @@ module Aws::EKS
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | ----------------- | --------------------------- | -------- | ------------- |
72
- # | addon_active | {Client#describe_addon} | 10 | 60 |
73
- # | addon_deleted | {Client#describe_addon} | 10 | 60 |
74
- # | cluster_active | {Client#describe_cluster} | 30 | 40 |
75
- # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
76
- # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
77
- # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ----------------------- | --------------------------------- | -------- | ------------- |
72
+ # | addon_active | {Client#describe_addon} | 10 | 60 |
73
+ # | addon_deleted | {Client#describe_addon} | 10 | 60 |
74
+ # | cluster_active | {Client#describe_cluster} | 30 | 40 |
75
+ # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
76
+ # | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
77
+ # | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
78
+ # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
79
+ # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
78
80
  #
79
81
  module Waiters
80
82
 
@@ -270,6 +272,93 @@ module Aws::EKS
270
272
 
271
273
  end
272
274
 
275
+ class FargateProfileActive
276
+
277
+ # @param [Hash] options
278
+ # @option options [required, Client] :client
279
+ # @option options [Integer] :max_attempts (60)
280
+ # @option options [Integer] :delay (10)
281
+ # @option options [Proc] :before_attempt
282
+ # @option options [Proc] :before_wait
283
+ def initialize(options)
284
+ @client = options.fetch(:client)
285
+ @waiter = Aws::Waiters::Waiter.new({
286
+ max_attempts: 60,
287
+ delay: 10,
288
+ poller: Aws::Waiters::Poller.new(
289
+ operation_name: :describe_fargate_profile,
290
+ acceptors: [
291
+ {
292
+ "expected" => "CREATE_FAILED",
293
+ "matcher" => "path",
294
+ "state" => "failure",
295
+ "argument" => "fargate_profile.status"
296
+ },
297
+ {
298
+ "expected" => "ACTIVE",
299
+ "matcher" => "path",
300
+ "state" => "success",
301
+ "argument" => "fargate_profile.status"
302
+ }
303
+ ]
304
+ )
305
+ }.merge(options))
306
+ end
307
+
308
+ # @option (see Client#describe_fargate_profile)
309
+ # @return (see Client#describe_fargate_profile)
310
+ def wait(params = {})
311
+ @waiter.wait(client: @client, params: params)
312
+ end
313
+
314
+ # @api private
315
+ attr_reader :waiter
316
+
317
+ end
318
+
319
+ class FargateProfileDeleted
320
+
321
+ # @param [Hash] options
322
+ # @option options [required, Client] :client
323
+ # @option options [Integer] :max_attempts (60)
324
+ # @option options [Integer] :delay (30)
325
+ # @option options [Proc] :before_attempt
326
+ # @option options [Proc] :before_wait
327
+ def initialize(options)
328
+ @client = options.fetch(:client)
329
+ @waiter = Aws::Waiters::Waiter.new({
330
+ max_attempts: 60,
331
+ delay: 30,
332
+ poller: Aws::Waiters::Poller.new(
333
+ operation_name: :describe_fargate_profile,
334
+ acceptors: [
335
+ {
336
+ "expected" => "DELETE_FAILED",
337
+ "matcher" => "path",
338
+ "state" => "failure",
339
+ "argument" => "fargate_profile.status"
340
+ },
341
+ {
342
+ "expected" => "ResourceNotFoundException",
343
+ "matcher" => "error",
344
+ "state" => "success"
345
+ }
346
+ ]
347
+ )
348
+ }.merge(options))
349
+ end
350
+
351
+ # @option (see Client#describe_fargate_profile)
352
+ # @return (see Client#describe_fargate_profile)
353
+ def wait(params = {})
354
+ @waiter.wait(client: @client, params: params)
355
+ end
356
+
357
+ # @api private
358
+ attr_reader :waiter
359
+
360
+ end
361
+
273
362
  class NodegroupActive
274
363
 
275
364
  # @param [Hash] options
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.56.0
4
+ version: 1.57.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: 2021-07-06 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core