aws-sdk-eks 1.64.0 → 1.68.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
  SHA256:
3
- metadata.gz: 294afc0aac4136d1fbfd8e495f3017eb45e071cc7bf11191c077403621d6a2c1
4
- data.tar.gz: dca4890ce5d6aa66a73a451004c101652dd60c93d69fa4f21b974147cbdca399
3
+ metadata.gz: af509bc2a8313c44806d09a6fc36dd18e2f6bd6dec8cc268c91cab5823f268c8
4
+ data.tar.gz: 7c6c4a2ae8fc7f7a3dbb4dae15ab112ebe3c5a837faf4a496d2464348189de98
5
5
  SHA512:
6
- metadata.gz: 7679860471bd1461994c123ec75caa629f3086231c1ecc9a31c25991913b9ddc0fc2b0a8bc58aead1f16d3872bca1652bfbb2478a4ca9a3f22ef54d4c4526c39
7
- data.tar.gz: 37b1f032fbe761162a32b6412be60b232da9a1485ab29ca148ce5ee3c1a0c74d50d13333afff2e1b5e8f4ce24382a9c2b32f1e7984df7756b30aa87be9a0c8d3
6
+ metadata.gz: 523d5bfb07682978aff6d383b5d1de957d9a03ba974d998c2d77fb8133982496a13052583186d630635c1a720dc310264e82de49537f5f9eab81bcb14c45fcf3
7
+ data.tar.gz: c2b1cd71d9a1f12696db1e99cde8742846a41a3aefed5efb2f6a230c4cd356678a1bae06b93ae1b88cb852435363a54ddf9b8004b988c62215e428489defa278
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2021-11-22)
5
+ ------------------
6
+
7
+ * Feature - Adding missing exceptions to RegisterCluster operation
8
+
9
+ 1.67.0 (2021-11-15)
10
+ ------------------
11
+
12
+ * Feature - Adding Tags support to Cluster Registrations.
13
+
14
+ 1.66.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.65.0 (2021-10-27)
20
+ ------------------
21
+
22
+ * Feature - EKS managed node groups now support BOTTLEROCKET_x86_64 and BOTTLEROCKET_ARM_64 AMI types.
23
+
4
24
  1.64.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.68.0
@@ -275,6 +275,15 @@ module Aws::EKS
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -415,7 +424,7 @@ module Aws::EKS
415
424
  # @option params [Hash<String,String>] :tags
416
425
  # The metadata to apply to the configuration to assist with
417
426
  # categorization and organization. Each tag consists of a key and an
418
- # optional value, both of which you define.
427
+ # optional value. You define both.
419
428
  #
420
429
  # @option params [String] :client_request_token
421
430
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -481,10 +490,15 @@ module Aws::EKS
481
490
  #
482
491
  # Amazon EKS add-ons help to automate the provisioning and lifecycle
483
492
  # management of common operational software for Amazon EKS clusters.
484
- # Amazon EKS add-ons can only be used with Amazon EKS clusters running
485
- # version 1.18 with platform version `eks.3` or later because add-ons
486
- # rely on the Server-side Apply Kubernetes feature, which is only
487
- # 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
488
502
  #
489
503
  # @option params [required, String] :cluster_name
490
504
  # The name of the cluster to create the add-on for.
@@ -538,8 +552,8 @@ module Aws::EKS
538
552
  #
539
553
  # @option params [Hash<String,String>] :tags
540
554
  # The metadata to apply to the cluster to assist with categorization and
541
- # organization. Each tag consists of a key and an optional value, both
542
- # of which you define.
555
+ # organization. Each tag consists of a key and an optional value. You
556
+ # define both.
543
557
  #
544
558
  # @return [Types::CreateAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
545
559
  #
@@ -591,8 +605,8 @@ module Aws::EKS
591
605
  # The Amazon EKS control plane consists of control plane instances that
592
606
  # run the Kubernetes software, such as `etcd` and the API server. The
593
607
  # control plane runs in an account managed by Amazon Web Services, and
594
- # the Kubernetes API is exposed via the Amazon EKS API server endpoint.
595
- # Each Amazon EKS cluster control plane is single-tenant and unique and
608
+ # the Kubernetes API is exposed by the Amazon EKS API server endpoint.
609
+ # Each Amazon EKS cluster control plane is single tenant and unique. It
596
610
  # runs on its own set of Amazon EC2 instances.
597
611
  #
598
612
  # The cluster control plane is provisioned across multiple Availability
@@ -603,14 +617,15 @@ module Aws::EKS
603
617
  # data flows).
604
618
  #
605
619
  # Amazon EKS nodes run in your Amazon Web Services account and connect
606
- # to your cluster's control plane via the Kubernetes API server
620
+ # to your cluster's control plane over the Kubernetes API server
607
621
  # endpoint and a certificate file that is created for your cluster.
608
622
  #
609
- # Cluster creation typically takes several minutes. After you create an
610
- # Amazon EKS cluster, you must configure your Kubernetes tooling to
611
- # communicate with the API server and launch nodes into your cluster.
612
- # For more information, see [Managing Cluster Authentication][1] and
613
- # [Launching Amazon EKS nodes][2] in the *Amazon EKS User Guide*.
623
+ # In most cases, it takes several minutes to create a cluster. After you
624
+ # create an Amazon EKS cluster, you must configure your Kubernetes
625
+ # tooling to communicate with the API server and launch nodes into your
626
+ # cluster. For more information, see [Managing Cluster
627
+ # Authentication][1] and [Launching Amazon EKS nodes][2] in the *Amazon
628
+ # EKS User Guide*.
614
629
  #
615
630
  #
616
631
  #
@@ -636,13 +651,13 @@ module Aws::EKS
636
651
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
637
652
  #
638
653
  # @option params [required, Types::VpcConfigRequest] :resources_vpc_config
639
- # The VPC configuration used by the cluster control plane. Amazon EKS
640
- # VPC resources have specific requirements to work properly with
641
- # Kubernetes. For more information, see [Cluster VPC Considerations][1]
642
- # and [Cluster Security Group Considerations][2] in the *Amazon EKS User
643
- # Guide*. You must specify at least two subnets. You can specify up to
644
- # five security groups, but we recommend that you use a dedicated
645
- # security group for your cluster control plane.
654
+ # The VPC configuration that's used by the cluster control plane.
655
+ # Amazon EKS VPC resources have specific requirements to work properly
656
+ # with Kubernetes. For more information, see [Cluster VPC
657
+ # Considerations][1] and [Cluster Security Group Considerations][2] in
658
+ # the *Amazon EKS User Guide*. You must specify at least two subnets.
659
+ # You can specify up to five security groups. However, we recommend that
660
+ # you use a dedicated security group for your cluster control plane.
646
661
  #
647
662
  #
648
663
  #
@@ -679,8 +694,8 @@ module Aws::EKS
679
694
  #
680
695
  # @option params [Hash<String,String>] :tags
681
696
  # The metadata to apply to the cluster to assist with categorization and
682
- # organization. Each tag consists of a key and an optional value, both
683
- # of which you define.
697
+ # organization. Each tag consists of a key and an optional value. You
698
+ # define both.
684
699
  #
685
700
  # @option params [Array<Types::EncryptionConfig>] :encryption_config
686
701
  # The encryption configuration for the cluster.
@@ -882,9 +897,9 @@ module Aws::EKS
882
897
  # @option params [Hash<String,String>] :tags
883
898
  # The metadata to apply to the Fargate profile to assist with
884
899
  # categorization and organization. Each tag consists of a key and an
885
- # optional value, both of which you define. Fargate profile tags do not
886
- # propagate to any other resources associated with the Fargate profile,
887
- # such as the pods that are scheduled with it.
900
+ # optional value. You define both. Fargate profile tags do not propagate
901
+ # to any other resources associated with the Fargate profile, such as
902
+ # the pods that are scheduled with it.
888
903
  #
889
904
  # @return [Types::CreateFargateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
890
905
  #
@@ -1064,9 +1079,9 @@ module Aws::EKS
1064
1079
  #
1065
1080
  # @option params [Hash<String,String>] :tags
1066
1081
  # The metadata to apply to the node group to assist with categorization
1067
- # and organization. Each tag consists of a key and an optional value,
1068
- # both of which you define. Node group tags do not propagate to any
1069
- # other resources associated with the node group, such as the Amazon EC2
1082
+ # and organization. Each tag consists of a key and an optional value.
1083
+ # You define both. Node group tags do not propagate to any other
1084
+ # resources associated with the node group, such as the Amazon EC2
1070
1085
  # instances or subnets.
1071
1086
  #
1072
1087
  # @option params [String] :client_request_token
@@ -1134,7 +1149,7 @@ module Aws::EKS
1134
1149
  # disk_size: 1,
1135
1150
  # subnets: ["String"], # required
1136
1151
  # instance_types: ["String"],
1137
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
1152
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64
1138
1153
  # remote_access: {
1139
1154
  # ec2_ssh_key: "String",
1140
1155
  # source_security_groups: ["String"],
@@ -1189,7 +1204,7 @@ module Aws::EKS
1189
1204
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1190
1205
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1191
1206
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1192
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1207
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64"
1193
1208
  # resp.nodegroup.node_role #=> String
1194
1209
  # resp.nodegroup.labels #=> Hash
1195
1210
  # resp.nodegroup.labels["labelKey"] #=> String
@@ -1473,7 +1488,7 @@ module Aws::EKS
1473
1488
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1474
1489
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1475
1490
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1476
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1491
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64"
1477
1492
  # resp.nodegroup.node_role #=> String
1478
1493
  # resp.nodegroup.labels #=> Hash
1479
1494
  # resp.nodegroup.labels["labelKey"] #=> String
@@ -1960,7 +1975,7 @@ module Aws::EKS
1960
1975
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1961
1976
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1962
1977
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1963
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1978
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64"
1964
1979
  # resp.nodegroup.node_role #=> String
1965
1980
  # resp.nodegroup.labels #=> Hash
1966
1981
  # resp.nodegroup.labels["labelKey"] #=> String
@@ -2201,8 +2216,10 @@ module Aws::EKS
2201
2216
  # </note>
2202
2217
  #
2203
2218
  # @option params [Array<String>] :include
2204
- # Indicates whether connected clusters are included in the returned
2205
- # list. Default value is 'ALL'.
2219
+ # Indicates whether external clusters are included in the returned list.
2220
+ # Use '`all`' to return connected clusters, or blank to return only
2221
+ # Amazon EKS clusters. '`all`' must be in lowercase otherwise an error
2222
+ # occurs.
2206
2223
  #
2207
2224
  # @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2208
2225
  #
@@ -2536,15 +2553,15 @@ module Aws::EKS
2536
2553
  #
2537
2554
  # After the Manifest is updated and applied, then the connected cluster
2538
2555
  # is visible to the Amazon EKS control plane. If the Manifest is not
2539
- # applied within a set amount of time, then the connected cluster will
2540
- # no longer be visible and must be deregistered. See DeregisterCluster.
2556
+ # applied within three days, then the connected cluster will no longer
2557
+ # be visible and must be deregistered. See DeregisterCluster.
2541
2558
  #
2542
2559
  #
2543
2560
  #
2544
2561
  # [1]: https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml
2545
2562
  #
2546
2563
  # @option params [required, String] :name
2547
- # Define a unique name for this cluster within your AWS account.
2564
+ # Define a unique name for this cluster for your Region.
2548
2565
  #
2549
2566
  # @option params [required, Types::ConnectorConfigRequest] :connector_config
2550
2567
  # The configuration settings required to connect the Kubernetes cluster
@@ -2557,6 +2574,12 @@ module Aws::EKS
2557
2574
  # **A suitable default value is auto-generated.** You should normally
2558
2575
  # not need to pass this option.**
2559
2576
  #
2577
+ # @option params [Hash<String,String>] :tags
2578
+ # The metadata that you apply to the cluster to assist with
2579
+ # categorization and organization. Each tag consists of a key and an
2580
+ # optional value, both of which you define. Cluster tags do not
2581
+ # propagate to any other resources associated with the cluster.
2582
+ #
2560
2583
  # @return [Types::RegisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2561
2584
  #
2562
2585
  # * {Types::RegisterClusterResponse#cluster #cluster} => Types::Cluster
@@ -2570,6 +2593,9 @@ module Aws::EKS
2570
2593
  # provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
2571
2594
  # },
2572
2595
  # client_request_token: "String",
2596
+ # tags: {
2597
+ # "TagKey" => "TagValue",
2598
+ # },
2573
2599
  # })
2574
2600
  #
2575
2601
  # @example Response structure
@@ -3208,7 +3234,7 @@ module Aws::EKS
3208
3234
  params: params,
3209
3235
  config: config)
3210
3236
  context[:gem_name] = 'aws-sdk-eks'
3211
- context[:gem_version] = '1.64.0'
3237
+ context[:gem_version] = '1.68.0'
3212
3238
  Seahorse::Client::Request.new(handlers, context)
3213
3239
  end
3214
3240
 
@@ -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')
@@ -149,6 +150,7 @@ module Aws::EKS
149
150
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
150
151
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
151
152
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
153
+ ResourcePropagationDelayException = Shapes::StructureShape.new(name: 'ResourcePropagationDelayException')
152
154
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
153
155
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
154
156
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
@@ -199,6 +201,9 @@ module Aws::EKS
199
201
  taintValue = Shapes::StringShape.new(name: 'taintValue')
200
202
  taintsList = Shapes::ListShape.new(name: 'taintsList')
201
203
 
204
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
205
+ AccessDeniedException.struct_class = Types::AccessDeniedException
206
+
202
207
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
203
208
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
204
209
  Addon.add_member(:status, Shapes::ShapeRef.new(shape: AddonStatus, location_name: "status"))
@@ -691,6 +696,7 @@ module Aws::EKS
691
696
  RegisterClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location_name: "name"))
692
697
  RegisterClusterRequest.add_member(:connector_config, Shapes::ShapeRef.new(shape: ConnectorConfigRequest, required: true, location_name: "connectorConfig"))
693
698
  RegisterClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
699
+ RegisterClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
694
700
  RegisterClusterRequest.struct_class = Types::RegisterClusterRequest
695
701
 
696
702
  RegisterClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
@@ -718,6 +724,9 @@ module Aws::EKS
718
724
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
719
725
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
720
726
 
727
+ ResourcePropagationDelayException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
728
+ ResourcePropagationDelayException.struct_class = Types::ResourcePropagationDelayException
729
+
721
730
  ServerException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
722
731
  ServerException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
723
732
  ServerException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
@@ -1025,6 +1034,7 @@ module Aws::EKS
1025
1034
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1026
1035
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1027
1036
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1028
1038
  end)
1029
1039
 
1030
1040
  api.add_operation(:describe_addon, Seahorse::Model::Operation.new.tap do |o|
@@ -1265,6 +1275,9 @@ module Aws::EKS
1265
1275
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1266
1276
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1267
1277
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1279
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1280
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePropagationDelayException)
1268
1281
  end)
1269
1282
 
1270
1283
  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}
@@ -35,6 +36,7 @@ module Aws::EKS
35
36
  # * {ResourceInUseException}
36
37
  # * {ResourceLimitExceededException}
37
38
  # * {ResourceNotFoundException}
39
+ # * {ResourcePropagationDelayException}
38
40
  # * {ServerException}
39
41
  # * {ServiceUnavailableException}
40
42
  # * {UnsupportedAvailabilityZoneException}
@@ -45,6 +47,21 @@ module Aws::EKS
45
47
 
46
48
  extend Aws::Errors::DynamicErrors
47
49
 
50
+ class AccessDeniedException < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::EKS::Types::AccessDeniedException] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+
59
+ # @return [String]
60
+ def message
61
+ @message || @data[:message]
62
+ end
63
+ end
64
+
48
65
  class BadRequestException < ServiceError
49
66
 
50
67
  # @param [Seahorse::Client::RequestContext] context
@@ -260,6 +277,21 @@ module Aws::EKS
260
277
  end
261
278
  end
262
279
 
280
+ class ResourcePropagationDelayException < ServiceError
281
+
282
+ # @param [Seahorse::Client::RequestContext] context
283
+ # @param [String] message
284
+ # @param [Aws::EKS::Types::ResourcePropagationDelayException] data
285
+ def initialize(context, message, data = Aws::EmptyStructure.new)
286
+ super(context, message, data)
287
+ end
288
+
289
+ # @return [String]
290
+ def message
291
+ @message || @data[:message]
292
+ end
293
+ end
294
+
263
295
  class ServerException < ServiceError
264
296
 
265
297
  # @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.
@@ -52,8 +77,8 @@ module Aws::EKS
52
77
  # @!attribute [rw] tags
53
78
  # The metadata that you apply to the add-on to assist with
54
79
  # categorization and organization. Each tag consists of a key and an
55
- # optional value, both of which you define. Add-on tags do not
56
- # propagate to any other resources associated with the cluster.
80
+ # optional value. You define both. Add-on tags do not propagate to any
81
+ # other resources associated with the cluster.
57
82
  # @return [Hash<String,String>]
58
83
  #
59
84
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Addon AWS API Documentation
@@ -251,7 +276,7 @@ module Aws::EKS
251
276
  # @!attribute [rw] tags
252
277
  # The metadata to apply to the configuration to assist with
253
278
  # categorization and organization. Each tag consists of a key and an
254
- # optional value, both of which you define.
279
+ # optional value. You define both.
255
280
  # @return [Hash<String,String>]
256
281
  #
257
282
  # @!attribute [rw] client_request_token
@@ -448,8 +473,8 @@ module Aws::EKS
448
473
  # @!attribute [rw] tags
449
474
  # The metadata that you apply to the cluster to assist with
450
475
  # categorization and organization. Each tag consists of a key and an
451
- # optional value, both of which you define. Cluster tags do not
452
- # propagate to any other resources associated with the cluster.
476
+ # optional value. You define both. Cluster tags do not propagate to
477
+ # any other resources associated with the cluster.
453
478
  # @return [Hash<String,String>]
454
479
  #
455
480
  # @!attribute [rw] encryption_config
@@ -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
@@ -646,8 +670,8 @@ module Aws::EKS
646
670
  #
647
671
  # @!attribute [rw] tags
648
672
  # The metadata to apply to the cluster to assist with categorization
649
- # and organization. Each tag consists of a key and an optional value,
650
- # both of which you define.
673
+ # and organization. Each tag consists of a key and an optional value.
674
+ # You define both.
651
675
  # @return [Hash<String,String>]
652
676
  #
653
677
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddonRequest 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
@@ -738,13 +767,14 @@ module Aws::EKS
738
767
  # @return [String]
739
768
  #
740
769
  # @!attribute [rw] resources_vpc_config
741
- # The VPC configuration used by the cluster control plane. Amazon EKS
742
- # VPC resources have specific requirements to work properly with
743
- # Kubernetes. For more information, see [Cluster VPC
770
+ # The VPC configuration that's used by the cluster control plane.
771
+ # Amazon EKS VPC resources have specific requirements to work properly
772
+ # with Kubernetes. For more information, see [Cluster VPC
744
773
  # Considerations][1] and [Cluster Security Group Considerations][2] in
745
774
  # the *Amazon EKS User Guide*. You must specify at least two subnets.
746
- # You can specify up to five security groups, but we recommend that
747
- # you use a dedicated security group for your cluster control plane.
775
+ # You can specify up to five security groups. However, we recommend
776
+ # that you use a dedicated security group for your cluster control
777
+ # plane.
748
778
  #
749
779
  #
750
780
  #
@@ -785,8 +815,8 @@ module Aws::EKS
785
815
  #
786
816
  # @!attribute [rw] tags
787
817
  # The metadata to apply to the cluster to assist with categorization
788
- # and organization. Each tag consists of a key and an optional value,
789
- # both of which you define.
818
+ # and organization. Each tag consists of a key and an optional value.
819
+ # You define both.
790
820
  # @return [Hash<String,String>]
791
821
  #
792
822
  # @!attribute [rw] encryption_config
@@ -889,8 +919,8 @@ module Aws::EKS
889
919
  # @!attribute [rw] tags
890
920
  # The metadata to apply to the Fargate profile to assist with
891
921
  # categorization and organization. Each tag consists of a key and an
892
- # optional value, both of which you define. Fargate profile tags do
893
- # not propagate to any other resources associated with the Fargate
922
+ # optional value. You define both. Fargate profile tags do not
923
+ # propagate to any other resources associated with the Fargate
894
924
  # profile, such as the pods that are scheduled with it.
895
925
  # @return [Hash<String,String>]
896
926
  #
@@ -934,7 +964,7 @@ module Aws::EKS
934
964
  # disk_size: 1,
935
965
  # subnets: ["String"], # required
936
966
  # instance_types: ["String"],
937
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
967
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64
938
968
  # remote_access: {
939
969
  # ec2_ssh_key: "String",
940
970
  # source_security_groups: ["String"],
@@ -1089,9 +1119,9 @@ module Aws::EKS
1089
1119
  # @!attribute [rw] tags
1090
1120
  # The metadata to apply to the node group to assist with
1091
1121
  # categorization and organization. Each tag consists of a key and an
1092
- # optional value, both of which you define. Node group tags do not
1093
- # propagate to any other resources associated with the node group,
1094
- # such as the Amazon EC2 instances or subnets.
1122
+ # optional value. You define both. Node group tags do not propagate to
1123
+ # any other resources associated with the node group, such as the
1124
+ # Amazon EC2 instances or subnets.
1095
1125
  # @return [Hash<String,String>]
1096
1126
  #
1097
1127
  # @!attribute [rw] client_request_token
@@ -1224,7 +1254,12 @@ module Aws::EKS
1224
1254
  end
1225
1255
 
1226
1256
  # @!attribute [rw] addon
1227
- # An Amazon EKS add-on.
1257
+ # An Amazon EKS add-on. For more information, see [Amazon EKS
1258
+ # add-ons][1] in the *Amazon EKS User Guide*.
1259
+ #
1260
+ #
1261
+ #
1262
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
1228
1263
  # @return [Types::Addon]
1229
1264
  #
1230
1265
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddonResponse AWS API Documentation
@@ -1404,7 +1439,12 @@ module Aws::EKS
1404
1439
  end
1405
1440
 
1406
1441
  # @!attribute [rw] addon
1407
- # An Amazon EKS add-on.
1442
+ # An Amazon EKS add-on. For more information, see [Amazon EKS
1443
+ # add-ons][1] in the *Amazon EKS User Guide*.
1444
+ #
1445
+ #
1446
+ #
1447
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
1408
1448
  # @return [Types::Addon]
1409
1449
  #
1410
1450
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonResponse AWS API Documentation
@@ -1871,8 +1911,8 @@ module Aws::EKS
1871
1911
  # @!attribute [rw] tags
1872
1912
  # The metadata applied to the Fargate profile to assist with
1873
1913
  # categorization and organization. Each tag consists of a key and an
1874
- # optional value, both of which you define. Fargate profile tags do
1875
- # not propagate to any other resources associated with the Fargate
1914
+ # optional value. You define both. Fargate profile tags do not
1915
+ # propagate to any other resources associated with the Fargate
1876
1916
  # profile, such as the pods that are scheduled with it.
1877
1917
  # @return [Hash<String,String>]
1878
1918
  #
@@ -2118,7 +2158,7 @@ module Aws::EKS
2118
2158
  #
2119
2159
  #
2120
2160
  # [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
2161
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html
2122
2162
  # @return [String]
2123
2163
  #
2124
2164
  # @!attribute [rw] message
@@ -2157,7 +2197,7 @@ module Aws::EKS
2157
2197
  # meet the following requirements:
2158
2198
  #
2159
2199
  # * 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.
2200
+ # 172.16.0.0/12, or 192.168.0.0/16.
2161
2201
  #
2162
2202
  # * Doesn't overlap with any CIDR block assigned to the VPC that you
2163
2203
  # selected for VPC.
@@ -2357,8 +2397,10 @@ module Aws::EKS
2357
2397
  # @return [String]
2358
2398
  #
2359
2399
  # @!attribute [rw] include
2360
- # Indicates whether connected clusters are included in the returned
2361
- # list. Default value is 'ALL'.
2400
+ # Indicates whether external clusters are included in the returned
2401
+ # list. Use '`all`' to return connected clusters, or blank to return
2402
+ # only Amazon EKS clusters. '`all`' must be in lowercase otherwise
2403
+ # an error occurs.
2362
2404
  # @return [Array<String>]
2363
2405
  #
2364
2406
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClustersRequest AWS API Documentation
@@ -2879,10 +2921,10 @@ module Aws::EKS
2879
2921
  #
2880
2922
  # @!attribute [rw] tags
2881
2923
  # The metadata applied to the node group to assist with categorization
2882
- # and organization. Each tag consists of a key and an optional value,
2883
- # both of which you define. Node group tags do not propagate to any
2884
- # other resources associated with the node group, such as the Amazon
2885
- # EC2 instances or subnets.
2924
+ # and organization. Each tag consists of a key and an optional value.
2925
+ # You define both. Node group tags do not propagate to any other
2926
+ # resources associated with the node group, such as the Amazon EC2
2927
+ # instances or subnets.
2886
2928
  # @return [Hash<String,String>]
2887
2929
  #
2888
2930
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Nodegroup AWS API Documentation
@@ -2983,6 +3025,26 @@ module Aws::EKS
2983
3025
  # @!attribute [rw] desired_size
2984
3026
  # The current number of nodes that the managed node group should
2985
3027
  # maintain.
3028
+ #
3029
+ # If you use Cluster Autoscaler, you shouldn't change the desiredSize
3030
+ # value directly, as this can cause the Cluster Autoscaler to suddenly
3031
+ # scale up or scale down.
3032
+ #
3033
+ # Whenever this parameter changes, the number of worker nodes in the
3034
+ # node group is updated to the specified size. If this parameter is
3035
+ # given a value that is smaller than the current number of running
3036
+ # worker nodes, the necessary number of worker nodes are terminated to
3037
+ # match the given value. When using CloudFormation, no action occurs
3038
+ # if you remove this parameter from your CFN template.
3039
+ #
3040
+ # This parameter can be different from minSize in some cases, such as
3041
+ # when starting with extra hosts for testing. This parameter can also
3042
+ # be different when you want to start with an estimated number of
3043
+ # needed hosts, but let Cluster Autoscaler reduce the number if there
3044
+ # are too many. When Cluster Autoscaler is used, the desiredSize
3045
+ # parameter is altered by Cluster Autoscaler (but can be out-of-date
3046
+ # for short periods of time). Cluster Autoscaler doesn't scale a
3047
+ # managed node group lower than minSize or higher than maxSize.
2986
3048
  # @return [Integer]
2987
3049
  #
2988
3050
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/NodegroupScalingConfig AWS API Documentation
@@ -3116,7 +3178,7 @@ module Aws::EKS
3116
3178
  # @!attribute [rw] tags
3117
3179
  # The metadata to apply to the provider configuration to assist with
3118
3180
  # categorization and organization. Each tag consists of a key and an
3119
- # optional value, both of which you defined.
3181
+ # optional value. You define both.
3120
3182
  # @return [Hash<String,String>]
3121
3183
  #
3122
3184
  # @!attribute [rw] status
@@ -3283,10 +3345,13 @@ module Aws::EKS
3283
3345
  # provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
3284
3346
  # },
3285
3347
  # client_request_token: "String",
3348
+ # tags: {
3349
+ # "TagKey" => "TagValue",
3350
+ # },
3286
3351
  # }
3287
3352
  #
3288
3353
  # @!attribute [rw] name
3289
- # Define a unique name for this cluster within your AWS account.
3354
+ # Define a unique name for this cluster for your Region.
3290
3355
  # @return [String]
3291
3356
  #
3292
3357
  # @!attribute [rw] connector_config
@@ -3302,12 +3367,20 @@ module Aws::EKS
3302
3367
  # not need to pass this option.
3303
3368
  # @return [String]
3304
3369
  #
3370
+ # @!attribute [rw] tags
3371
+ # The metadata that you apply to the cluster to assist with
3372
+ # categorization and organization. Each tag consists of a key and an
3373
+ # optional value, both of which you define. Cluster tags do not
3374
+ # propagate to any other resources associated with the cluster.
3375
+ # @return [Hash<String,String>]
3376
+ #
3305
3377
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterClusterRequest AWS API Documentation
3306
3378
  #
3307
3379
  class RegisterClusterRequest < Struct.new(
3308
3380
  :name,
3309
3381
  :connector_config,
3310
- :client_request_token)
3382
+ :client_request_token,
3383
+ :tags)
3311
3384
  SENSITIVE = []
3312
3385
  include Aws::Structure
3313
3386
  end
@@ -3453,6 +3526,20 @@ module Aws::EKS
3453
3526
  include Aws::Structure
3454
3527
  end
3455
3528
 
3529
+ # Required resources (such as Service Linked Roles) were created and are
3530
+ # still propagating. Retry later.
3531
+ #
3532
+ # @!attribute [rw] message
3533
+ # @return [String]
3534
+ #
3535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ResourcePropagationDelayException AWS API Documentation
3536
+ #
3537
+ class ResourcePropagationDelayException < Struct.new(
3538
+ :message)
3539
+ SENSITIVE = []
3540
+ include Aws::Structure
3541
+ end
3542
+
3456
3543
  # These errors are usually caused by a server-side issue.
3457
3544
  #
3458
3545
  # @!attribute [rw] cluster_name
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.64.0'
52
+ GEM_VERSION = '1.68.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.64.0
4
+ version: 1.68.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.121.2
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.121.2
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement