aws-sdk-eks 1.67.0 → 1.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +32 -29
- data/lib/aws-sdk-eks/client_api.rb +6 -0
- data/lib/aws-sdk-eks/errors.rb +16 -0
- data/lib/aws-sdk-eks/types.rb +45 -28
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af509bc2a8313c44806d09a6fc36dd18e2f6bd6dec8cc268c91cab5823f268c8
|
4
|
+
data.tar.gz: 7c6c4a2ae8fc7f7a3dbb4dae15ab112ebe3c5a837faf4a496d2464348189de98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 523d5bfb07682978aff6d383b5d1de957d9a03ba974d998c2d77fb8133982496a13052583186d630635c1a720dc310264e82de49537f5f9eab81bcb14c45fcf3
|
7
|
+
data.tar.gz: c2b1cd71d9a1f12696db1e99cde8742846a41a3aefed5efb2f6a230c4cd356678a1bae06b93ae1b88cb852435363a54ddf9b8004b988c62215e428489defa278
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -424,7 +424,7 @@ module Aws::EKS
|
|
424
424
|
# @option params [Hash<String,String>] :tags
|
425
425
|
# The metadata to apply to the configuration to assist with
|
426
426
|
# categorization and organization. Each tag consists of a key and an
|
427
|
-
# optional value
|
427
|
+
# optional value. You define both.
|
428
428
|
#
|
429
429
|
# @option params [String] :client_request_token
|
430
430
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -552,8 +552,8 @@ module Aws::EKS
|
|
552
552
|
#
|
553
553
|
# @option params [Hash<String,String>] :tags
|
554
554
|
# The metadata to apply to the cluster to assist with categorization and
|
555
|
-
# organization. Each tag consists of a key and an optional value
|
556
|
-
#
|
555
|
+
# organization. Each tag consists of a key and an optional value. You
|
556
|
+
# define both.
|
557
557
|
#
|
558
558
|
# @return [Types::CreateAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
559
559
|
#
|
@@ -605,8 +605,8 @@ module Aws::EKS
|
|
605
605
|
# The Amazon EKS control plane consists of control plane instances that
|
606
606
|
# run the Kubernetes software, such as `etcd` and the API server. The
|
607
607
|
# control plane runs in an account managed by Amazon Web Services, and
|
608
|
-
# the Kubernetes API is exposed
|
609
|
-
# Each Amazon EKS cluster control plane is single
|
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
|
610
610
|
# runs on its own set of Amazon EC2 instances.
|
611
611
|
#
|
612
612
|
# The cluster control plane is provisioned across multiple Availability
|
@@ -617,14 +617,15 @@ module Aws::EKS
|
|
617
617
|
# data flows).
|
618
618
|
#
|
619
619
|
# Amazon EKS nodes run in your Amazon Web Services account and connect
|
620
|
-
# to your cluster's control plane
|
620
|
+
# to your cluster's control plane over the Kubernetes API server
|
621
621
|
# endpoint and a certificate file that is created for your cluster.
|
622
622
|
#
|
623
|
-
#
|
624
|
-
# Amazon EKS cluster, you must configure your Kubernetes
|
625
|
-
# communicate with the API server and launch nodes into your
|
626
|
-
# For more information, see [Managing Cluster
|
627
|
-
# [Launching Amazon EKS nodes][2] in the *Amazon
|
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*.
|
628
629
|
#
|
629
630
|
#
|
630
631
|
#
|
@@ -650,13 +651,13 @@ module Aws::EKS
|
|
650
651
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
|
651
652
|
#
|
652
653
|
# @option params [required, Types::VpcConfigRequest] :resources_vpc_config
|
653
|
-
# The VPC configuration used by the cluster control plane.
|
654
|
-
# VPC resources have specific requirements to work properly
|
655
|
-
# Kubernetes. For more information, see [Cluster VPC
|
656
|
-
# and [Cluster Security Group Considerations][2] in
|
657
|
-
# Guide*. You must specify at least two subnets.
|
658
|
-
# five security groups,
|
659
|
-
# 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.
|
660
661
|
#
|
661
662
|
#
|
662
663
|
#
|
@@ -693,8 +694,8 @@ module Aws::EKS
|
|
693
694
|
#
|
694
695
|
# @option params [Hash<String,String>] :tags
|
695
696
|
# The metadata to apply to the cluster to assist with categorization and
|
696
|
-
# organization. Each tag consists of a key and an optional value
|
697
|
-
#
|
697
|
+
# organization. Each tag consists of a key and an optional value. You
|
698
|
+
# define both.
|
698
699
|
#
|
699
700
|
# @option params [Array<Types::EncryptionConfig>] :encryption_config
|
700
701
|
# The encryption configuration for the cluster.
|
@@ -896,9 +897,9 @@ module Aws::EKS
|
|
896
897
|
# @option params [Hash<String,String>] :tags
|
897
898
|
# The metadata to apply to the Fargate profile to assist with
|
898
899
|
# categorization and organization. Each tag consists of a key and an
|
899
|
-
# optional value
|
900
|
-
#
|
901
|
-
#
|
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.
|
902
903
|
#
|
903
904
|
# @return [Types::CreateFargateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
904
905
|
#
|
@@ -1078,9 +1079,9 @@ module Aws::EKS
|
|
1078
1079
|
#
|
1079
1080
|
# @option params [Hash<String,String>] :tags
|
1080
1081
|
# The metadata to apply to the node group to assist with categorization
|
1081
|
-
# and organization. Each tag consists of a key and an optional value
|
1082
|
-
#
|
1083
|
-
#
|
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
|
1084
1085
|
# instances or subnets.
|
1085
1086
|
#
|
1086
1087
|
# @option params [String] :client_request_token
|
@@ -2215,8 +2216,10 @@ module Aws::EKS
|
|
2215
2216
|
# </note>
|
2216
2217
|
#
|
2217
2218
|
# @option params [Array<String>] :include
|
2218
|
-
# Indicates whether
|
2219
|
-
#
|
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.
|
2220
2223
|
#
|
2221
2224
|
# @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2222
2225
|
#
|
@@ -3231,7 +3234,7 @@ module Aws::EKS
|
|
3231
3234
|
params: params,
|
3232
3235
|
config: config)
|
3233
3236
|
context[:gem_name] = 'aws-sdk-eks'
|
3234
|
-
context[:gem_version] = '1.
|
3237
|
+
context[:gem_version] = '1.68.0'
|
3235
3238
|
Seahorse::Client::Request.new(handlers, context)
|
3236
3239
|
end
|
3237
3240
|
|
@@ -150,6 +150,7 @@ module Aws::EKS
|
|
150
150
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
151
151
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
152
152
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
153
|
+
ResourcePropagationDelayException = Shapes::StructureShape.new(name: 'ResourcePropagationDelayException')
|
153
154
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
154
155
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
155
156
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
@@ -723,6 +724,9 @@ module Aws::EKS
|
|
723
724
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
724
725
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
725
726
|
|
727
|
+
ResourcePropagationDelayException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
728
|
+
ResourcePropagationDelayException.struct_class = Types::ResourcePropagationDelayException
|
729
|
+
|
726
730
|
ServerException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
727
731
|
ServerException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
728
732
|
ServerException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
@@ -1272,6 +1276,8 @@ module Aws::EKS
|
|
1272
1276
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1273
1277
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1274
1278
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourcePropagationDelayException)
|
1275
1281
|
end)
|
1276
1282
|
|
1277
1283
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-eks/errors.rb
CHANGED
@@ -36,6 +36,7 @@ module Aws::EKS
|
|
36
36
|
# * {ResourceInUseException}
|
37
37
|
# * {ResourceLimitExceededException}
|
38
38
|
# * {ResourceNotFoundException}
|
39
|
+
# * {ResourcePropagationDelayException}
|
39
40
|
# * {ServerException}
|
40
41
|
# * {ServiceUnavailableException}
|
41
42
|
# * {UnsupportedAvailabilityZoneException}
|
@@ -276,6 +277,21 @@ module Aws::EKS
|
|
276
277
|
end
|
277
278
|
end
|
278
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
|
+
|
279
295
|
class ServerException < ServiceError
|
280
296
|
|
281
297
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -77,8 +77,8 @@ module Aws::EKS
|
|
77
77
|
# @!attribute [rw] tags
|
78
78
|
# The metadata that you apply to the add-on to assist with
|
79
79
|
# categorization and organization. Each tag consists of a key and an
|
80
|
-
# optional value
|
81
|
-
#
|
80
|
+
# optional value. You define both. Add-on tags do not propagate to any
|
81
|
+
# other resources associated with the cluster.
|
82
82
|
# @return [Hash<String,String>]
|
83
83
|
#
|
84
84
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Addon AWS API Documentation
|
@@ -276,7 +276,7 @@ module Aws::EKS
|
|
276
276
|
# @!attribute [rw] tags
|
277
277
|
# The metadata to apply to the configuration to assist with
|
278
278
|
# categorization and organization. Each tag consists of a key and an
|
279
|
-
# optional value
|
279
|
+
# optional value. You define both.
|
280
280
|
# @return [Hash<String,String>]
|
281
281
|
#
|
282
282
|
# @!attribute [rw] client_request_token
|
@@ -473,8 +473,8 @@ module Aws::EKS
|
|
473
473
|
# @!attribute [rw] tags
|
474
474
|
# The metadata that you apply to the cluster to assist with
|
475
475
|
# categorization and organization. Each tag consists of a key and an
|
476
|
-
# optional value
|
477
|
-
#
|
476
|
+
# optional value. You define both. Cluster tags do not propagate to
|
477
|
+
# any other resources associated with the cluster.
|
478
478
|
# @return [Hash<String,String>]
|
479
479
|
#
|
480
480
|
# @!attribute [rw] encryption_config
|
@@ -670,8 +670,8 @@ module Aws::EKS
|
|
670
670
|
#
|
671
671
|
# @!attribute [rw] tags
|
672
672
|
# The metadata to apply to the cluster to assist with categorization
|
673
|
-
# and organization. Each tag consists of a key and an optional value
|
674
|
-
#
|
673
|
+
# and organization. Each tag consists of a key and an optional value.
|
674
|
+
# You define both.
|
675
675
|
# @return [Hash<String,String>]
|
676
676
|
#
|
677
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddonRequest AWS API Documentation
|
@@ -767,13 +767,14 @@ module Aws::EKS
|
|
767
767
|
# @return [String]
|
768
768
|
#
|
769
769
|
# @!attribute [rw] resources_vpc_config
|
770
|
-
# The VPC configuration used by the cluster control plane.
|
771
|
-
# VPC resources have specific requirements to work properly
|
772
|
-
# 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
|
773
773
|
# Considerations][1] and [Cluster Security Group Considerations][2] in
|
774
774
|
# the *Amazon EKS User Guide*. You must specify at least two subnets.
|
775
|
-
# You can specify up to five security groups,
|
776
|
-
# 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.
|
777
778
|
#
|
778
779
|
#
|
779
780
|
#
|
@@ -814,8 +815,8 @@ module Aws::EKS
|
|
814
815
|
#
|
815
816
|
# @!attribute [rw] tags
|
816
817
|
# The metadata to apply to the cluster to assist with categorization
|
817
|
-
# and organization. Each tag consists of a key and an optional value
|
818
|
-
#
|
818
|
+
# and organization. Each tag consists of a key and an optional value.
|
819
|
+
# You define both.
|
819
820
|
# @return [Hash<String,String>]
|
820
821
|
#
|
821
822
|
# @!attribute [rw] encryption_config
|
@@ -918,8 +919,8 @@ module Aws::EKS
|
|
918
919
|
# @!attribute [rw] tags
|
919
920
|
# The metadata to apply to the Fargate profile to assist with
|
920
921
|
# categorization and organization. Each tag consists of a key and an
|
921
|
-
# optional value
|
922
|
-
#
|
922
|
+
# optional value. You define both. Fargate profile tags do not
|
923
|
+
# propagate to any other resources associated with the Fargate
|
923
924
|
# profile, such as the pods that are scheduled with it.
|
924
925
|
# @return [Hash<String,String>]
|
925
926
|
#
|
@@ -1118,9 +1119,9 @@ module Aws::EKS
|
|
1118
1119
|
# @!attribute [rw] tags
|
1119
1120
|
# The metadata to apply to the node group to assist with
|
1120
1121
|
# categorization and organization. Each tag consists of a key and an
|
1121
|
-
# optional value
|
1122
|
-
#
|
1123
|
-
#
|
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.
|
1124
1125
|
# @return [Hash<String,String>]
|
1125
1126
|
#
|
1126
1127
|
# @!attribute [rw] client_request_token
|
@@ -1910,8 +1911,8 @@ module Aws::EKS
|
|
1910
1911
|
# @!attribute [rw] tags
|
1911
1912
|
# The metadata applied to the Fargate profile to assist with
|
1912
1913
|
# categorization and organization. Each tag consists of a key and an
|
1913
|
-
# optional value
|
1914
|
-
#
|
1914
|
+
# optional value. You define both. Fargate profile tags do not
|
1915
|
+
# propagate to any other resources associated with the Fargate
|
1915
1916
|
# profile, such as the pods that are scheduled with it.
|
1916
1917
|
# @return [Hash<String,String>]
|
1917
1918
|
#
|
@@ -2396,8 +2397,10 @@ module Aws::EKS
|
|
2396
2397
|
# @return [String]
|
2397
2398
|
#
|
2398
2399
|
# @!attribute [rw] include
|
2399
|
-
# Indicates whether
|
2400
|
-
# 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.
|
2401
2404
|
# @return [Array<String>]
|
2402
2405
|
#
|
2403
2406
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClustersRequest AWS API Documentation
|
@@ -2918,10 +2921,10 @@ module Aws::EKS
|
|
2918
2921
|
#
|
2919
2922
|
# @!attribute [rw] tags
|
2920
2923
|
# The metadata applied to the node group to assist with categorization
|
2921
|
-
# and organization. Each tag consists of a key and an optional value
|
2922
|
-
#
|
2923
|
-
#
|
2924
|
-
#
|
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.
|
2925
2928
|
# @return [Hash<String,String>]
|
2926
2929
|
#
|
2927
2930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Nodegroup AWS API Documentation
|
@@ -3175,7 +3178,7 @@ module Aws::EKS
|
|
3175
3178
|
# @!attribute [rw] tags
|
3176
3179
|
# The metadata to apply to the provider configuration to assist with
|
3177
3180
|
# categorization and organization. Each tag consists of a key and an
|
3178
|
-
# optional value
|
3181
|
+
# optional value. You define both.
|
3179
3182
|
# @return [Hash<String,String>]
|
3180
3183
|
#
|
3181
3184
|
# @!attribute [rw] status
|
@@ -3523,6 +3526,20 @@ module Aws::EKS
|
|
3523
3526
|
include Aws::Structure
|
3524
3527
|
end
|
3525
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
|
+
|
3526
3543
|
# These errors are usually caused by a server-side issue.
|
3527
3544
|
#
|
3528
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.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-11-
|
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
|