aws-sdk-eks 1.33.0 → 1.34.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: a2eff2e8a302712d03fc216cca1730fe442491f3
4
- data.tar.gz: 8c953e79c57dfa5e05ea3b2410a48e721ee71075
3
+ metadata.gz: f4aa11de16f03ba8d229941e01353983d92c0e72
4
+ data.tar.gz: d24651ce7cf7bde7950b98c8af7b1832c9444bc6
5
5
  SHA512:
6
- metadata.gz: 27fc7b7d8e8e4aec6dd2be060ec0d1bfba04732931aea094d7c8a3408d6ea885e0d4e6cbdcaf19fbd5faf99350f55506c63eff3022d2bfce9f3e964818762434
7
- data.tar.gz: 373f8771fc3e781aeef7ee9cb4eec22899cde9d1e6c7fcb78457f3c7e015dfaf65ea881d8db69be3d820448b31947723cf1abba3fd95142651bb4f5a881573b4
6
+ metadata.gz: 46ce6e66d1c9133b7575a05461c6558eef55571461acd14598e8f4938ae49cedf50fe290ccfc5c8457102752c90855884c73acc7471fbc5070687e14235ac69c
7
+ data.tar.gz: 208285d43ac54d8385a528eb942030a8ae535fa1c5ddbed456b7f25533b6c03c64f7603cf732274b84ec4b3edbd344cdc8b8a2b7a7a4d8c2f7b4f2a6ba248f59
data/lib/aws-sdk-eks.rb CHANGED
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-eks/customizations'
46
46
  # @service
47
47
  module Aws::EKS
48
48
 
49
- GEM_VERSION = '1.33.0'
49
+ GEM_VERSION = '1.34.0'
50
50
 
51
51
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:eks)
32
32
  module Aws::EKS
33
33
  # An API client for EKS. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::EKS::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::EKS::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::EKS
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
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.
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
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -718,14 +722,14 @@ module Aws::EKS
718
722
  # The remote access (SSH) configuration to use with your node group.
719
723
  #
720
724
  # @option params [required, String] :node_role
721
- # The IAM role associated with your node group. The Amazon EKS worker
722
- # node `kubelet` daemon makes calls to AWS APIs on your behalf. Worker
723
- # nodes receive permissions for these API calls through an IAM instance
724
- # profile and associated policies. Before you can launch worker nodes
725
- # and register them into a cluster, you must create an IAM role for
726
- # those worker nodes to use when they are launched. For more
727
- # information, see [Amazon EKS Worker Node IAM Role][1] in the <i>
728
- # <i>Amazon EKS User Guide</i> </i>.
725
+ # The Amazon Resource Name (ARN) of the IAM role to associate with your
726
+ # node group. The Amazon EKS worker node `kubelet` daemon makes calls to
727
+ # AWS APIs on your behalf. Worker nodes receive permissions for these
728
+ # API calls through an IAM instance profile and associated policies.
729
+ # Before you can launch worker nodes and register them into a cluster,
730
+ # you must create an IAM role for those worker nodes to use when they
731
+ # are launched. For more information, see [Amazon EKS Worker Node IAM
732
+ # Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
729
733
  #
730
734
  #
731
735
  #
@@ -828,7 +832,7 @@ module Aws::EKS
828
832
  # resp.nodegroup.resources.remote_access_security_group #=> String
829
833
  # resp.nodegroup.disk_size #=> Integer
830
834
  # resp.nodegroup.health.issues #=> Array
831
- # resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "IamInstanceProfileNotFound", "IamNodeRoleNotFound", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
835
+ # resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
832
836
  # resp.nodegroup.health.issues[0].message #=> String
833
837
  # resp.nodegroup.health.issues[0].resource_ids #=> Array
834
838
  # resp.nodegroup.health.issues[0].resource_ids[0] #=> String
@@ -855,7 +859,7 @@ module Aws::EKS
855
859
  #
856
860
  # If you have managed node groups or Fargate profiles attached to the
857
861
  # cluster, you must delete them first. For more information, see
858
- # DeleteNodegroup andDeleteFargateProfile.
862
+ # DeleteNodegroup and DeleteFargateProfile.
859
863
  #
860
864
  #
861
865
  #
@@ -1035,7 +1039,7 @@ module Aws::EKS
1035
1039
  # resp.nodegroup.resources.remote_access_security_group #=> String
1036
1040
  # resp.nodegroup.disk_size #=> Integer
1037
1041
  # resp.nodegroup.health.issues #=> Array
1038
- # resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "IamInstanceProfileNotFound", "IamNodeRoleNotFound", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
1042
+ # resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
1039
1043
  # resp.nodegroup.health.issues[0].message #=> String
1040
1044
  # resp.nodegroup.health.issues[0].resource_ids #=> Array
1041
1045
  # resp.nodegroup.health.issues[0].resource_ids[0] #=> String
@@ -1149,6 +1153,12 @@ module Aws::EKS
1149
1153
  # resp.cluster.encryption_config[0].resources[0] #=> String
1150
1154
  # resp.cluster.encryption_config[0].provider.key_arn #=> String
1151
1155
  #
1156
+ #
1157
+ # The following waiters are defined for this operation (see {Client#wait_for} for detailed usage):
1158
+ #
1159
+ # * cluster_active
1160
+ # * cluster_deleted
1161
+ #
1152
1162
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster AWS API Documentation
1153
1163
  #
1154
1164
  # @overload describe_cluster(params = {})
@@ -1252,13 +1262,19 @@ module Aws::EKS
1252
1262
  # resp.nodegroup.resources.remote_access_security_group #=> String
1253
1263
  # resp.nodegroup.disk_size #=> Integer
1254
1264
  # resp.nodegroup.health.issues #=> Array
1255
- # resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "IamInstanceProfileNotFound", "IamNodeRoleNotFound", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
1265
+ # resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
1256
1266
  # resp.nodegroup.health.issues[0].message #=> String
1257
1267
  # resp.nodegroup.health.issues[0].resource_ids #=> Array
1258
1268
  # resp.nodegroup.health.issues[0].resource_ids[0] #=> String
1259
1269
  # resp.nodegroup.tags #=> Hash
1260
1270
  # resp.nodegroup.tags["TagKey"] #=> String
1261
1271
  #
1272
+ #
1273
+ # The following waiters are defined for this operation (see {Client#wait_for} for detailed usage):
1274
+ #
1275
+ # * nodegroup_active
1276
+ # * nodegroup_deleted
1277
+ #
1262
1278
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeNodegroup AWS API Documentation
1263
1279
  #
1264
1280
  # @overload describe_nodegroup(params = {})
@@ -1350,6 +1366,8 @@ module Aws::EKS
1350
1366
  # * {Types::ListClustersResponse#clusters #clusters} => Array&lt;String&gt;
1351
1367
  # * {Types::ListClustersResponse#next_token #next_token} => String
1352
1368
  #
1369
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1370
+ #
1353
1371
  #
1354
1372
  # @example Example: To list your available clusters
1355
1373
  #
@@ -1418,6 +1436,8 @@ module Aws::EKS
1418
1436
  # * {Types::ListFargateProfilesResponse#fargate_profile_names #fargate_profile_names} => Array&lt;String&gt;
1419
1437
  # * {Types::ListFargateProfilesResponse#next_token #next_token} => String
1420
1438
  #
1439
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1440
+ #
1421
1441
  # @example Request syntax with placeholder values
1422
1442
  #
1423
1443
  # resp = client.list_fargate_profiles({
@@ -1469,6 +1489,8 @@ module Aws::EKS
1469
1489
  # * {Types::ListNodegroupsResponse#nodegroups #nodegroups} => Array&lt;String&gt;
1470
1490
  # * {Types::ListNodegroupsResponse#next_token #next_token} => String
1471
1491
  #
1492
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1493
+ #
1472
1494
  # @example Request syntax with placeholder values
1473
1495
  #
1474
1496
  # resp = client.list_nodegroups({
@@ -1569,6 +1591,8 @@ module Aws::EKS
1569
1591
  # * {Types::ListUpdatesResponse#update_ids #update_ids} => Array&lt;String&gt;
1570
1592
  # * {Types::ListUpdatesResponse#next_token #next_token} => String
1571
1593
  #
1594
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1595
+ #
1572
1596
  # @example Request syntax with placeholder values
1573
1597
  #
1574
1598
  # resp = client.list_updates({
@@ -2030,7 +2054,7 @@ module Aws::EKS
2030
2054
  params: params,
2031
2055
  config: config)
2032
2056
  context[:gem_name] = 'aws-sdk-eks'
2033
- context[:gem_version] = '1.33.0'
2057
+ context[:gem_version] = '1.34.0'
2034
2058
  Seahorse::Client::Request.new(handlers, context)
2035
2059
  end
2036
2060
 
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::EKS
9
- # This class provides a resource oriented interface for EKS.
10
- # To create a resource object:
11
- # resource = Aws::EKS::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::EKS::Client.new(region: 'us-west-2')
15
- # resource = Aws::EKS::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -490,14 +490,14 @@ module Aws::EKS
490
490
  # @return [Types::RemoteAccessConfig]
491
491
  #
492
492
  # @!attribute [rw] node_role
493
- # The IAM role associated with your node group. The Amazon EKS worker
494
- # node `kubelet` daemon makes calls to AWS APIs on your behalf. Worker
495
- # nodes receive permissions for these API calls through an IAM
496
- # instance profile and associated policies. Before you can launch
497
- # worker nodes and register them into a cluster, you must create an
498
- # IAM role for those worker nodes to use when they are launched. For
499
- # more information, see [Amazon EKS Worker Node IAM Role][1] in the
500
- # <i> <i>Amazon EKS User Guide</i> </i>.
493
+ # The Amazon Resource Name (ARN) of the IAM role to associate with
494
+ # your node group. The Amazon EKS worker node `kubelet` daemon makes
495
+ # calls to AWS APIs on your behalf. Worker nodes receive permissions
496
+ # for these API calls through an IAM instance profile and associated
497
+ # policies. Before you can launch worker nodes and register them into
498
+ # a cluster, you must create an IAM role for those worker nodes to use
499
+ # when they are launched. For more information, see [Amazon EKS Worker
500
+ # Node IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
501
501
  #
502
502
  #
503
503
  #
@@ -8,6 +8,70 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::EKS
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
+ # | cluster_active | {#describe_cluster} | 30 | 40 |
71
+ # | cluster_deleted | {#describe_cluster} | 30 | 40 |
72
+ # | nodegroup_active | {#describe_nodegroup} | 30 | 80 |
73
+ # | nodegroup_deleted | {#describe_nodegroup} | 30 | 40 |
74
+ #
11
75
  module Waiters
12
76
 
13
77
  class ClusterActive
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.33.0
4
+ version: 1.34.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-09 00:00:00.000000000 Z
11
+ date: 2020-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core