aws-sdk-eks 1.65.0 → 1.69.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +65 -37
- data/lib/aws-sdk-eks/client_api.rb +13 -0
- data/lib/aws-sdk-eks/errors.rb +32 -0
- data/lib/aws-sdk-eks/types.rb +126 -39
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90e1f6a995ab13a5c57119121d0b253b4cc0d383cbf020a7ca5745a56af2ee25
|
|
4
|
+
data.tar.gz: 46cf63f7fd910311825e13bb4b569df42f21f8ffa091617c2b459409f0056f61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99beef4d76625006cbcf9713784c7e42be1995026ad237a03e8f44d5341e3ec5bb56a0194bdff0249a48b0d3b1a9da44799c633519f0d34443dd81912aa78e6a
|
|
7
|
+
data.tar.gz: 732c7b5cc33d6976d1a7f6263fcdc80c5132379b5b5290c04edc57c983d3f7e58fd735e8d70d93b746c89051028daa969eabc6cab439ae0bf1256785ce970db7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.69.0 (2021-11-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.68.0 (2021-11-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adding missing exceptions to RegisterCluster operation
|
|
13
|
+
|
|
14
|
+
1.67.0 (2021-11-15)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Adding Tags support to Cluster Registrations.
|
|
18
|
+
|
|
19
|
+
1.66.0 (2021-11-04)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
23
|
+
|
|
4
24
|
1.65.0 (2021-10-27)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.69.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
|
@@ -119,7 +119,9 @@ module Aws::EKS
|
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
|
122
|
-
# enable retries and extended timeouts.
|
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
|
124
|
+
# to true.
|
|
123
125
|
#
|
|
124
126
|
# @option options [required, String] :region
|
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -275,6 +277,15 @@ module Aws::EKS
|
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
276
278
|
# requests are made, and retries are disabled.
|
|
277
279
|
#
|
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
282
|
+
# will be used if available.
|
|
283
|
+
#
|
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
287
|
+
# is set to `true`.
|
|
288
|
+
#
|
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
|
279
290
|
# When `true`, request parameters are validated before
|
|
280
291
|
# sending the request.
|
|
@@ -415,7 +426,7 @@ module Aws::EKS
|
|
|
415
426
|
# @option params [Hash<String,String>] :tags
|
|
416
427
|
# The metadata to apply to the configuration to assist with
|
|
417
428
|
# categorization and organization. Each tag consists of a key and an
|
|
418
|
-
# optional value
|
|
429
|
+
# optional value. You define both.
|
|
419
430
|
#
|
|
420
431
|
# @option params [String] :client_request_token
|
|
421
432
|
# Unique, case-sensitive identifier that you provide to ensure the
|
|
@@ -481,10 +492,15 @@ module Aws::EKS
|
|
|
481
492
|
#
|
|
482
493
|
# Amazon EKS add-ons help to automate the provisioning and lifecycle
|
|
483
494
|
# management of common operational software for Amazon EKS clusters.
|
|
484
|
-
# Amazon EKS add-ons
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
#
|
|
495
|
+
# Amazon EKS add-ons require clusters running version 1.18 or later
|
|
496
|
+
# because Amazon EKS add-ons rely on the Server-side Apply Kubernetes
|
|
497
|
+
# feature, which is only available in Kubernetes 1.18 and later. For
|
|
498
|
+
# more information, see [Amazon EKS add-ons][1] in the *Amazon EKS User
|
|
499
|
+
# Guide*.
|
|
500
|
+
#
|
|
501
|
+
#
|
|
502
|
+
#
|
|
503
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
488
504
|
#
|
|
489
505
|
# @option params [required, String] :cluster_name
|
|
490
506
|
# The name of the cluster to create the add-on for.
|
|
@@ -538,8 +554,8 @@ module Aws::EKS
|
|
|
538
554
|
#
|
|
539
555
|
# @option params [Hash<String,String>] :tags
|
|
540
556
|
# The metadata to apply to the cluster to assist with categorization and
|
|
541
|
-
# organization. Each tag consists of a key and an optional value
|
|
542
|
-
#
|
|
557
|
+
# organization. Each tag consists of a key and an optional value. You
|
|
558
|
+
# define both.
|
|
543
559
|
#
|
|
544
560
|
# @return [Types::CreateAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
545
561
|
#
|
|
@@ -591,8 +607,8 @@ module Aws::EKS
|
|
|
591
607
|
# The Amazon EKS control plane consists of control plane instances that
|
|
592
608
|
# run the Kubernetes software, such as `etcd` and the API server. The
|
|
593
609
|
# control plane runs in an account managed by Amazon Web Services, and
|
|
594
|
-
# the Kubernetes API is exposed
|
|
595
|
-
# Each Amazon EKS cluster control plane is single
|
|
610
|
+
# the Kubernetes API is exposed by the Amazon EKS API server endpoint.
|
|
611
|
+
# Each Amazon EKS cluster control plane is single tenant and unique. It
|
|
596
612
|
# runs on its own set of Amazon EC2 instances.
|
|
597
613
|
#
|
|
598
614
|
# The cluster control plane is provisioned across multiple Availability
|
|
@@ -603,14 +619,15 @@ module Aws::EKS
|
|
|
603
619
|
# data flows).
|
|
604
620
|
#
|
|
605
621
|
# Amazon EKS nodes run in your Amazon Web Services account and connect
|
|
606
|
-
# to your cluster's control plane
|
|
622
|
+
# to your cluster's control plane over the Kubernetes API server
|
|
607
623
|
# endpoint and a certificate file that is created for your cluster.
|
|
608
624
|
#
|
|
609
|
-
#
|
|
610
|
-
# Amazon EKS cluster, you must configure your Kubernetes
|
|
611
|
-
# communicate with the API server and launch nodes into your
|
|
612
|
-
# For more information, see [Managing Cluster
|
|
613
|
-
# [Launching Amazon EKS nodes][2] in the *Amazon
|
|
625
|
+
# In most cases, it takes several minutes to create a cluster. After you
|
|
626
|
+
# create an Amazon EKS cluster, you must configure your Kubernetes
|
|
627
|
+
# tooling to communicate with the API server and launch nodes into your
|
|
628
|
+
# cluster. For more information, see [Managing Cluster
|
|
629
|
+
# Authentication][1] and [Launching Amazon EKS nodes][2] in the *Amazon
|
|
630
|
+
# EKS User Guide*.
|
|
614
631
|
#
|
|
615
632
|
#
|
|
616
633
|
#
|
|
@@ -636,13 +653,13 @@ module Aws::EKS
|
|
|
636
653
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
|
|
637
654
|
#
|
|
638
655
|
# @option params [required, Types::VpcConfigRequest] :resources_vpc_config
|
|
639
|
-
# The VPC configuration used by the cluster control plane.
|
|
640
|
-
# VPC resources have specific requirements to work properly
|
|
641
|
-
# Kubernetes. For more information, see [Cluster VPC
|
|
642
|
-
# and [Cluster Security Group Considerations][2] in
|
|
643
|
-
# Guide*. You must specify at least two subnets.
|
|
644
|
-
# five security groups,
|
|
645
|
-
# security group for your cluster control plane.
|
|
656
|
+
# The VPC configuration that's used by the cluster control plane.
|
|
657
|
+
# Amazon EKS VPC resources have specific requirements to work properly
|
|
658
|
+
# with Kubernetes. For more information, see [Cluster VPC
|
|
659
|
+
# Considerations][1] and [Cluster Security Group Considerations][2] in
|
|
660
|
+
# the *Amazon EKS User Guide*. You must specify at least two subnets.
|
|
661
|
+
# You can specify up to five security groups. However, we recommend that
|
|
662
|
+
# you use a dedicated security group for your cluster control plane.
|
|
646
663
|
#
|
|
647
664
|
#
|
|
648
665
|
#
|
|
@@ -679,8 +696,8 @@ module Aws::EKS
|
|
|
679
696
|
#
|
|
680
697
|
# @option params [Hash<String,String>] :tags
|
|
681
698
|
# The metadata to apply to the cluster to assist with categorization and
|
|
682
|
-
# organization. Each tag consists of a key and an optional value
|
|
683
|
-
#
|
|
699
|
+
# organization. Each tag consists of a key and an optional value. You
|
|
700
|
+
# define both.
|
|
684
701
|
#
|
|
685
702
|
# @option params [Array<Types::EncryptionConfig>] :encryption_config
|
|
686
703
|
# The encryption configuration for the cluster.
|
|
@@ -882,9 +899,9 @@ module Aws::EKS
|
|
|
882
899
|
# @option params [Hash<String,String>] :tags
|
|
883
900
|
# The metadata to apply to the Fargate profile to assist with
|
|
884
901
|
# categorization and organization. Each tag consists of a key and an
|
|
885
|
-
# optional value
|
|
886
|
-
#
|
|
887
|
-
#
|
|
902
|
+
# optional value. You define both. Fargate profile tags do not propagate
|
|
903
|
+
# to any other resources associated with the Fargate profile, such as
|
|
904
|
+
# the pods that are scheduled with it.
|
|
888
905
|
#
|
|
889
906
|
# @return [Types::CreateFargateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
890
907
|
#
|
|
@@ -1064,9 +1081,9 @@ module Aws::EKS
|
|
|
1064
1081
|
#
|
|
1065
1082
|
# @option params [Hash<String,String>] :tags
|
|
1066
1083
|
# 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
|
-
#
|
|
1069
|
-
#
|
|
1084
|
+
# and organization. Each tag consists of a key and an optional value.
|
|
1085
|
+
# You define both. Node group tags do not propagate to any other
|
|
1086
|
+
# resources associated with the node group, such as the Amazon EC2
|
|
1070
1087
|
# instances or subnets.
|
|
1071
1088
|
#
|
|
1072
1089
|
# @option params [String] :client_request_token
|
|
@@ -2201,8 +2218,10 @@ module Aws::EKS
|
|
|
2201
2218
|
# </note>
|
|
2202
2219
|
#
|
|
2203
2220
|
# @option params [Array<String>] :include
|
|
2204
|
-
# Indicates whether
|
|
2205
|
-
#
|
|
2221
|
+
# Indicates whether external clusters are included in the returned list.
|
|
2222
|
+
# Use '`all`' to return connected clusters, or blank to return only
|
|
2223
|
+
# Amazon EKS clusters. '`all`' must be in lowercase otherwise an error
|
|
2224
|
+
# occurs.
|
|
2206
2225
|
#
|
|
2207
2226
|
# @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2208
2227
|
#
|
|
@@ -2536,15 +2555,15 @@ module Aws::EKS
|
|
|
2536
2555
|
#
|
|
2537
2556
|
# After the Manifest is updated and applied, then the connected cluster
|
|
2538
2557
|
# is visible to the Amazon EKS control plane. If the Manifest is not
|
|
2539
|
-
# applied within
|
|
2540
|
-
#
|
|
2558
|
+
# applied within three days, then the connected cluster will no longer
|
|
2559
|
+
# be visible and must be deregistered. See DeregisterCluster.
|
|
2541
2560
|
#
|
|
2542
2561
|
#
|
|
2543
2562
|
#
|
|
2544
2563
|
# [1]: https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml
|
|
2545
2564
|
#
|
|
2546
2565
|
# @option params [required, String] :name
|
|
2547
|
-
# Define a unique name for this cluster
|
|
2566
|
+
# Define a unique name for this cluster for your Region.
|
|
2548
2567
|
#
|
|
2549
2568
|
# @option params [required, Types::ConnectorConfigRequest] :connector_config
|
|
2550
2569
|
# The configuration settings required to connect the Kubernetes cluster
|
|
@@ -2557,6 +2576,12 @@ module Aws::EKS
|
|
|
2557
2576
|
# **A suitable default value is auto-generated.** You should normally
|
|
2558
2577
|
# not need to pass this option.**
|
|
2559
2578
|
#
|
|
2579
|
+
# @option params [Hash<String,String>] :tags
|
|
2580
|
+
# The metadata that you apply to the cluster to assist with
|
|
2581
|
+
# categorization and organization. Each tag consists of a key and an
|
|
2582
|
+
# optional value, both of which you define. Cluster tags do not
|
|
2583
|
+
# propagate to any other resources associated with the cluster.
|
|
2584
|
+
#
|
|
2560
2585
|
# @return [Types::RegisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2561
2586
|
#
|
|
2562
2587
|
# * {Types::RegisterClusterResponse#cluster #cluster} => Types::Cluster
|
|
@@ -2570,6 +2595,9 @@ module Aws::EKS
|
|
|
2570
2595
|
# provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
|
|
2571
2596
|
# },
|
|
2572
2597
|
# client_request_token: "String",
|
|
2598
|
+
# tags: {
|
|
2599
|
+
# "TagKey" => "TagValue",
|
|
2600
|
+
# },
|
|
2573
2601
|
# })
|
|
2574
2602
|
#
|
|
2575
2603
|
# @example Response structure
|
|
@@ -3208,7 +3236,7 @@ module Aws::EKS
|
|
|
3208
3236
|
params: params,
|
|
3209
3237
|
config: config)
|
|
3210
3238
|
context[:gem_name] = 'aws-sdk-eks'
|
|
3211
|
-
context[:gem_version] = '1.
|
|
3239
|
+
context[:gem_version] = '1.69.0'
|
|
3212
3240
|
Seahorse::Client::Request.new(handlers, context)
|
|
3213
3241
|
end
|
|
3214
3242
|
|
|
@@ -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|
|
data/lib/aws-sdk-eks/errors.rb
CHANGED
|
@@ -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
|
data/lib/aws-sdk-eks/types.rb
CHANGED
|
@@ -10,7 +10,32 @@
|
|
|
10
10
|
module Aws::EKS
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
-
#
|
|
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
|
|
56
|
-
#
|
|
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
|
|
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
|
|
452
|
-
#
|
|
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
|
|
560
|
-
#
|
|
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
|
-
#
|
|
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.
|
|
742
|
-
# VPC resources have specific requirements to work properly
|
|
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,
|
|
747
|
-
# you use a dedicated security group for your cluster control
|
|
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
|
-
#
|
|
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
|
|
893
|
-
#
|
|
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
|
#
|
|
@@ -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
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
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
|
|
1875
|
-
#
|
|
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/
|
|
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
|
|
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
|
|
2361
|
-
# list.
|
|
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
|
-
#
|
|
2884
|
-
#
|
|
2885
|
-
#
|
|
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
|
|
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
|
|
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
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.
|
|
4
|
+
version: 1.69.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
|
+
date: 2021-11-30 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.
|
|
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.
|
|
32
|
+
version: 3.122.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|