aws-sdk-eks 1.62.0 → 1.66.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4da6c49978a6bd220c310fdc843be379743a5665b07201c27154b54539cc4432
4
- data.tar.gz: f3448566a4b10a4de52c4b22aeef61731c4a7bfa8dd474610edcfa4275783319
3
+ metadata.gz: 44375c043b2ba60ce673a90965b57c195fe9b4bb4ef46d30c87be4479987ca51
4
+ data.tar.gz: a54b885057c103f09dde401beabe6b018907abb3cd9a0035931476fcbf51322e
5
5
  SHA512:
6
- metadata.gz: bc045e0cb4efc699d057995cae20f47bcc1bccdf22dcb4c8ab182599191c6d950142940e3d59ac5cb9e0d0cf7e239e3369089ffffdf4dd317469a384716d22b1
7
- data.tar.gz: 8cf727275761f198c08a3bfd7451b6aeb6a71afc108df0430e2ba8691e08dd9d33573f5618877c1e813a3d188d686fcb75e0abbb5207c3cee11dea1f0abce98f
6
+ metadata.gz: c0ef28a46842eea6d377b614eb841f8a51355ec4dcf03a16dfd661d9a76a0ddbabb9781c0dabfa8b0846c31066cb2f13a5d365d7907359f13302d0efa2d29f0e
7
+ data.tar.gz: 42f1f63826ceecc12aab6caa5024921c94f29e228ffe235205f7f819ed9969bab88ae2d003a2e495672bda36ae74096dd952d0faea665b20e928c85fc23e3ed0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.65.0 (2021-10-27)
10
+ ------------------
11
+
12
+ * Feature - EKS managed node groups now support BOTTLEROCKET_x86_64 and BOTTLEROCKET_ARM_64 AMI types.
13
+
14
+ 1.64.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.63.0 (2021-09-07)
20
+ ------------------
21
+
22
+ * Feature - Adding RegisterCluster and DeregisterCluster operations, to support connecting external clusters to EKS.
23
+
4
24
  1.62.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.66.0
@@ -275,6 +275,15 @@ module Aws::EKS
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -776,7 +785,7 @@ module Aws::EKS
776
785
  # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
777
786
  # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
778
787
  # resp.cluster.identity.oidc.issuer #=> String
779
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
788
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
780
789
  # resp.cluster.certificate_authority.data #=> String
781
790
  # resp.cluster.client_request_token #=> String
782
791
  # resp.cluster.platform_version #=> String
@@ -786,6 +795,11 @@ module Aws::EKS
786
795
  # resp.cluster.encryption_config[0].resources #=> Array
787
796
  # resp.cluster.encryption_config[0].resources[0] #=> String
788
797
  # resp.cluster.encryption_config[0].provider.key_arn #=> String
798
+ # resp.cluster.connector_config.activation_id #=> String
799
+ # resp.cluster.connector_config.activation_code #=> String
800
+ # resp.cluster.connector_config.activation_expiry #=> Time
801
+ # resp.cluster.connector_config.provider #=> String
802
+ # resp.cluster.connector_config.role_arn #=> String
789
803
  #
790
804
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster AWS API Documentation
791
805
  #
@@ -1129,7 +1143,7 @@ module Aws::EKS
1129
1143
  # disk_size: 1,
1130
1144
  # subnets: ["String"], # required
1131
1145
  # instance_types: ["String"],
1132
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
1146
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64
1133
1147
  # remote_access: {
1134
1148
  # ec2_ssh_key: "String",
1135
1149
  # source_security_groups: ["String"],
@@ -1184,7 +1198,7 @@ module Aws::EKS
1184
1198
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1185
1199
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1186
1200
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1187
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1201
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64"
1188
1202
  # resp.nodegroup.node_role #=> String
1189
1203
  # resp.nodegroup.labels #=> Hash
1190
1204
  # resp.nodegroup.labels["labelKey"] #=> String
@@ -1346,7 +1360,7 @@ module Aws::EKS
1346
1360
  # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
1347
1361
  # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
1348
1362
  # resp.cluster.identity.oidc.issuer #=> String
1349
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
1363
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
1350
1364
  # resp.cluster.certificate_authority.data #=> String
1351
1365
  # resp.cluster.client_request_token #=> String
1352
1366
  # resp.cluster.platform_version #=> String
@@ -1356,6 +1370,11 @@ module Aws::EKS
1356
1370
  # resp.cluster.encryption_config[0].resources #=> Array
1357
1371
  # resp.cluster.encryption_config[0].resources[0] #=> String
1358
1372
  # resp.cluster.encryption_config[0].provider.key_arn #=> String
1373
+ # resp.cluster.connector_config.activation_id #=> String
1374
+ # resp.cluster.connector_config.activation_code #=> String
1375
+ # resp.cluster.connector_config.activation_expiry #=> Time
1376
+ # resp.cluster.connector_config.provider #=> String
1377
+ # resp.cluster.connector_config.role_arn #=> String
1359
1378
  #
1360
1379
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster AWS API Documentation
1361
1380
  #
@@ -1463,7 +1482,7 @@ module Aws::EKS
1463
1482
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1464
1483
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1465
1484
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1466
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1485
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64"
1467
1486
  # resp.nodegroup.node_role #=> String
1468
1487
  # resp.nodegroup.labels #=> Hash
1469
1488
  # resp.nodegroup.labels["labelKey"] #=> String
@@ -1497,6 +1516,71 @@ module Aws::EKS
1497
1516
  req.send_request(options)
1498
1517
  end
1499
1518
 
1519
+ # Deregisters a connected cluster to remove it from the Amazon EKS
1520
+ # control plane.
1521
+ #
1522
+ # @option params [required, String] :name
1523
+ # The name of the connected cluster to deregister.
1524
+ #
1525
+ # @return [Types::DeregisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1526
+ #
1527
+ # * {Types::DeregisterClusterResponse#cluster #cluster} => Types::Cluster
1528
+ #
1529
+ # @example Request syntax with placeholder values
1530
+ #
1531
+ # resp = client.deregister_cluster({
1532
+ # name: "String", # required
1533
+ # })
1534
+ #
1535
+ # @example Response structure
1536
+ #
1537
+ # resp.cluster.name #=> String
1538
+ # resp.cluster.arn #=> String
1539
+ # resp.cluster.created_at #=> Time
1540
+ # resp.cluster.version #=> String
1541
+ # resp.cluster.endpoint #=> String
1542
+ # resp.cluster.role_arn #=> String
1543
+ # resp.cluster.resources_vpc_config.subnet_ids #=> Array
1544
+ # resp.cluster.resources_vpc_config.subnet_ids[0] #=> String
1545
+ # resp.cluster.resources_vpc_config.security_group_ids #=> Array
1546
+ # resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
1547
+ # resp.cluster.resources_vpc_config.cluster_security_group_id #=> String
1548
+ # resp.cluster.resources_vpc_config.vpc_id #=> String
1549
+ # resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
1550
+ # resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
1551
+ # resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
1552
+ # resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
1553
+ # resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
1554
+ # resp.cluster.logging.cluster_logging #=> Array
1555
+ # resp.cluster.logging.cluster_logging[0].types #=> Array
1556
+ # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
1557
+ # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
1558
+ # resp.cluster.identity.oidc.issuer #=> String
1559
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
1560
+ # resp.cluster.certificate_authority.data #=> String
1561
+ # resp.cluster.client_request_token #=> String
1562
+ # resp.cluster.platform_version #=> String
1563
+ # resp.cluster.tags #=> Hash
1564
+ # resp.cluster.tags["TagKey"] #=> String
1565
+ # resp.cluster.encryption_config #=> Array
1566
+ # resp.cluster.encryption_config[0].resources #=> Array
1567
+ # resp.cluster.encryption_config[0].resources[0] #=> String
1568
+ # resp.cluster.encryption_config[0].provider.key_arn #=> String
1569
+ # resp.cluster.connector_config.activation_id #=> String
1570
+ # resp.cluster.connector_config.activation_code #=> String
1571
+ # resp.cluster.connector_config.activation_expiry #=> Time
1572
+ # resp.cluster.connector_config.provider #=> String
1573
+ # resp.cluster.connector_config.role_arn #=> String
1574
+ #
1575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterCluster AWS API Documentation
1576
+ #
1577
+ # @overload deregister_cluster(params = {})
1578
+ # @param [Hash] params ({})
1579
+ def deregister_cluster(params = {}, options = {})
1580
+ req = build_request(:deregister_cluster, params)
1581
+ req.send_request(options)
1582
+ end
1583
+
1500
1584
  # Describes an Amazon EKS add-on.
1501
1585
  #
1502
1586
  # @option params [required, String] :cluster_name
@@ -1712,7 +1796,7 @@ module Aws::EKS
1712
1796
  # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
1713
1797
  # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
1714
1798
  # resp.cluster.identity.oidc.issuer #=> String
1715
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
1799
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
1716
1800
  # resp.cluster.certificate_authority.data #=> String
1717
1801
  # resp.cluster.client_request_token #=> String
1718
1802
  # resp.cluster.platform_version #=> String
@@ -1722,6 +1806,11 @@ module Aws::EKS
1722
1806
  # resp.cluster.encryption_config[0].resources #=> Array
1723
1807
  # resp.cluster.encryption_config[0].resources[0] #=> String
1724
1808
  # resp.cluster.encryption_config[0].provider.key_arn #=> String
1809
+ # resp.cluster.connector_config.activation_id #=> String
1810
+ # resp.cluster.connector_config.activation_code #=> String
1811
+ # resp.cluster.connector_config.activation_expiry #=> Time
1812
+ # resp.cluster.connector_config.provider #=> String
1813
+ # resp.cluster.connector_config.role_arn #=> String
1725
1814
  #
1726
1815
  #
1727
1816
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1880,7 +1969,7 @@ module Aws::EKS
1880
1969
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1881
1970
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1882
1971
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1883
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1972
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64"
1884
1973
  # resp.nodegroup.node_role #=> String
1885
1974
  # resp.nodegroup.labels #=> Hash
1886
1975
  # resp.nodegroup.labels["labelKey"] #=> String
@@ -2120,6 +2209,10 @@ module Aws::EKS
2120
2209
  #
2121
2210
  # </note>
2122
2211
  #
2212
+ # @option params [Array<String>] :include
2213
+ # Indicates whether connected clusters are included in the returned
2214
+ # list. Default value is 'ALL'.
2215
+ #
2123
2216
  # @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2124
2217
  #
2125
2218
  # * {Types::ListClustersResponse#clusters #clusters} => Array&lt;String&gt;
@@ -2148,6 +2241,7 @@ module Aws::EKS
2148
2241
  # resp = client.list_clusters({
2149
2242
  # max_results: 1,
2150
2243
  # next_token: "String",
2244
+ # include: ["String"],
2151
2245
  # })
2152
2246
  #
2153
2247
  # @example Response structure
@@ -2437,6 +2531,105 @@ module Aws::EKS
2437
2531
  req.send_request(options)
2438
2532
  end
2439
2533
 
2534
+ # Connects a Kubernetes cluster to the Amazon EKS control plane.
2535
+ #
2536
+ # Any Kubernetes cluster can be connected to the Amazon EKS control
2537
+ # plane to view current information about the cluster and its nodes.
2538
+ #
2539
+ # Cluster connection requires two steps. First, send a `
2540
+ # RegisterClusterRequest ` to add it to the Amazon EKS control plane.
2541
+ #
2542
+ # Second, a [Manifest][1] containing the `activationID` and
2543
+ # `activationCode` must be applied to the Kubernetes cluster through
2544
+ # it's native provider to provide visibility.
2545
+ #
2546
+ # After the Manifest is updated and applied, then the connected cluster
2547
+ # is visible to the Amazon EKS control plane. If the Manifest is not
2548
+ # applied within a set amount of time, then the connected cluster will
2549
+ # no longer be visible and must be deregistered. See DeregisterCluster.
2550
+ #
2551
+ #
2552
+ #
2553
+ # [1]: https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml
2554
+ #
2555
+ # @option params [required, String] :name
2556
+ # Define a unique name for this cluster within your AWS account.
2557
+ #
2558
+ # @option params [required, Types::ConnectorConfigRequest] :connector_config
2559
+ # The configuration settings required to connect the Kubernetes cluster
2560
+ # to the Amazon EKS control plane.
2561
+ #
2562
+ # @option params [String] :client_request_token
2563
+ # Unique, case-sensitive identifier that you provide to ensure the
2564
+ # idempotency of the request.
2565
+ #
2566
+ # **A suitable default value is auto-generated.** You should normally
2567
+ # not need to pass this option.**
2568
+ #
2569
+ # @return [Types::RegisterClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2570
+ #
2571
+ # * {Types::RegisterClusterResponse#cluster #cluster} => Types::Cluster
2572
+ #
2573
+ # @example Request syntax with placeholder values
2574
+ #
2575
+ # resp = client.register_cluster({
2576
+ # name: "ClusterName", # required
2577
+ # connector_config: { # required
2578
+ # role_arn: "String", # required
2579
+ # provider: "EKS_ANYWHERE", # required, accepts EKS_ANYWHERE, ANTHOS, GKE, AKS, OPENSHIFT, TANZU, RANCHER, EC2, OTHER
2580
+ # },
2581
+ # client_request_token: "String",
2582
+ # })
2583
+ #
2584
+ # @example Response structure
2585
+ #
2586
+ # resp.cluster.name #=> String
2587
+ # resp.cluster.arn #=> String
2588
+ # resp.cluster.created_at #=> Time
2589
+ # resp.cluster.version #=> String
2590
+ # resp.cluster.endpoint #=> String
2591
+ # resp.cluster.role_arn #=> String
2592
+ # resp.cluster.resources_vpc_config.subnet_ids #=> Array
2593
+ # resp.cluster.resources_vpc_config.subnet_ids[0] #=> String
2594
+ # resp.cluster.resources_vpc_config.security_group_ids #=> Array
2595
+ # resp.cluster.resources_vpc_config.security_group_ids[0] #=> String
2596
+ # resp.cluster.resources_vpc_config.cluster_security_group_id #=> String
2597
+ # resp.cluster.resources_vpc_config.vpc_id #=> String
2598
+ # resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
2599
+ # resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
2600
+ # resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
2601
+ # resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
2602
+ # resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
2603
+ # resp.cluster.logging.cluster_logging #=> Array
2604
+ # resp.cluster.logging.cluster_logging[0].types #=> Array
2605
+ # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
2606
+ # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
2607
+ # resp.cluster.identity.oidc.issuer #=> String
2608
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING", "PENDING"
2609
+ # resp.cluster.certificate_authority.data #=> String
2610
+ # resp.cluster.client_request_token #=> String
2611
+ # resp.cluster.platform_version #=> String
2612
+ # resp.cluster.tags #=> Hash
2613
+ # resp.cluster.tags["TagKey"] #=> String
2614
+ # resp.cluster.encryption_config #=> Array
2615
+ # resp.cluster.encryption_config[0].resources #=> Array
2616
+ # resp.cluster.encryption_config[0].resources[0] #=> String
2617
+ # resp.cluster.encryption_config[0].provider.key_arn #=> String
2618
+ # resp.cluster.connector_config.activation_id #=> String
2619
+ # resp.cluster.connector_config.activation_code #=> String
2620
+ # resp.cluster.connector_config.activation_expiry #=> Time
2621
+ # resp.cluster.connector_config.provider #=> String
2622
+ # resp.cluster.connector_config.role_arn #=> String
2623
+ #
2624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster AWS API Documentation
2625
+ #
2626
+ # @overload register_cluster(params = {})
2627
+ # @param [Hash] params ({})
2628
+ def register_cluster(params = {}, options = {})
2629
+ req = build_request(:register_cluster, params)
2630
+ req.send_request(options)
2631
+ end
2632
+
2440
2633
  # Associates the specified tags to a resource with the specified
2441
2634
  # `resourceArn`. If existing tags on a resource are not specified in the
2442
2635
  # request parameters, they are not changed. When a resource is deleted,
@@ -3024,7 +3217,7 @@ module Aws::EKS
3024
3217
  params: params,
3025
3218
  config: config)
3026
3219
  context[:gem_name] = 'aws-sdk-eks'
3027
- context[:gem_version] = '1.62.0'
3220
+ context[:gem_version] = '1.66.0'
3028
3221
  Seahorse::Client::Request.new(handlers, context)
3029
3222
  end
3030
3223
 
@@ -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"))
@@ -376,6 +396,12 @@ module Aws::EKS
376
396
  DeleteNodegroupResponse.add_member(:nodegroup, Shapes::ShapeRef.new(shape: Nodegroup, location_name: "nodegroup"))
377
397
  DeleteNodegroupResponse.struct_class = Types::DeleteNodegroupResponse
378
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
+
379
405
  DescribeAddonRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location: "uri", location_name: "name"))
380
406
  DescribeAddonRequest.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "addonName"))
381
407
  DescribeAddonRequest.struct_class = Types::DescribeAddonRequest
@@ -482,6 +508,8 @@ module Aws::EKS
482
508
 
483
509
  IdentityProviderConfigs.member = Shapes::ShapeRef.new(shape: IdentityProviderConfig)
484
510
 
511
+ IncludeClustersList.member = Shapes::ShapeRef.new(shape: String)
512
+
485
513
  InvalidParameterException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
486
514
  InvalidParameterException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
487
515
  InvalidParameterException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
@@ -524,6 +552,7 @@ module Aws::EKS
524
552
 
525
553
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
526
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"))
527
556
  ListClustersRequest.struct_class = Types::ListClustersRequest
528
557
 
529
558
  ListClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: StringList, location_name: "clusters"))
@@ -659,6 +688,14 @@ module Aws::EKS
659
688
  Provider.add_member(:key_arn, Shapes::ShapeRef.new(shape: String, location_name: "keyArn"))
660
689
  Provider.struct_class = Types::Provider
661
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
+
662
699
  RemoteAccessConfig.add_member(:ec2_ssh_key, Shapes::ShapeRef.new(shape: String, location_name: "ec2SshKey"))
663
700
  RemoteAccessConfig.add_member(:source_security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "sourceSecurityGroups"))
664
701
  RemoteAccessConfig.struct_class = Types::RemoteAccessConfig
@@ -977,6 +1014,19 @@ module Aws::EKS
977
1014
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
978
1015
  end)
979
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
+
980
1030
  api.add_operation(:describe_addon, Seahorse::Model::Operation.new.tap do |o|
981
1031
  o.name = "DescribeAddon"
982
1032
  o.http_method = "GET"
@@ -1204,6 +1254,19 @@ module Aws::EKS
1204
1254
  )
1205
1255
  end)
1206
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
+
1207
1270
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1208
1271
  o.name = "TagResource"
1209
1272
  o.http_method = "POST"
@@ -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
  #
@@ -864,7 +934,7 @@ module Aws::EKS
864
934
  # disk_size: 1,
865
935
  # subnets: ["String"], # required
866
936
  # instance_types: ["String"],
867
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
937
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64
868
938
  # remote_access: {
869
939
  # ec2_ssh_key: "String",
870
940
  # source_security_groups: ["String"],
@@ -1272,6 +1342,37 @@ module Aws::EKS
1272
1342
  include Aws::Structure
1273
1343
  end
1274
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
+
1275
1376
  # @note When making an API call, you may pass DescribeAddonRequest
1276
1377
  # data as a hash:
1277
1378
  #
@@ -1868,7 +1969,7 @@ module Aws::EKS
1868
1969
  include Aws::Structure
1869
1970
  end
1870
1971
 
1871
- # An object that represents an identity configuration.
1972
+ # The full description of your identity configuration.
1872
1973
  #
1873
1974
  # @!attribute [rw] oidc
1874
1975
  # An object that represents an OpenID Connect (OIDC) identity provider
@@ -2228,6 +2329,7 @@ module Aws::EKS
2228
2329
  # {
2229
2330
  # max_results: 1,
2230
2331
  # next_token: "String",
2332
+ # include: ["String"],
2231
2333
  # }
2232
2334
  #
2233
2335
  # @!attribute [rw] max_results
@@ -2254,11 +2356,17 @@ module Aws::EKS
2254
2356
  # </note>
2255
2357
  # @return [String]
2256
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
+ #
2257
2364
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClustersRequest AWS API Documentation
2258
2365
  #
2259
2366
  class ListClustersRequest < Struct.new(
2260
2367
  :max_results,
2261
- :next_token)
2368
+ :next_token,
2369
+ :include)
2262
2370
  SENSITIVE = []
2263
2371
  include Aws::Structure
2264
2372
  end
@@ -3165,6 +3273,57 @@ module Aws::EKS
3165
3273
  include Aws::Structure
3166
3274
  end
3167
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
+
3168
3327
  # An object representing the remote access configuration for the managed
3169
3328
  # node group.
3170
3329
  #
@@ -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
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-eks/customizations'
49
49
  # @!group service
50
50
  module Aws::EKS
51
51
 
52
- GEM_VERSION = '1.62.0'
52
+ GEM_VERSION = '1.66.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.62.0
4
+ version: 1.66.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-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-04 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.120.0
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement