aws-sdk-eks 1.60.0 → 1.64.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +206 -16
- data/lib/aws-sdk-eks/client_api.rb +64 -0
- data/lib/aws-sdk-eks/types.rb +171 -4
- data/lib/aws-sdk-eks/waiters.rb +6 -0
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 294afc0aac4136d1fbfd8e495f3017eb45e071cc7bf11191c077403621d6a2c1
|
4
|
+
data.tar.gz: dca4890ce5d6aa66a73a451004c101652dd60c93d69fa4f21b974147cbdca399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7679860471bd1461994c123ec75caa629f3086231c1ecc9a31c25991913b9ddc0fc2b0a8bc58aead1f16d3872bca1652bfbb2478a4ca9a3f22ef54d4c4526c39
|
7
|
+
data.tar.gz: 37b1f032fbe761162a32b6412be60b232da9a1485ab29ca148ce5ee3c1a0c74d50d13333afff2e1b5e8f4ce24382a9c2b32f1e7984df7756b30aa87be9a0c8d3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2021-09-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding RegisterCluster and DeregisterCluster operations, to support connecting external clusters to EKS.
|
13
|
+
|
14
|
+
1.62.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.61.0 (2021-08-20)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adds support for EKS add-ons "preserve" flag, which allows customers to maintain software on their EKS clusters after removing it from EKS add-ons management.
|
23
|
+
|
4
24
|
1.60.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -377,7 +377,7 @@ module Aws::EKS
|
|
377
377
|
# resp.update.params[0].value #=> String
|
378
378
|
# resp.update.created_at #=> Time
|
379
379
|
# resp.update.errors #=> Array
|
380
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
380
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
381
381
|
# resp.update.errors[0].error_message #=> String
|
382
382
|
# resp.update.errors[0].resource_ids #=> Array
|
383
383
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -461,7 +461,7 @@ module Aws::EKS
|
|
461
461
|
# resp.update.params[0].value #=> String
|
462
462
|
# resp.update.created_at #=> Time
|
463
463
|
# resp.update.errors #=> Array
|
464
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
464
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
465
465
|
# resp.update.errors[0].error_message #=> String
|
466
466
|
# resp.update.errors[0].resource_ids #=> Array
|
467
467
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -566,7 +566,7 @@ module Aws::EKS
|
|
566
566
|
# resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
|
567
567
|
# resp.addon.addon_version #=> String
|
568
568
|
# resp.addon.health.issues #=> Array
|
569
|
-
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
569
|
+
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
570
570
|
# resp.addon.health.issues[0].message #=> String
|
571
571
|
# resp.addon.health.issues[0].resource_ids #=> Array
|
572
572
|
# resp.addon.health.issues[0].resource_ids[0] #=> String
|
@@ -776,7 +776,7 @@ module Aws::EKS
|
|
776
776
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
777
777
|
# resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
|
778
778
|
# resp.cluster.identity.oidc.issuer #=> String
|
779
|
-
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
|
779
|
+
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
|
780
780
|
# resp.cluster.certificate_authority.data #=> String
|
781
781
|
# resp.cluster.client_request_token #=> String
|
782
782
|
# resp.cluster.platform_version #=> String
|
@@ -786,6 +786,11 @@ module Aws::EKS
|
|
786
786
|
# resp.cluster.encryption_config[0].resources #=> Array
|
787
787
|
# resp.cluster.encryption_config[0].resources[0] #=> String
|
788
788
|
# resp.cluster.encryption_config[0].provider.key_arn #=> String
|
789
|
+
# resp.cluster.connector_config.activation_id #=> String
|
790
|
+
# resp.cluster.connector_config.activation_code #=> String
|
791
|
+
# resp.cluster.connector_config.activation_expiry #=> Time
|
792
|
+
# resp.cluster.connector_config.provider #=> String
|
793
|
+
# resp.cluster.connector_config.role_arn #=> String
|
789
794
|
#
|
790
795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster AWS API Documentation
|
791
796
|
#
|
@@ -1235,6 +1240,11 @@ module Aws::EKS
|
|
1235
1240
|
#
|
1236
1241
|
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html
|
1237
1242
|
#
|
1243
|
+
# @option params [Boolean] :preserve
|
1244
|
+
# Specifying this option preserves the add-on software on your cluster
|
1245
|
+
# but Amazon EKS stops managing any settings for the add-on. If an IAM
|
1246
|
+
# account is associated with the add-on, it is not removed.
|
1247
|
+
#
|
1238
1248
|
# @return [Types::DeleteAddonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1239
1249
|
#
|
1240
1250
|
# * {Types::DeleteAddonResponse#addon #addon} => Types::Addon
|
@@ -1244,6 +1254,7 @@ module Aws::EKS
|
|
1244
1254
|
# resp = client.delete_addon({
|
1245
1255
|
# cluster_name: "ClusterName", # required
|
1246
1256
|
# addon_name: "String", # required
|
1257
|
+
# preserve: false,
|
1247
1258
|
# })
|
1248
1259
|
#
|
1249
1260
|
# @example Response structure
|
@@ -1253,7 +1264,7 @@ module Aws::EKS
|
|
1253
1264
|
# resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
|
1254
1265
|
# resp.addon.addon_version #=> String
|
1255
1266
|
# resp.addon.health.issues #=> Array
|
1256
|
-
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
1267
|
+
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
1257
1268
|
# resp.addon.health.issues[0].message #=> String
|
1258
1269
|
# resp.addon.health.issues[0].resource_ids #=> Array
|
1259
1270
|
# resp.addon.health.issues[0].resource_ids[0] #=> String
|
@@ -1340,7 +1351,7 @@ module Aws::EKS
|
|
1340
1351
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
1341
1352
|
# resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
|
1342
1353
|
# resp.cluster.identity.oidc.issuer #=> String
|
1343
|
-
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
|
1354
|
+
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
|
1344
1355
|
# resp.cluster.certificate_authority.data #=> String
|
1345
1356
|
# resp.cluster.client_request_token #=> String
|
1346
1357
|
# resp.cluster.platform_version #=> String
|
@@ -1350,6 +1361,11 @@ module Aws::EKS
|
|
1350
1361
|
# resp.cluster.encryption_config[0].resources #=> Array
|
1351
1362
|
# resp.cluster.encryption_config[0].resources[0] #=> String
|
1352
1363
|
# resp.cluster.encryption_config[0].provider.key_arn #=> String
|
1364
|
+
# resp.cluster.connector_config.activation_id #=> String
|
1365
|
+
# resp.cluster.connector_config.activation_code #=> String
|
1366
|
+
# resp.cluster.connector_config.activation_expiry #=> Time
|
1367
|
+
# resp.cluster.connector_config.provider #=> String
|
1368
|
+
# resp.cluster.connector_config.role_arn #=> String
|
1353
1369
|
#
|
1354
1370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster AWS API Documentation
|
1355
1371
|
#
|
@@ -1491,6 +1507,71 @@ module Aws::EKS
|
|
1491
1507
|
req.send_request(options)
|
1492
1508
|
end
|
1493
1509
|
|
1510
|
+
# Deregisters a connected cluster to remove it from the Amazon EKS
|
1511
|
+
# control plane.
|
1512
|
+
#
|
1513
|
+
# @option params [required, String] :name
|
1514
|
+
# The name of the connected cluster to deregister.
|
1515
|
+
#
|
1516
|
+
# @return [Types::DeregisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1517
|
+
#
|
1518
|
+
# * {Types::DeregisterClusterResponse#cluster #cluster} => Types::Cluster
|
1519
|
+
#
|
1520
|
+
# @example Request syntax with placeholder values
|
1521
|
+
#
|
1522
|
+
# resp = client.deregister_cluster({
|
1523
|
+
# name: "String", # required
|
1524
|
+
# })
|
1525
|
+
#
|
1526
|
+
# @example Response structure
|
1527
|
+
#
|
1528
|
+
# resp.cluster.name #=> String
|
1529
|
+
# resp.cluster.arn #=> String
|
1530
|
+
# resp.cluster.created_at #=> Time
|
1531
|
+
# resp.cluster.version #=> String
|
1532
|
+
# resp.cluster.endpoint #=> String
|
1533
|
+
# resp.cluster.role_arn #=> String
|
1534
|
+
# resp.cluster.resources_vpc_config.subnet_ids #=> Array
|
1535
|
+
# resp.cluster.resources_vpc_config.subnet_ids[0] #=> String
|
1536
|
+
# resp.cluster.resources_vpc_config.security_group_ids #=> Array
|
1537
|
+
# resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
|
1538
|
+
# resp.cluster.resources_vpc_config.cluster_security_group_id #=> String
|
1539
|
+
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
1540
|
+
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
1541
|
+
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
1542
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
1543
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
1544
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
1545
|
+
# resp.cluster.logging.cluster_logging #=> Array
|
1546
|
+
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
1547
|
+
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
1548
|
+
# resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
|
1549
|
+
# resp.cluster.identity.oidc.issuer #=> String
|
1550
|
+
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
|
1551
|
+
# resp.cluster.certificate_authority.data #=> String
|
1552
|
+
# resp.cluster.client_request_token #=> String
|
1553
|
+
# resp.cluster.platform_version #=> String
|
1554
|
+
# resp.cluster.tags #=> Hash
|
1555
|
+
# resp.cluster.tags["TagKey"] #=> String
|
1556
|
+
# resp.cluster.encryption_config #=> Array
|
1557
|
+
# resp.cluster.encryption_config[0].resources #=> Array
|
1558
|
+
# resp.cluster.encryption_config[0].resources[0] #=> String
|
1559
|
+
# resp.cluster.encryption_config[0].provider.key_arn #=> String
|
1560
|
+
# resp.cluster.connector_config.activation_id #=> String
|
1561
|
+
# resp.cluster.connector_config.activation_code #=> String
|
1562
|
+
# resp.cluster.connector_config.activation_expiry #=> Time
|
1563
|
+
# resp.cluster.connector_config.provider #=> String
|
1564
|
+
# resp.cluster.connector_config.role_arn #=> String
|
1565
|
+
#
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterCluster AWS API Documentation
|
1567
|
+
#
|
1568
|
+
# @overload deregister_cluster(params = {})
|
1569
|
+
# @param [Hash] params ({})
|
1570
|
+
def deregister_cluster(params = {}, options = {})
|
1571
|
+
req = build_request(:deregister_cluster, params)
|
1572
|
+
req.send_request(options)
|
1573
|
+
end
|
1574
|
+
|
1494
1575
|
# Describes an Amazon EKS add-on.
|
1495
1576
|
#
|
1496
1577
|
# @option params [required, String] :cluster_name
|
@@ -1522,7 +1603,7 @@ module Aws::EKS
|
|
1522
1603
|
# resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
|
1523
1604
|
# resp.addon.addon_version #=> String
|
1524
1605
|
# resp.addon.health.issues #=> Array
|
1525
|
-
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
1606
|
+
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
1526
1607
|
# resp.addon.health.issues[0].message #=> String
|
1527
1608
|
# resp.addon.health.issues[0].resource_ids #=> Array
|
1528
1609
|
# resp.addon.health.issues[0].resource_ids[0] #=> String
|
@@ -1706,7 +1787,7 @@ module Aws::EKS
|
|
1706
1787
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
1707
1788
|
# resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
|
1708
1789
|
# resp.cluster.identity.oidc.issuer #=> String
|
1709
|
-
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
|
1790
|
+
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
|
1710
1791
|
# resp.cluster.certificate_authority.data #=> String
|
1711
1792
|
# resp.cluster.client_request_token #=> String
|
1712
1793
|
# resp.cluster.platform_version #=> String
|
@@ -1716,6 +1797,11 @@ module Aws::EKS
|
|
1716
1797
|
# resp.cluster.encryption_config[0].resources #=> Array
|
1717
1798
|
# resp.cluster.encryption_config[0].resources[0] #=> String
|
1718
1799
|
# resp.cluster.encryption_config[0].provider.key_arn #=> String
|
1800
|
+
# resp.cluster.connector_config.activation_id #=> String
|
1801
|
+
# resp.cluster.connector_config.activation_code #=> String
|
1802
|
+
# resp.cluster.connector_config.activation_expiry #=> Time
|
1803
|
+
# resp.cluster.connector_config.provider #=> String
|
1804
|
+
# resp.cluster.connector_config.role_arn #=> String
|
1719
1805
|
#
|
1720
1806
|
#
|
1721
1807
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1961,7 +2047,7 @@ module Aws::EKS
|
|
1961
2047
|
# resp.update.params[0].value #=> String
|
1962
2048
|
# resp.update.created_at #=> Time
|
1963
2049
|
# resp.update.errors #=> Array
|
1964
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2050
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
1965
2051
|
# resp.update.errors[0].error_message #=> String
|
1966
2052
|
# resp.update.errors[0].resource_ids #=> Array
|
1967
2053
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2018,7 +2104,7 @@ module Aws::EKS
|
|
2018
2104
|
# resp.update.params[0].value #=> String
|
2019
2105
|
# resp.update.created_at #=> Time
|
2020
2106
|
# resp.update.errors #=> Array
|
2021
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2107
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
2022
2108
|
# resp.update.errors[0].error_message #=> String
|
2023
2109
|
# resp.update.errors[0].resource_ids #=> Array
|
2024
2110
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2114,6 +2200,10 @@ module Aws::EKS
|
|
2114
2200
|
#
|
2115
2201
|
# </note>
|
2116
2202
|
#
|
2203
|
+
# @option params [Array<String>] :include
|
2204
|
+
# Indicates whether connected clusters are included in the returned
|
2205
|
+
# list. Default value is 'ALL'.
|
2206
|
+
#
|
2117
2207
|
# @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2118
2208
|
#
|
2119
2209
|
# * {Types::ListClustersResponse#clusters #clusters} => Array<String>
|
@@ -2142,6 +2232,7 @@ module Aws::EKS
|
|
2142
2232
|
# resp = client.list_clusters({
|
2143
2233
|
# max_results: 1,
|
2144
2234
|
# next_token: "String",
|
2235
|
+
# include: ["String"],
|
2145
2236
|
# })
|
2146
2237
|
#
|
2147
2238
|
# @example Response structure
|
@@ -2431,6 +2522,105 @@ module Aws::EKS
|
|
2431
2522
|
req.send_request(options)
|
2432
2523
|
end
|
2433
2524
|
|
2525
|
+
# Connects a Kubernetes cluster to the Amazon EKS control plane.
|
2526
|
+
#
|
2527
|
+
# Any Kubernetes cluster can be connected to the Amazon EKS control
|
2528
|
+
# plane to view current information about the cluster and its nodes.
|
2529
|
+
#
|
2530
|
+
# Cluster connection requires two steps. First, send a `
|
2531
|
+
# RegisterClusterRequest ` to add it to the Amazon EKS control plane.
|
2532
|
+
#
|
2533
|
+
# Second, a [Manifest][1] containing the `activationID` and
|
2534
|
+
# `activationCode` must be applied to the Kubernetes cluster through
|
2535
|
+
# it's native provider to provide visibility.
|
2536
|
+
#
|
2537
|
+
# After the Manifest is updated and applied, then the connected cluster
|
2538
|
+
# is visible to the Amazon EKS control plane. If the Manifest is not
|
2539
|
+
# applied within a set amount of time, then the connected cluster will
|
2540
|
+
# no longer be visible and must be deregistered. See DeregisterCluster.
|
2541
|
+
#
|
2542
|
+
#
|
2543
|
+
#
|
2544
|
+
# [1]: https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml
|
2545
|
+
#
|
2546
|
+
# @option params [required, String] :name
|
2547
|
+
# Define a unique name for this cluster within your AWS account.
|
2548
|
+
#
|
2549
|
+
# @option params [required, Types::ConnectorConfigRequest] :connector_config
|
2550
|
+
# The configuration settings required to connect the Kubernetes cluster
|
2551
|
+
# to the Amazon EKS control plane.
|
2552
|
+
#
|
2553
|
+
# @option params [String] :client_request_token
|
2554
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
2555
|
+
# idempotency of the request.
|
2556
|
+
#
|
2557
|
+
# **A suitable default value is auto-generated.** You should normally
|
2558
|
+
# not need to pass this option.**
|
2559
|
+
#
|
2560
|
+
# @return [Types::RegisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2561
|
+
#
|
2562
|
+
# * {Types::RegisterClusterResponse#cluster #cluster} => Types::Cluster
|
2563
|
+
#
|
2564
|
+
# @example Request syntax with placeholder values
|
2565
|
+
#
|
2566
|
+
# resp = client.register_cluster({
|
2567
|
+
# name: "ClusterName", # required
|
2568
|
+
# connector_config: { # required
|
2569
|
+
# role_arn: "String", # required
|
2570
|
+
# provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
|
2571
|
+
# },
|
2572
|
+
# client_request_token: "String",
|
2573
|
+
# })
|
2574
|
+
#
|
2575
|
+
# @example Response structure
|
2576
|
+
#
|
2577
|
+
# resp.cluster.name #=> String
|
2578
|
+
# resp.cluster.arn #=> String
|
2579
|
+
# resp.cluster.created_at #=> Time
|
2580
|
+
# resp.cluster.version #=> String
|
2581
|
+
# resp.cluster.endpoint #=> String
|
2582
|
+
# resp.cluster.role_arn #=> String
|
2583
|
+
# resp.cluster.resources_vpc_config.subnet_ids #=> Array
|
2584
|
+
# resp.cluster.resources_vpc_config.subnet_ids[0] #=> String
|
2585
|
+
# resp.cluster.resources_vpc_config.security_group_ids #=> Array
|
2586
|
+
# resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
|
2587
|
+
# resp.cluster.resources_vpc_config.cluster_security_group_id #=> String
|
2588
|
+
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
2589
|
+
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
2590
|
+
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
2591
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
2592
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
2593
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
2594
|
+
# resp.cluster.logging.cluster_logging #=> Array
|
2595
|
+
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
2596
|
+
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
2597
|
+
# resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
|
2598
|
+
# resp.cluster.identity.oidc.issuer #=> String
|
2599
|
+
# resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
|
2600
|
+
# resp.cluster.certificate_authority.data #=> String
|
2601
|
+
# resp.cluster.client_request_token #=> String
|
2602
|
+
# resp.cluster.platform_version #=> String
|
2603
|
+
# resp.cluster.tags #=> Hash
|
2604
|
+
# resp.cluster.tags["TagKey"] #=> String
|
2605
|
+
# resp.cluster.encryption_config #=> Array
|
2606
|
+
# resp.cluster.encryption_config[0].resources #=> Array
|
2607
|
+
# resp.cluster.encryption_config[0].resources[0] #=> String
|
2608
|
+
# resp.cluster.encryption_config[0].provider.key_arn #=> String
|
2609
|
+
# resp.cluster.connector_config.activation_id #=> String
|
2610
|
+
# resp.cluster.connector_config.activation_code #=> String
|
2611
|
+
# resp.cluster.connector_config.activation_expiry #=> Time
|
2612
|
+
# resp.cluster.connector_config.provider #=> String
|
2613
|
+
# resp.cluster.connector_config.role_arn #=> String
|
2614
|
+
#
|
2615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster AWS API Documentation
|
2616
|
+
#
|
2617
|
+
# @overload register_cluster(params = {})
|
2618
|
+
# @param [Hash] params ({})
|
2619
|
+
def register_cluster(params = {}, options = {})
|
2620
|
+
req = build_request(:register_cluster, params)
|
2621
|
+
req.send_request(options)
|
2622
|
+
end
|
2623
|
+
|
2434
2624
|
# Associates the specified tags to a resource with the specified
|
2435
2625
|
# `resourceArn`. If existing tags on a resource are not specified in the
|
2436
2626
|
# request parameters, they are not changed. When a resource is deleted,
|
@@ -2573,7 +2763,7 @@ module Aws::EKS
|
|
2573
2763
|
# resp.update.params[0].value #=> String
|
2574
2764
|
# resp.update.created_at #=> Time
|
2575
2765
|
# resp.update.errors #=> Array
|
2576
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2766
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
2577
2767
|
# resp.update.errors[0].error_message #=> String
|
2578
2768
|
# resp.update.errors[0].resource_ids #=> Array
|
2579
2769
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2693,7 +2883,7 @@ module Aws::EKS
|
|
2693
2883
|
# resp.update.params[0].value #=> String
|
2694
2884
|
# resp.update.created_at #=> Time
|
2695
2885
|
# resp.update.errors #=> Array
|
2696
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2886
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
2697
2887
|
# resp.update.errors[0].error_message #=> String
|
2698
2888
|
# resp.update.errors[0].resource_ids #=> Array
|
2699
2889
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2757,7 +2947,7 @@ module Aws::EKS
|
|
2757
2947
|
# resp.update.params[0].value #=> String
|
2758
2948
|
# resp.update.created_at #=> Time
|
2759
2949
|
# resp.update.errors #=> Array
|
2760
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2950
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
2761
2951
|
# resp.update.errors[0].error_message #=> String
|
2762
2952
|
# resp.update.errors[0].resource_ids #=> Array
|
2763
2953
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2860,7 +3050,7 @@ module Aws::EKS
|
|
2860
3050
|
# resp.update.params[0].value #=> String
|
2861
3051
|
# resp.update.created_at #=> Time
|
2862
3052
|
# resp.update.errors #=> Array
|
2863
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
3053
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
2864
3054
|
# resp.update.errors[0].error_message #=> String
|
2865
3055
|
# resp.update.errors[0].resource_ids #=> Array
|
2866
3056
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2991,7 +3181,7 @@ module Aws::EKS
|
|
2991
3181
|
# resp.update.params[0].value #=> String
|
2992
3182
|
# resp.update.created_at #=> Time
|
2993
3183
|
# resp.update.errors #=> Array
|
2994
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
3184
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
2995
3185
|
# resp.update.errors[0].error_message #=> String
|
2996
3186
|
# resp.update.errors[0].resource_ids #=> Array
|
2997
3187
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -3018,7 +3208,7 @@ module Aws::EKS
|
|
3018
3208
|
params: params,
|
3019
3209
|
config: config)
|
3020
3210
|
context[:gem_name] = 'aws-sdk-eks'
|
3021
|
-
context[:gem_version] = '1.
|
3211
|
+
context[:gem_version] = '1.64.0'
|
3022
3212
|
Seahorse::Client::Request.new(handlers, context)
|
3023
3213
|
end
|
3024
3214
|
|
@@ -43,6 +43,9 @@ module Aws::EKS
|
|
43
43
|
ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
|
44
44
|
Compatibilities = Shapes::ListShape.new(name: 'Compatibilities')
|
45
45
|
Compatibility = Shapes::StructureShape.new(name: 'Compatibility')
|
46
|
+
ConnectorConfigProvider = Shapes::StringShape.new(name: 'ConnectorConfigProvider')
|
47
|
+
ConnectorConfigRequest = Shapes::StructureShape.new(name: 'ConnectorConfigRequest')
|
48
|
+
ConnectorConfigResponse = Shapes::StructureShape.new(name: 'ConnectorConfigResponse')
|
46
49
|
CreateAddonRequest = Shapes::StructureShape.new(name: 'CreateAddonRequest')
|
47
50
|
CreateAddonResponse = Shapes::StructureShape.new(name: 'CreateAddonResponse')
|
48
51
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
@@ -59,6 +62,8 @@ module Aws::EKS
|
|
59
62
|
DeleteFargateProfileResponse = Shapes::StructureShape.new(name: 'DeleteFargateProfileResponse')
|
60
63
|
DeleteNodegroupRequest = Shapes::StructureShape.new(name: 'DeleteNodegroupRequest')
|
61
64
|
DeleteNodegroupResponse = Shapes::StructureShape.new(name: 'DeleteNodegroupResponse')
|
65
|
+
DeregisterClusterRequest = Shapes::StructureShape.new(name: 'DeregisterClusterRequest')
|
66
|
+
DeregisterClusterResponse = Shapes::StructureShape.new(name: 'DeregisterClusterResponse')
|
62
67
|
DescribeAddonRequest = Shapes::StructureShape.new(name: 'DescribeAddonRequest')
|
63
68
|
DescribeAddonResponse = Shapes::StructureShape.new(name: 'DescribeAddonResponse')
|
64
69
|
DescribeAddonVersionsRequest = Shapes::StructureShape.new(name: 'DescribeAddonVersionsRequest')
|
@@ -91,6 +96,7 @@ module Aws::EKS
|
|
91
96
|
IdentityProviderConfig = Shapes::StructureShape.new(name: 'IdentityProviderConfig')
|
92
97
|
IdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'IdentityProviderConfigResponse')
|
93
98
|
IdentityProviderConfigs = Shapes::ListShape.new(name: 'IdentityProviderConfigs')
|
99
|
+
IncludeClustersList = Shapes::ListShape.new(name: 'IncludeClustersList')
|
94
100
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
95
101
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
96
102
|
Issue = Shapes::StructureShape.new(name: 'Issue')
|
@@ -136,6 +142,8 @@ module Aws::EKS
|
|
136
142
|
OidcIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'OidcIdentityProviderConfigRequest')
|
137
143
|
PercentCapacity = Shapes::IntegerShape.new(name: 'PercentCapacity')
|
138
144
|
Provider = Shapes::StructureShape.new(name: 'Provider')
|
145
|
+
RegisterClusterRequest = Shapes::StructureShape.new(name: 'RegisterClusterRequest')
|
146
|
+
RegisterClusterResponse = Shapes::StructureShape.new(name: 'RegisterClusterResponse')
|
139
147
|
RemoteAccessConfig = Shapes::StructureShape.new(name: 'RemoteAccessConfig')
|
140
148
|
ResolveConflicts = Shapes::StringShape.new(name: 'ResolveConflicts')
|
141
149
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
@@ -278,6 +286,7 @@ module Aws::EKS
|
|
278
286
|
Cluster.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
279
287
|
Cluster.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
280
288
|
Cluster.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfigList, location_name: "encryptionConfig"))
|
289
|
+
Cluster.add_member(:connector_config, Shapes::ShapeRef.new(shape: ConnectorConfigResponse, location_name: "connectorConfig"))
|
281
290
|
Cluster.struct_class = Types::Cluster
|
282
291
|
|
283
292
|
Compatibilities.member = Shapes::ShapeRef.new(shape: Compatibility)
|
@@ -287,6 +296,17 @@ module Aws::EKS
|
|
287
296
|
Compatibility.add_member(:default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultVersion"))
|
288
297
|
Compatibility.struct_class = Types::Compatibility
|
289
298
|
|
299
|
+
ConnectorConfigRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
|
300
|
+
ConnectorConfigRequest.add_member(:provider, Shapes::ShapeRef.new(shape: ConnectorConfigProvider, required: true, location_name: "provider"))
|
301
|
+
ConnectorConfigRequest.struct_class = Types::ConnectorConfigRequest
|
302
|
+
|
303
|
+
ConnectorConfigResponse.add_member(:activation_id, Shapes::ShapeRef.new(shape: String, location_name: "activationId"))
|
304
|
+
ConnectorConfigResponse.add_member(:activation_code, Shapes::ShapeRef.new(shape: String, location_name: "activationCode"))
|
305
|
+
ConnectorConfigResponse.add_member(:activation_expiry, Shapes::ShapeRef.new(shape: Timestamp, location_name: "activationExpiry"))
|
306
|
+
ConnectorConfigResponse.add_member(:provider, Shapes::ShapeRef.new(shape: String, location_name: "provider"))
|
307
|
+
ConnectorConfigResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
308
|
+
ConnectorConfigResponse.struct_class = Types::ConnectorConfigResponse
|
309
|
+
|
290
310
|
CreateAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
|
291
311
|
CreateAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "addonName"))
|
292
312
|
CreateAddonRequest.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
|
@@ -350,6 +370,7 @@ module Aws::EKS
|
|
350
370
|
|
351
371
|
DeleteAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
|
352
372
|
DeleteAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
|
373
|
+
DeleteAddonRequest.add_member(:preserve, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "preserve"))
|
353
374
|
DeleteAddonRequest.struct_class = Types::DeleteAddonRequest
|
354
375
|
|
355
376
|
DeleteAddonResponse.add_member(:addon, Shapes::ShapeRef.new(shape: Addon, location_name: "addon"))
|
@@ -375,6 +396,12 @@ module Aws::EKS
|
|
375
396
|
DeleteNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
|
376
397
|
DeleteNodegroupResponse.struct_class = Types::DeleteNodegroupResponse
|
377
398
|
|
399
|
+
DeregisterClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
400
|
+
DeregisterClusterRequest.struct_class = Types::DeregisterClusterRequest
|
401
|
+
|
402
|
+
DeregisterClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
403
|
+
DeregisterClusterResponse.struct_class = Types::DeregisterClusterResponse
|
404
|
+
|
378
405
|
DescribeAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
|
379
406
|
DescribeAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
|
380
407
|
DescribeAddonRequest.struct_class = Types::DescribeAddonRequest
|
@@ -481,6 +508,8 @@ module Aws::EKS
|
|
481
508
|
|
482
509
|
IdentityProviderConfigs.member = Shapes::ShapeRef.new(shape: IdentityProviderConfig)
|
483
510
|
|
511
|
+
IncludeClustersList.member = Shapes::ShapeRef.new(shape: String)
|
512
|
+
|
484
513
|
InvalidParameterException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
485
514
|
InvalidParameterException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
486
515
|
InvalidParameterException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
|
@@ -523,6 +552,7 @@ module Aws::EKS
|
|
523
552
|
|
524
553
|
ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
|
525
554
|
ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
555
|
+
ListClustersRequest.add_member(:include, Shapes::ShapeRef.new(shape: IncludeClustersList, location: "querystring", location_name: "include"))
|
526
556
|
ListClustersRequest.struct_class = Types::ListClustersRequest
|
527
557
|
|
528
558
|
ListClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: StringList, location_name: "clusters"))
|
@@ -658,6 +688,14 @@ module Aws::EKS
|
|
658
688
|
Provider.add_member(:key_arn, Shapes::ShapeRef.new(shape: String, location_name: "keyArn"))
|
659
689
|
Provider.struct_class = Types::Provider
|
660
690
|
|
691
|
+
RegisterClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location_name: "name"))
|
692
|
+
RegisterClusterRequest.add_member(:connector_config, Shapes::ShapeRef.new(shape: ConnectorConfigRequest, required: true, location_name: "connectorConfig"))
|
693
|
+
RegisterClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
694
|
+
RegisterClusterRequest.struct_class = Types::RegisterClusterRequest
|
695
|
+
|
696
|
+
RegisterClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
697
|
+
RegisterClusterResponse.struct_class = Types::RegisterClusterResponse
|
698
|
+
|
661
699
|
RemoteAccessConfig.add_member(:ec2_ssh_key, Shapes::ShapeRef.new(shape: String, location_name: "ec2SshKey"))
|
662
700
|
RemoteAccessConfig.add_member(:source_security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "sourceSecurityGroups"))
|
663
701
|
RemoteAccessConfig.struct_class = Types::RemoteAccessConfig
|
@@ -976,6 +1014,19 @@ module Aws::EKS
|
|
976
1014
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
977
1015
|
end)
|
978
1016
|
|
1017
|
+
api.add_operation(:deregister_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1018
|
+
o.name = "DeregisterCluster"
|
1019
|
+
o.http_method = "DELETE"
|
1020
|
+
o.http_request_uri = "/cluster-registrations/{name}"
|
1021
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterClusterRequest)
|
1022
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterClusterResponse)
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1028
|
+
end)
|
1029
|
+
|
979
1030
|
api.add_operation(:describe_addon, Seahorse::Model::Operation.new.tap do |o|
|
980
1031
|
o.name = "DescribeAddon"
|
981
1032
|
o.http_method = "GET"
|
@@ -1203,6 +1254,19 @@ module Aws::EKS
|
|
1203
1254
|
)
|
1204
1255
|
end)
|
1205
1256
|
|
1257
|
+
api.add_operation(:register_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1258
|
+
o.name = "RegisterCluster"
|
1259
|
+
o.http_method = "POST"
|
1260
|
+
o.http_request_uri = "/cluster-registrations"
|
1261
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterClusterRequest)
|
1262
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterClusterResponse)
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1264
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1265
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1266
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1268
|
+
end)
|
1269
|
+
|
1206
1270
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1207
1271
|
o.name = "TagResource"
|
1208
1272
|
o.http_method = "POST"
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -456,6 +456,10 @@ module Aws::EKS
|
|
456
456
|
# The encryption configuration for the cluster.
|
457
457
|
# @return [Array<Types::EncryptionConfig>]
|
458
458
|
#
|
459
|
+
# @!attribute [rw] connector_config
|
460
|
+
# The configuration used to connect to a cluster for registration.
|
461
|
+
# @return [Types::ConnectorConfigResponse]
|
462
|
+
#
|
459
463
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Cluster AWS API Documentation
|
460
464
|
#
|
461
465
|
class Cluster < Struct.new(
|
@@ -474,7 +478,8 @@ module Aws::EKS
|
|
474
478
|
:client_request_token,
|
475
479
|
:platform_version,
|
476
480
|
:tags,
|
477
|
-
:encryption_config
|
481
|
+
:encryption_config,
|
482
|
+
:connector_config)
|
478
483
|
SENSITIVE = []
|
479
484
|
include Aws::Structure
|
480
485
|
end
|
@@ -503,6 +508,71 @@ module Aws::EKS
|
|
503
508
|
include Aws::Structure
|
504
509
|
end
|
505
510
|
|
511
|
+
# The configuration sent to a cluster for configuration.
|
512
|
+
#
|
513
|
+
# @note When making an API call, you may pass ConnectorConfigRequest
|
514
|
+
# data as a hash:
|
515
|
+
#
|
516
|
+
# {
|
517
|
+
# role_arn: "String", # required
|
518
|
+
# provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
|
519
|
+
# }
|
520
|
+
#
|
521
|
+
# @!attribute [rw] role_arn
|
522
|
+
# The Amazon Resource Name (ARN) of the role that is authorized to
|
523
|
+
# request the connector configuration.
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @!attribute [rw] provider
|
527
|
+
# The cloud provider for the target cluster to connect.
|
528
|
+
# @return [String]
|
529
|
+
#
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ConnectorConfigRequest AWS API Documentation
|
531
|
+
#
|
532
|
+
class ConnectorConfigRequest < Struct.new(
|
533
|
+
:role_arn,
|
534
|
+
:provider)
|
535
|
+
SENSITIVE = []
|
536
|
+
include Aws::Structure
|
537
|
+
end
|
538
|
+
|
539
|
+
# The full description of your connected cluster.
|
540
|
+
#
|
541
|
+
# @!attribute [rw] activation_id
|
542
|
+
# A unique ID associated with the cluster for registration purposes.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @!attribute [rw] activation_code
|
546
|
+
# A unique code associated with the cluster for registration purposes.
|
547
|
+
# @return [String]
|
548
|
+
#
|
549
|
+
# @!attribute [rw] activation_expiry
|
550
|
+
# The expiration time of the connected cluster. The cluster's YAML
|
551
|
+
# file must be applied through the native provider.
|
552
|
+
# @return [Time]
|
553
|
+
#
|
554
|
+
# @!attribute [rw] provider
|
555
|
+
# The cluster's cloud service provider.
|
556
|
+
# @return [String]
|
557
|
+
#
|
558
|
+
# @!attribute [rw] role_arn
|
559
|
+
# The Amazon Resource Name (ARN) of the role that is used by the EKS
|
560
|
+
# connector to communicate with AWS services from the connected
|
561
|
+
# Kubernetes cluster.
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ConnectorConfigResponse AWS API Documentation
|
565
|
+
#
|
566
|
+
class ConnectorConfigResponse < Struct.new(
|
567
|
+
:activation_id,
|
568
|
+
:activation_code,
|
569
|
+
:activation_expiry,
|
570
|
+
:provider,
|
571
|
+
:role_arn)
|
572
|
+
SENSITIVE = []
|
573
|
+
include Aws::Structure
|
574
|
+
end
|
575
|
+
|
506
576
|
# @note When making an API call, you may pass CreateAddonRequest
|
507
577
|
# data as a hash:
|
508
578
|
#
|
@@ -1121,6 +1191,7 @@ module Aws::EKS
|
|
1121
1191
|
# {
|
1122
1192
|
# cluster_name: "ClusterName", # required
|
1123
1193
|
# addon_name: "String", # required
|
1194
|
+
# preserve: false,
|
1124
1195
|
# }
|
1125
1196
|
#
|
1126
1197
|
# @!attribute [rw] cluster_name
|
@@ -1136,11 +1207,18 @@ module Aws::EKS
|
|
1136
1207
|
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html
|
1137
1208
|
# @return [String]
|
1138
1209
|
#
|
1210
|
+
# @!attribute [rw] preserve
|
1211
|
+
# Specifying this option preserves the add-on software on your cluster
|
1212
|
+
# but Amazon EKS stops managing any settings for the add-on. If an IAM
|
1213
|
+
# account is associated with the add-on, it is not removed.
|
1214
|
+
# @return [Boolean]
|
1215
|
+
#
|
1139
1216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddonRequest AWS API Documentation
|
1140
1217
|
#
|
1141
1218
|
class DeleteAddonRequest < Struct.new(
|
1142
1219
|
:cluster_name,
|
1143
|
-
:addon_name
|
1220
|
+
:addon_name,
|
1221
|
+
:preserve)
|
1144
1222
|
SENSITIVE = []
|
1145
1223
|
include Aws::Structure
|
1146
1224
|
end
|
@@ -1264,6 +1342,37 @@ module Aws::EKS
|
|
1264
1342
|
include Aws::Structure
|
1265
1343
|
end
|
1266
1344
|
|
1345
|
+
# @note When making an API call, you may pass DeregisterClusterRequest
|
1346
|
+
# data as a hash:
|
1347
|
+
#
|
1348
|
+
# {
|
1349
|
+
# name: "String", # required
|
1350
|
+
# }
|
1351
|
+
#
|
1352
|
+
# @!attribute [rw] name
|
1353
|
+
# The name of the connected cluster to deregister.
|
1354
|
+
# @return [String]
|
1355
|
+
#
|
1356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterClusterRequest AWS API Documentation
|
1357
|
+
#
|
1358
|
+
class DeregisterClusterRequest < Struct.new(
|
1359
|
+
:name)
|
1360
|
+
SENSITIVE = []
|
1361
|
+
include Aws::Structure
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# @!attribute [rw] cluster
|
1365
|
+
# An object representing an Amazon EKS cluster.
|
1366
|
+
# @return [Types::Cluster]
|
1367
|
+
#
|
1368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterClusterResponse AWS API Documentation
|
1369
|
+
#
|
1370
|
+
class DeregisterClusterResponse < Struct.new(
|
1371
|
+
:cluster)
|
1372
|
+
SENSITIVE = []
|
1373
|
+
include Aws::Structure
|
1374
|
+
end
|
1375
|
+
|
1267
1376
|
# @note When making an API call, you may pass DescribeAddonRequest
|
1268
1377
|
# data as a hash:
|
1269
1378
|
#
|
@@ -1860,7 +1969,7 @@ module Aws::EKS
|
|
1860
1969
|
include Aws::Structure
|
1861
1970
|
end
|
1862
1971
|
|
1863
|
-
#
|
1972
|
+
# The full description of your identity configuration.
|
1864
1973
|
#
|
1865
1974
|
# @!attribute [rw] oidc
|
1866
1975
|
# An object that represents an OpenID Connect (OIDC) identity provider
|
@@ -2220,6 +2329,7 @@ module Aws::EKS
|
|
2220
2329
|
# {
|
2221
2330
|
# max_results: 1,
|
2222
2331
|
# next_token: "String",
|
2332
|
+
# include: ["String"],
|
2223
2333
|
# }
|
2224
2334
|
#
|
2225
2335
|
# @!attribute [rw] max_results
|
@@ -2246,11 +2356,17 @@ module Aws::EKS
|
|
2246
2356
|
# </note>
|
2247
2357
|
# @return [String]
|
2248
2358
|
#
|
2359
|
+
# @!attribute [rw] include
|
2360
|
+
# Indicates whether connected clusters are included in the returned
|
2361
|
+
# list. Default value is 'ALL'.
|
2362
|
+
# @return [Array<String>]
|
2363
|
+
#
|
2249
2364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClustersRequest AWS API Documentation
|
2250
2365
|
#
|
2251
2366
|
class ListClustersRequest < Struct.new(
|
2252
2367
|
:max_results,
|
2253
|
-
:next_token
|
2368
|
+
:next_token,
|
2369
|
+
:include)
|
2254
2370
|
SENSITIVE = []
|
2255
2371
|
include Aws::Structure
|
2256
2372
|
end
|
@@ -3157,6 +3273,57 @@ module Aws::EKS
|
|
3157
3273
|
include Aws::Structure
|
3158
3274
|
end
|
3159
3275
|
|
3276
|
+
# @note When making an API call, you may pass RegisterClusterRequest
|
3277
|
+
# data as a hash:
|
3278
|
+
#
|
3279
|
+
# {
|
3280
|
+
# name: "ClusterName", # required
|
3281
|
+
# connector_config: { # required
|
3282
|
+
# role_arn: "String", # required
|
3283
|
+
# provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
|
3284
|
+
# },
|
3285
|
+
# client_request_token: "String",
|
3286
|
+
# }
|
3287
|
+
#
|
3288
|
+
# @!attribute [rw] name
|
3289
|
+
# Define a unique name for this cluster within your AWS account.
|
3290
|
+
# @return [String]
|
3291
|
+
#
|
3292
|
+
# @!attribute [rw] connector_config
|
3293
|
+
# The configuration settings required to connect the Kubernetes
|
3294
|
+
# cluster to the Amazon EKS control plane.
|
3295
|
+
# @return [Types::ConnectorConfigRequest]
|
3296
|
+
#
|
3297
|
+
# @!attribute [rw] client_request_token
|
3298
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3299
|
+
# idempotency of the request.
|
3300
|
+
#
|
3301
|
+
# **A suitable default value is auto-generated.** You should normally
|
3302
|
+
# not need to pass this option.
|
3303
|
+
# @return [String]
|
3304
|
+
#
|
3305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterClusterRequest AWS API Documentation
|
3306
|
+
#
|
3307
|
+
class RegisterClusterRequest < Struct.new(
|
3308
|
+
:name,
|
3309
|
+
:connector_config,
|
3310
|
+
:client_request_token)
|
3311
|
+
SENSITIVE = []
|
3312
|
+
include Aws::Structure
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
# @!attribute [rw] cluster
|
3316
|
+
# An object representing an Amazon EKS cluster.
|
3317
|
+
# @return [Types::Cluster]
|
3318
|
+
#
|
3319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterClusterResponse AWS API Documentation
|
3320
|
+
#
|
3321
|
+
class RegisterClusterResponse < Struct.new(
|
3322
|
+
:cluster)
|
3323
|
+
SENSITIVE = []
|
3324
|
+
include Aws::Structure
|
3325
|
+
end
|
3326
|
+
|
3160
3327
|
# An object representing the remote access configuration for the managed
|
3161
3328
|
# node group.
|
3162
3329
|
#
|
data/lib/aws-sdk-eks/waiters.rb
CHANGED
@@ -251,6 +251,12 @@ module Aws::EKS
|
|
251
251
|
"state" => "failure",
|
252
252
|
"argument" => "cluster.status"
|
253
253
|
},
|
254
|
+
{
|
255
|
+
"expected" => "PENDING",
|
256
|
+
"matcher" => "path",
|
257
|
+
"state" => "failure",
|
258
|
+
"argument" => "cluster.status"
|
259
|
+
},
|
254
260
|
{
|
255
261
|
"expected" => "ResourceNotFoundException",
|
256
262
|
"matcher" => "error",
|
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.64.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-10-18 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.121.2
|
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.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '2.3'
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - ">="
|