aws-sdk-eks 1.66.0 → 1.70.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 +66 -38
- 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: 5e70e1cf5ef4898d9783666f4ef7a90a8ee323bbe4eb9f8eff7137a60605ed01
|
4
|
+
data.tar.gz: 2c834024a74a35f76ee69154073c6907454ae9d2a6dbaccab2bbf9a47744b320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3d7d87cf2f623741813552e7a59d2bfa432ed11a45d54eb1b18a8539e1266599a07ae7e9084a7746000e9496ffe56ebbcfc98634e3420f19b143a97610d4202
|
7
|
+
data.tar.gz: b1e05b84d71dd2b8d7e26d02696ad89172843a32aa8f96fffc2a15cad6352018fc92c8502e33280d07348d82f7fea21061fd08ebf9a0abd2604e84407b78f087
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.69.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.68.0 (2021-11-22)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adding missing exceptions to RegisterCluster operation
|
18
|
+
|
19
|
+
1.67.0 (2021-11-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adding Tags support to Cluster Registrations.
|
23
|
+
|
4
24
|
1.66.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::EKS
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::EKS
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::EKS
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::EKS
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::EKS
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -424,7 +435,7 @@ module Aws::EKS
|
|
424
435
|
# @option params [Hash<String,String>] :tags
|
425
436
|
# The metadata to apply to the configuration to assist with
|
426
437
|
# categorization and organization. Each tag consists of a key and an
|
427
|
-
# optional value
|
438
|
+
# optional value. You define both.
|
428
439
|
#
|
429
440
|
# @option params [String] :client_request_token
|
430
441
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -490,10 +501,15 @@ module Aws::EKS
|
|
490
501
|
#
|
491
502
|
# Amazon EKS add-ons help to automate the provisioning and lifecycle
|
492
503
|
# management of common operational software for Amazon EKS clusters.
|
493
|
-
# Amazon EKS add-ons
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
504
|
+
# Amazon EKS add-ons require clusters running version 1.18 or later
|
505
|
+
# because Amazon EKS add-ons rely on the Server-side Apply Kubernetes
|
506
|
+
# feature, which is only available in Kubernetes 1.18 and later. For
|
507
|
+
# more information, see [Amazon EKS add-ons][1] in the *Amazon EKS User
|
508
|
+
# Guide*.
|
509
|
+
#
|
510
|
+
#
|
511
|
+
#
|
512
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
497
513
|
#
|
498
514
|
# @option params [required, String] :cluster_name
|
499
515
|
# The name of the cluster to create the add-on for.
|
@@ -547,8 +563,8 @@ module Aws::EKS
|
|
547
563
|
#
|
548
564
|
# @option params [Hash<String,String>] :tags
|
549
565
|
# The metadata to apply to the cluster to assist with categorization and
|
550
|
-
# organization. Each tag consists of a key and an optional value
|
551
|
-
#
|
566
|
+
# organization. Each tag consists of a key and an optional value. You
|
567
|
+
# define both.
|
552
568
|
#
|
553
569
|
# @return [Types::CreateAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
554
570
|
#
|
@@ -600,8 +616,8 @@ module Aws::EKS
|
|
600
616
|
# The Amazon EKS control plane consists of control plane instances that
|
601
617
|
# run the Kubernetes software, such as `etcd` and the API server. The
|
602
618
|
# control plane runs in an account managed by Amazon Web Services, and
|
603
|
-
# the Kubernetes API is exposed
|
604
|
-
# Each Amazon EKS cluster control plane is single
|
619
|
+
# the Kubernetes API is exposed by the Amazon EKS API server endpoint.
|
620
|
+
# Each Amazon EKS cluster control plane is single tenant and unique. It
|
605
621
|
# runs on its own set of Amazon EC2 instances.
|
606
622
|
#
|
607
623
|
# The cluster control plane is provisioned across multiple Availability
|
@@ -612,14 +628,15 @@ module Aws::EKS
|
|
612
628
|
# data flows).
|
613
629
|
#
|
614
630
|
# Amazon EKS nodes run in your Amazon Web Services account and connect
|
615
|
-
# to your cluster's control plane
|
631
|
+
# to your cluster's control plane over the Kubernetes API server
|
616
632
|
# endpoint and a certificate file that is created for your cluster.
|
617
633
|
#
|
618
|
-
#
|
619
|
-
# Amazon EKS cluster, you must configure your Kubernetes
|
620
|
-
# communicate with the API server and launch nodes into your
|
621
|
-
# For more information, see [Managing Cluster
|
622
|
-
# [Launching Amazon EKS nodes][2] in the *Amazon
|
634
|
+
# In most cases, it takes several minutes to create a cluster. After you
|
635
|
+
# create an Amazon EKS cluster, you must configure your Kubernetes
|
636
|
+
# tooling to communicate with the API server and launch nodes into your
|
637
|
+
# cluster. For more information, see [Managing Cluster
|
638
|
+
# Authentication][1] and [Launching Amazon EKS nodes][2] in the *Amazon
|
639
|
+
# EKS User Guide*.
|
623
640
|
#
|
624
641
|
#
|
625
642
|
#
|
@@ -645,13 +662,13 @@ module Aws::EKS
|
|
645
662
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
|
646
663
|
#
|
647
664
|
# @option params [required, Types::VpcConfigRequest] :resources_vpc_config
|
648
|
-
# The VPC configuration used by the cluster control plane.
|
649
|
-
# VPC resources have specific requirements to work properly
|
650
|
-
# Kubernetes. For more information, see [Cluster VPC
|
651
|
-
# and [Cluster Security Group Considerations][2] in
|
652
|
-
# Guide*. You must specify at least two subnets.
|
653
|
-
# five security groups,
|
654
|
-
# security group for your cluster control plane.
|
665
|
+
# The VPC configuration that's used by the cluster control plane.
|
666
|
+
# Amazon EKS VPC resources have specific requirements to work properly
|
667
|
+
# with Kubernetes. For more information, see [Cluster VPC
|
668
|
+
# Considerations][1] and [Cluster Security Group Considerations][2] in
|
669
|
+
# the *Amazon EKS User Guide*. You must specify at least two subnets.
|
670
|
+
# You can specify up to five security groups. However, we recommend that
|
671
|
+
# you use a dedicated security group for your cluster control plane.
|
655
672
|
#
|
656
673
|
#
|
657
674
|
#
|
@@ -688,8 +705,8 @@ module Aws::EKS
|
|
688
705
|
#
|
689
706
|
# @option params [Hash<String,String>] :tags
|
690
707
|
# The metadata to apply to the cluster to assist with categorization and
|
691
|
-
# organization. Each tag consists of a key and an optional value
|
692
|
-
#
|
708
|
+
# organization. Each tag consists of a key and an optional value. You
|
709
|
+
# define both.
|
693
710
|
#
|
694
711
|
# @option params [Array<Types::EncryptionConfig>] :encryption_config
|
695
712
|
# The encryption configuration for the cluster.
|
@@ -891,9 +908,9 @@ module Aws::EKS
|
|
891
908
|
# @option params [Hash<String,String>] :tags
|
892
909
|
# The metadata to apply to the Fargate profile to assist with
|
893
910
|
# categorization and organization. Each tag consists of a key and an
|
894
|
-
# optional value
|
895
|
-
#
|
896
|
-
#
|
911
|
+
# optional value. You define both. Fargate profile tags do not propagate
|
912
|
+
# to any other resources associated with the Fargate profile, such as
|
913
|
+
# the pods that are scheduled with it.
|
897
914
|
#
|
898
915
|
# @return [Types::CreateFargateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
899
916
|
#
|
@@ -1073,9 +1090,9 @@ module Aws::EKS
|
|
1073
1090
|
#
|
1074
1091
|
# @option params [Hash<String,String>] :tags
|
1075
1092
|
# The metadata to apply to the node group to assist with categorization
|
1076
|
-
# and organization. Each tag consists of a key and an optional value
|
1077
|
-
#
|
1078
|
-
#
|
1093
|
+
# and organization. Each tag consists of a key and an optional value.
|
1094
|
+
# You define both. Node group tags do not propagate to any other
|
1095
|
+
# resources associated with the node group, such as the Amazon EC2
|
1079
1096
|
# instances or subnets.
|
1080
1097
|
#
|
1081
1098
|
# @option params [String] :client_request_token
|
@@ -2210,8 +2227,10 @@ module Aws::EKS
|
|
2210
2227
|
# </note>
|
2211
2228
|
#
|
2212
2229
|
# @option params [Array<String>] :include
|
2213
|
-
# Indicates whether
|
2214
|
-
#
|
2230
|
+
# Indicates whether external clusters are included in the returned list.
|
2231
|
+
# Use '`all`' to return connected clusters, or blank to return only
|
2232
|
+
# Amazon EKS clusters. '`all`' must be in lowercase otherwise an error
|
2233
|
+
# occurs.
|
2215
2234
|
#
|
2216
2235
|
# @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2217
2236
|
#
|
@@ -2545,15 +2564,15 @@ module Aws::EKS
|
|
2545
2564
|
#
|
2546
2565
|
# After the Manifest is updated and applied, then the connected cluster
|
2547
2566
|
# is visible to the Amazon EKS control plane. If the Manifest is not
|
2548
|
-
# applied within
|
2549
|
-
#
|
2567
|
+
# applied within three days, then the connected cluster will no longer
|
2568
|
+
# be visible and must be deregistered. See DeregisterCluster.
|
2550
2569
|
#
|
2551
2570
|
#
|
2552
2571
|
#
|
2553
2572
|
# [1]: https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml
|
2554
2573
|
#
|
2555
2574
|
# @option params [required, String] :name
|
2556
|
-
# Define a unique name for this cluster
|
2575
|
+
# Define a unique name for this cluster for your Region.
|
2557
2576
|
#
|
2558
2577
|
# @option params [required, Types::ConnectorConfigRequest] :connector_config
|
2559
2578
|
# The configuration settings required to connect the Kubernetes cluster
|
@@ -2566,6 +2585,12 @@ module Aws::EKS
|
|
2566
2585
|
# **A suitable default value is auto-generated.** You should normally
|
2567
2586
|
# not need to pass this option.**
|
2568
2587
|
#
|
2588
|
+
# @option params [Hash<String,String>] :tags
|
2589
|
+
# The metadata that you apply to the cluster to assist with
|
2590
|
+
# categorization and organization. Each tag consists of a key and an
|
2591
|
+
# optional value, both of which you define. Cluster tags do not
|
2592
|
+
# propagate to any other resources associated with the cluster.
|
2593
|
+
#
|
2569
2594
|
# @return [Types::RegisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2570
2595
|
#
|
2571
2596
|
# * {Types::RegisterClusterResponse#cluster #cluster} => Types::Cluster
|
@@ -2579,6 +2604,9 @@ module Aws::EKS
|
|
2579
2604
|
# provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
|
2580
2605
|
# },
|
2581
2606
|
# client_request_token: "String",
|
2607
|
+
# tags: {
|
2608
|
+
# "TagKey" => "TagValue",
|
2609
|
+
# },
|
2582
2610
|
# })
|
2583
2611
|
#
|
2584
2612
|
# @example Response structure
|
@@ -3217,7 +3245,7 @@ module Aws::EKS
|
|
3217
3245
|
params: params,
|
3218
3246
|
config: config)
|
3219
3247
|
context[:gem_name] = 'aws-sdk-eks'
|
3220
|
-
context[:gem_version] = '1.
|
3248
|
+
context[:gem_version] = '1.70.0'
|
3221
3249
|
Seahorse::Client::Request.new(handlers, context)
|
3222
3250
|
end
|
3223
3251
|
|
@@ -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.70.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-12-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|