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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cefb830600eab2752bdf056b604bc175a46947488c82f77ef1337b259de8d618
4
- data.tar.gz: 2b477c74629d652372ae21e87899d794679a80a5d0c99d0f0f514d7d103d4f61
3
+ metadata.gz: af509bc2a8313c44806d09a6fc36dd18e2f6bd6dec8cc268c91cab5823f268c8
4
+ data.tar.gz: 7c6c4a2ae8fc7f7a3dbb4dae15ab112ebe3c5a837faf4a496d2464348189de98
5
5
  SHA512:
6
- metadata.gz: 32636287a9a50140a88211baabf716ee415ff4b225862f5190089b42edeb1a962d5e63e7e3eda9f5a60a0e93d404719855110b3cb4e3202043d967fd3e7d2905
7
- data.tar.gz: 876e4ecf669b77ecafbbd7101dc07e3b6fc061fde56a2d435f9c445a6fc824894873cf324786913caf185221db6a569fb8e55a1d231b8f4a8f4a98889d91e855
6
+ metadata.gz: 523d5bfb07682978aff6d383b5d1de957d9a03ba974d998c2d77fb8133982496a13052583186d630635c1a720dc310264e82de49537f5f9eab81bcb14c45fcf3
7
+ data.tar.gz: c2b1cd71d9a1f12696db1e99cde8742846a41a3aefed5efb2f6a230c4cd356678a1bae06b93ae1b88cb852435363a54ddf9b8004b988c62215e428489defa278
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.67.0 (2021-11-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.68.0
@@ -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, both of which you define.
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, both
556
- # of which you define.
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 via the Amazon EKS API server endpoint.
609
- # 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
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 via the Kubernetes API server
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
- # Cluster creation typically takes several minutes. After you create an
624
- # Amazon EKS cluster, you must configure your Kubernetes tooling to
625
- # communicate with the API server and launch nodes into your cluster.
626
- # For more information, see [Managing Cluster Authentication][1] and
627
- # [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*.
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. Amazon EKS
654
- # VPC resources have specific requirements to work properly with
655
- # Kubernetes. For more information, see [Cluster VPC Considerations][1]
656
- # and [Cluster Security Group Considerations][2] in the *Amazon EKS User
657
- # Guide*. You must specify at least two subnets. You can specify up to
658
- # five security groups, but we recommend that you use a dedicated
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, both
697
- # of which you define.
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, both of which you define. Fargate profile tags do not
900
- # propagate to any other resources associated with the Fargate profile,
901
- # 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.
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
- # both of which you define. Node group tags do not propagate to any
1083
- # 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
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 connected clusters are included in the returned
2219
- # 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.
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.67.0'
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|
@@ -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
@@ -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, both of which you define. Add-on tags do not
81
- # 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.
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, both of which you define.
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, both of which you define. Cluster tags do not
477
- # 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.
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
- # both of which you define.
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. Amazon EKS
771
- # VPC resources have specific requirements to work properly with
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, but we recommend that
776
- # 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.
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
- # both of which you define.
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, both of which you define. Fargate profile tags do
922
- # 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
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, both of which you define. Node group tags do not
1122
- # propagate to any other resources associated with the node group,
1123
- # 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.
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, both of which you define. Fargate profile tags do
1914
- # 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
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 connected clusters are included in the returned
2400
- # 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.
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
- # both of which you define. Node group tags do not propagate to any
2923
- # other resources associated with the node group, such as the Amazon
2924
- # 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.
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, both of which you defined.
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
@@ -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.67.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.67.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-11-15 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