aws-sdk-eks 1.66.0 → 1.67.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: 44375c043b2ba60ce673a90965b57c195fe9b4bb4ef46d30c87be4479987ca51
4
- data.tar.gz: a54b885057c103f09dde401beabe6b018907abb3cd9a0035931476fcbf51322e
3
+ metadata.gz: cefb830600eab2752bdf056b604bc175a46947488c82f77ef1337b259de8d618
4
+ data.tar.gz: 2b477c74629d652372ae21e87899d794679a80a5d0c99d0f0f514d7d103d4f61
5
5
  SHA512:
6
- metadata.gz: c0ef28a46842eea6d377b614eb841f8a51355ec4dcf03a16dfd661d9a76a0ddbabb9781c0dabfa8b0846c31066cb2f13a5d365d7907359f13302d0efa2d29f0e
7
- data.tar.gz: 42f1f63826ceecc12aab6caa5024921c94f29e228ffe235205f7f819ed9969bab88ae2d003a2e495672bda36ae74096dd952d0faea665b20e928c85fc23e3ed0
6
+ metadata.gz: 32636287a9a50140a88211baabf716ee415ff4b225862f5190089b42edeb1a962d5e63e7e3eda9f5a60a0e93d404719855110b3cb4e3202043d967fd3e7d2905
7
+ data.tar.gz: 876e4ecf669b77ecafbbd7101dc07e3b6fc061fde56a2d435f9c445a6fc824894873cf324786913caf185221db6a569fb8e55a1d231b8f4a8f4a98889d91e855
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2021-11-15)
5
+ ------------------
6
+
7
+ * Feature - Adding Tags support to Cluster Registrations.
8
+
4
9
  1.66.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.67.0
@@ -490,10 +490,15 @@ module Aws::EKS
490
490
  #
491
491
  # Amazon EKS add-ons help to automate the provisioning and lifecycle
492
492
  # management of common operational software for Amazon EKS clusters.
493
- # Amazon EKS add-ons can only be used with Amazon EKS clusters running
494
- # version 1.18 with platform version `eks.3` or later because add-ons
495
- # rely on the Server-side Apply Kubernetes feature, which is only
496
- # available in Kubernetes 1.18 and later.
493
+ # Amazon EKS add-ons require clusters running version 1.18 or later
494
+ # because Amazon EKS add-ons rely on the Server-side Apply Kubernetes
495
+ # feature, which is only available in Kubernetes 1.18 and later. For
496
+ # more information, see [Amazon EKS add-ons][1] in the *Amazon EKS User
497
+ # Guide*.
498
+ #
499
+ #
500
+ #
501
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
497
502
  #
498
503
  # @option params [required, String] :cluster_name
499
504
  # The name of the cluster to create the add-on for.
@@ -2545,15 +2550,15 @@ module Aws::EKS
2545
2550
  #
2546
2551
  # After the Manifest is updated and applied, then the connected cluster
2547
2552
  # is visible to the Amazon EKS control plane. If the Manifest is not
2548
- # applied within a set amount of time, then the connected cluster will
2549
- # no longer be visible and must be deregistered. See DeregisterCluster.
2553
+ # applied within three days, then the connected cluster will no longer
2554
+ # be visible and must be deregistered. See DeregisterCluster.
2550
2555
  #
2551
2556
  #
2552
2557
  #
2553
2558
  # [1]: https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml
2554
2559
  #
2555
2560
  # @option params [required, String] :name
2556
- # Define a unique name for this cluster within your AWS account.
2561
+ # Define a unique name for this cluster for your Region.
2557
2562
  #
2558
2563
  # @option params [required, Types::ConnectorConfigRequest] :connector_config
2559
2564
  # The configuration settings required to connect the Kubernetes cluster
@@ -2566,6 +2571,12 @@ module Aws::EKS
2566
2571
  # **A suitable default value is auto-generated.** You should normally
2567
2572
  # not need to pass this option.**
2568
2573
  #
2574
+ # @option params [Hash<String,String>] :tags
2575
+ # The metadata that you apply to the cluster to assist with
2576
+ # categorization and organization. Each tag consists of a key and an
2577
+ # optional value, both of which you define. Cluster tags do not
2578
+ # propagate to any other resources associated with the cluster.
2579
+ #
2569
2580
  # @return [Types::RegisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2570
2581
  #
2571
2582
  # * {Types::RegisterClusterResponse#cluster #cluster} => Types::Cluster
@@ -2579,6 +2590,9 @@ module Aws::EKS
2579
2590
  # provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
2580
2591
  # },
2581
2592
  # client_request_token: "String",
2593
+ # tags: {
2594
+ # "TagKey" => "TagValue",
2595
+ # },
2582
2596
  # })
2583
2597
  #
2584
2598
  # @example Response structure
@@ -3217,7 +3231,7 @@ module Aws::EKS
3217
3231
  params: params,
3218
3232
  config: config)
3219
3233
  context[:gem_name] = 'aws-sdk-eks'
3220
- context[:gem_version] = '1.66.0'
3234
+ context[:gem_version] = '1.67.0'
3221
3235
  Seahorse::Client::Request.new(handlers, context)
3222
3236
  end
3223
3237
 
@@ -14,6 +14,7 @@ module Aws::EKS
14
14
  include Seahorse::Model
15
15
 
16
16
  AMITypes = Shapes::StringShape.new(name: 'AMITypes')
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
18
  Addon = Shapes::StructureShape.new(name: 'Addon')
18
19
  AddonHealth = Shapes::StructureShape.new(name: 'AddonHealth')
19
20
  AddonInfo = Shapes::StructureShape.new(name: 'AddonInfo')
@@ -199,6 +200,9 @@ module Aws::EKS
199
200
  taintValue = Shapes::StringShape.new(name: 'taintValue')
200
201
  taintsList = Shapes::ListShape.new(name: 'taintsList')
201
202
 
203
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
204
+ AccessDeniedException.struct_class = Types::AccessDeniedException
205
+
202
206
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
203
207
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
204
208
  Addon.add_member(:status, Shapes::ShapeRef.new(shape: AddonStatus, location_name: "status"))
@@ -691,6 +695,7 @@ module Aws::EKS
691
695
  RegisterClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location_name: "name"))
692
696
  RegisterClusterRequest.add_member(:connector_config, Shapes::ShapeRef.new(shape: ConnectorConfigRequest, required: true, location_name: "connectorConfig"))
693
697
  RegisterClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
698
+ RegisterClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
694
699
  RegisterClusterRequest.struct_class = Types::RegisterClusterRequest
695
700
 
696
701
  RegisterClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
@@ -1025,6 +1030,7 @@ module Aws::EKS
1025
1030
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1026
1031
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1027
1032
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1028
1034
  end)
1029
1035
 
1030
1036
  api.add_operation(:describe_addon, Seahorse::Model::Operation.new.tap do |o|
@@ -1265,6 +1271,7 @@ module Aws::EKS
1265
1271
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1266
1272
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1267
1273
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1268
1275
  end)
1269
1276
 
1270
1277
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -27,6 +27,7 @@ module Aws::EKS
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {BadRequestException}
31
32
  # * {ClientException}
32
33
  # * {InvalidParameterException}
@@ -45,6 +46,21 @@ module Aws::EKS
45
46
 
46
47
  extend Aws::Errors::DynamicErrors
47
48
 
49
+ class AccessDeniedException < ServiceError
50
+
51
+ # @param [Seahorse::Client::RequestContext] context
52
+ # @param [String] message
53
+ # @param [Aws::EKS::Types::AccessDeniedException] data
54
+ def initialize(context, message, data = Aws::EmptyStructure.new)
55
+ super(context, message, data)
56
+ end
57
+
58
+ # @return [String]
59
+ def message
60
+ @message || @data[:message]
61
+ end
62
+ end
63
+
48
64
  class BadRequestException < ServiceError
49
65
 
50
66
  # @param [Seahorse::Client::RequestContext] context
@@ -10,7 +10,32 @@
10
10
  module Aws::EKS
11
11
  module Types
12
12
 
13
- # An Amazon EKS add-on.
13
+ # You don't have permissions to perform the requested operation. The
14
+ # user or role that is making the request must have at least one IAM
15
+ # permissions policy attached that grants the required permissions. For
16
+ # more information, see [Access Management][1] in the *IAM User Guide*.
17
+ #
18
+ #
19
+ #
20
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html
21
+ #
22
+ # @!attribute [rw] message
23
+ # @return [String]
24
+ #
25
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AccessDeniedException AWS API Documentation
26
+ #
27
+ class AccessDeniedException < Struct.new(
28
+ :message)
29
+ SENSITIVE = []
30
+ include Aws::Structure
31
+ end
32
+
33
+ # An Amazon EKS add-on. For more information, see [Amazon EKS
34
+ # add-ons][1] in the *Amazon EKS User Guide*.
35
+ #
36
+ #
37
+ #
38
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
14
39
  #
15
40
  # @!attribute [rw] addon_name
16
41
  # The name of the add-on.
@@ -556,9 +581,8 @@ module Aws::EKS
556
581
  # @return [String]
557
582
  #
558
583
  # @!attribute [rw] role_arn
559
- # The Amazon Resource Name (ARN) of the role that is used by the EKS
560
- # connector to communicate with AWS services from the connected
561
- # Kubernetes cluster.
584
+ # The Amazon Resource Name (ARN) of the role to communicate with
585
+ # services from the connected Kubernetes cluster.
562
586
  # @return [String]
563
587
  #
564
588
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ConnectorConfigResponse AWS API Documentation
@@ -665,7 +689,12 @@ module Aws::EKS
665
689
  end
666
690
 
667
691
  # @!attribute [rw] addon
668
- # An Amazon EKS add-on.
692
+ # An Amazon EKS add-on. For more information, see [Amazon EKS
693
+ # add-ons][1] in the *Amazon EKS User Guide*.
694
+ #
695
+ #
696
+ #
697
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
669
698
  # @return [Types::Addon]
670
699
  #
671
700
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddonResponse AWS API Documentation
@@ -1224,7 +1253,12 @@ module Aws::EKS
1224
1253
  end
1225
1254
 
1226
1255
  # @!attribute [rw] addon
1227
- # An Amazon EKS add-on.
1256
+ # An Amazon EKS add-on. For more information, see [Amazon EKS
1257
+ # add-ons][1] in the *Amazon EKS User Guide*.
1258
+ #
1259
+ #
1260
+ #
1261
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
1228
1262
  # @return [Types::Addon]
1229
1263
  #
1230
1264
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddonResponse AWS API Documentation
@@ -1404,7 +1438,12 @@ module Aws::EKS
1404
1438
  end
1405
1439
 
1406
1440
  # @!attribute [rw] addon
1407
- # An Amazon EKS add-on.
1441
+ # An Amazon EKS add-on. For more information, see [Amazon EKS
1442
+ # add-ons][1] in the *Amazon EKS User Guide*.
1443
+ #
1444
+ #
1445
+ #
1446
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
1408
1447
  # @return [Types::Addon]
1409
1448
  #
1410
1449
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonResponse AWS API Documentation
@@ -2118,7 +2157,7 @@ module Aws::EKS
2118
2157
  #
2119
2158
  #
2120
2159
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip
2121
- # [2]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
2160
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html
2122
2161
  # @return [String]
2123
2162
  #
2124
2163
  # @!attribute [rw] message
@@ -2157,7 +2196,7 @@ module Aws::EKS
2157
2196
  # meet the following requirements:
2158
2197
  #
2159
2198
  # * Within one of the following private IP address blocks: 10.0.0.0/8,
2160
- # 172.16.0.0.0/12, or 192.168.0.0/16.
2199
+ # 172.16.0.0/12, or 192.168.0.0/16.
2161
2200
  #
2162
2201
  # * Doesn't overlap with any CIDR block assigned to the VPC that you
2163
2202
  # selected for VPC.
@@ -2983,6 +3022,26 @@ module Aws::EKS
2983
3022
  # @!attribute [rw] desired_size
2984
3023
  # The current number of nodes that the managed node group should
2985
3024
  # maintain.
3025
+ #
3026
+ # If you use Cluster Autoscaler, you shouldn't change the desiredSize
3027
+ # value directly, as this can cause the Cluster Autoscaler to suddenly
3028
+ # scale up or scale down.
3029
+ #
3030
+ # Whenever this parameter changes, the number of worker nodes in the
3031
+ # node group is updated to the specified size. If this parameter is
3032
+ # given a value that is smaller than the current number of running
3033
+ # worker nodes, the necessary number of worker nodes are terminated to
3034
+ # match the given value. When using CloudFormation, no action occurs
3035
+ # if you remove this parameter from your CFN template.
3036
+ #
3037
+ # This parameter can be different from minSize in some cases, such as
3038
+ # when starting with extra hosts for testing. This parameter can also
3039
+ # be different when you want to start with an estimated number of
3040
+ # needed hosts, but let Cluster Autoscaler reduce the number if there
3041
+ # are too many. When Cluster Autoscaler is used, the desiredSize
3042
+ # parameter is altered by Cluster Autoscaler (but can be out-of-date
3043
+ # for short periods of time). Cluster Autoscaler doesn't scale a
3044
+ # managed node group lower than minSize or higher than maxSize.
2986
3045
  # @return [Integer]
2987
3046
  #
2988
3047
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/NodegroupScalingConfig AWS API Documentation
@@ -3283,10 +3342,13 @@ module Aws::EKS
3283
3342
  # provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
3284
3343
  # },
3285
3344
  # client_request_token: "String",
3345
+ # tags: {
3346
+ # "TagKey" => "TagValue",
3347
+ # },
3286
3348
  # }
3287
3349
  #
3288
3350
  # @!attribute [rw] name
3289
- # Define a unique name for this cluster within your AWS account.
3351
+ # Define a unique name for this cluster for your Region.
3290
3352
  # @return [String]
3291
3353
  #
3292
3354
  # @!attribute [rw] connector_config
@@ -3302,12 +3364,20 @@ module Aws::EKS
3302
3364
  # not need to pass this option.
3303
3365
  # @return [String]
3304
3366
  #
3367
+ # @!attribute [rw] tags
3368
+ # The metadata that you apply to the cluster to assist with
3369
+ # categorization and organization. Each tag consists of a key and an
3370
+ # optional value, both of which you define. Cluster tags do not
3371
+ # propagate to any other resources associated with the cluster.
3372
+ # @return [Hash<String,String>]
3373
+ #
3305
3374
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterClusterRequest AWS API Documentation
3306
3375
  #
3307
3376
  class RegisterClusterRequest < Struct.new(
3308
3377
  :name,
3309
3378
  :connector_config,
3310
- :client_request_token)
3379
+ :client_request_token,
3380
+ :tags)
3311
3381
  SENSITIVE = []
3312
3382
  include Aws::Structure
3313
3383
  end
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.66.0'
52
+ GEM_VERSION = '1.67.0'
53
53
 
54
54
  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.66.0
4
+ version: 1.67.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-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core