@aws-sdk/client-eks 3.28.0 → 3.32.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/EKS.ts +83 -0
  3. package/EKSClient.ts +6 -0
  4. package/commands/DeregisterClusterCommand.ts +94 -0
  5. package/commands/RegisterClusterCommand.ts +103 -0
  6. package/dist/cjs/EKS.js +30 -0
  7. package/dist/cjs/EKS.js.map +1 -1
  8. package/dist/cjs/EKSClient.js.map +1 -1
  9. package/dist/cjs/commands/DeregisterClusterCommand.js +61 -0
  10. package/dist/cjs/commands/DeregisterClusterCommand.js.map +1 -0
  11. package/dist/cjs/commands/RegisterClusterCommand.js +70 -0
  12. package/dist/cjs/commands/RegisterClusterCommand.js.map +1 -0
  13. package/dist/cjs/index.js +2 -0
  14. package/dist/cjs/index.js.map +1 -1
  15. package/dist/cjs/models/models_0.js +69 -3
  16. package/dist/cjs/models/models_0.js.map +1 -1
  17. package/dist/cjs/package.json +32 -32
  18. package/dist/cjs/protocols/Aws_restJson1.js +279 -45
  19. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  20. package/dist/cjs/waiters/waitForClusterDeleted.js +9 -0
  21. package/dist/cjs/waiters/waitForClusterDeleted.js.map +1 -1
  22. package/dist/es/EKS.js +30 -0
  23. package/dist/es/EKS.js.map +1 -1
  24. package/dist/es/EKSClient.js.map +1 -1
  25. package/dist/es/commands/DeregisterClusterCommand.js +65 -0
  26. package/dist/es/commands/DeregisterClusterCommand.js.map +1 -0
  27. package/dist/es/commands/RegisterClusterCommand.js +74 -0
  28. package/dist/es/commands/RegisterClusterCommand.js.map +1 -0
  29. package/dist/es/endpoints.js +1 -2
  30. package/dist/es/endpoints.js.map +1 -1
  31. package/dist/es/index.js +2 -0
  32. package/dist/es/index.js.map +1 -1
  33. package/dist/es/models/models_0.js +54 -0
  34. package/dist/es/models/models_0.js.map +1 -1
  35. package/dist/es/package.json +32 -32
  36. package/dist/es/protocols/Aws_restJson1.js +459 -135
  37. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  38. package/dist/es/waiters/waitForClusterDeleted.js +10 -1
  39. package/dist/es/waiters/waitForClusterDeleted.js.map +1 -1
  40. package/dist/types/EKS.d.ts +23 -0
  41. package/dist/types/EKSClient.d.ts +4 -2
  42. package/dist/types/commands/DeregisterClusterCommand.d.ts +35 -0
  43. package/dist/types/commands/RegisterClusterCommand.d.ts +44 -0
  44. package/dist/types/index.d.ts +2 -0
  45. package/dist/types/models/models_0.d.ts +129 -3
  46. package/dist/types/protocols/Aws_restJson1.d.ts +6 -0
  47. package/dist/types/ts3.4/EKS.d.ts +23 -0
  48. package/dist/types/ts3.4/EKSClient.d.ts +4 -2
  49. package/dist/types/ts3.4/commands/DeregisterClusterCommand.d.ts +35 -0
  50. package/dist/types/ts3.4/commands/RegisterClusterCommand.d.ts +44 -0
  51. package/dist/types/ts3.4/index.d.ts +2 -0
  52. package/dist/types/ts3.4/models/models_0.d.ts +129 -3
  53. package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  54. package/index.ts +2 -0
  55. package/models/models_0.ts +163 -3
  56. package/package.json +32 -32
  57. package/protocols/Aws_restJson1.ts +312 -44
  58. package/waiters/waitForClusterDeleted.ts +8 -0
@@ -10,6 +10,7 @@ export * from "./commands/DeleteAddonCommand";
10
10
  export * from "./commands/DeleteClusterCommand";
11
11
  export * from "./commands/DeleteFargateProfileCommand";
12
12
  export * from "./commands/DeleteNodegroupCommand";
13
+ export * from "./commands/DeregisterClusterCommand";
13
14
  export * from "./commands/DescribeAddonCommand";
14
15
  export * from "./waiters/waitForAddonActive";
15
16
  export * from "./waiters/waitForAddonDeleted";
@@ -40,6 +41,7 @@ export * from "./pagination/ListNodegroupsPaginator";
40
41
  export * from "./commands/ListTagsForResourceCommand";
41
42
  export * from "./commands/ListUpdatesCommand";
42
43
  export * from "./pagination/ListUpdatesPaginator";
44
+ export * from "./commands/RegisterClusterCommand";
43
45
  export * from "./commands/TagResourceCommand";
44
46
  export * from "./commands/UntagResourceCommand";
45
47
  export * from "./commands/UpdateAddonCommand";
@@ -1008,6 +1008,38 @@ export declare namespace Certificate {
1008
1008
  */
1009
1009
  const filterSensitiveLog: (obj: Certificate) => any;
1010
1010
  }
1011
+ /**
1012
+ * <p>The full description of your connected cluster.</p>
1013
+ */
1014
+ export interface ConnectorConfigResponse {
1015
+ /**
1016
+ * <p>A unique ID associated with the cluster for registration purposes.</p>
1017
+ */
1018
+ activationId?: string;
1019
+ /**
1020
+ * <p>A unique code associated with the cluster for registration purposes.</p>
1021
+ */
1022
+ activationCode?: string;
1023
+ /**
1024
+ * <p>The expiration time of the connected cluster. The cluster's YAML file must be applied through the native
1025
+ * provider.</p>
1026
+ */
1027
+ activationExpiry?: Date;
1028
+ /**
1029
+ * <p>The cluster's cloud service provider.</p>
1030
+ */
1031
+ provider?: string;
1032
+ /**
1033
+ * <p>The Amazon Resource Name (ARN) of the role that is used by the EKS connector to communicate with AWS services from the connected Kubernetes cluster.</p>
1034
+ */
1035
+ roleArn?: string;
1036
+ }
1037
+ export declare namespace ConnectorConfigResponse {
1038
+ /**
1039
+ * @internal
1040
+ */
1041
+ const filterSensitiveLog: (obj: ConnectorConfigResponse) => any;
1042
+ }
1011
1043
  /**
1012
1044
  * <p>An object representing the <a href="https://openid.net/connect/">OpenID
1013
1045
  * Connect</a> (OIDC) identity provider information for the cluster.</p>
@@ -1117,7 +1149,7 @@ export declare namespace VpcConfigResponse {
1117
1149
  */
1118
1150
  const filterSensitiveLog: (obj: VpcConfigResponse) => any;
1119
1151
  }
1120
- export declare type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "UPDATING";
1152
+ export declare type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "PENDING" | "UPDATING";
1121
1153
  /**
1122
1154
  * <p>An object representing an Amazon EKS cluster.</p>
1123
1155
  */
@@ -1190,7 +1222,7 @@ export interface Cluster {
1190
1222
  * <p>The metadata that you apply to the cluster to assist with categorization and
1191
1223
  * organization. Each tag consists of a key and an optional value, both of which you
1192
1224
  * define. Cluster tags do not propagate to any other resources associated with the
1193
- * cluster. </p>
1225
+ * cluster.</p>
1194
1226
  */
1195
1227
  tags?: {
1196
1228
  [key: string]: string;
@@ -1199,6 +1231,10 @@ export interface Cluster {
1199
1231
  * <p>The encryption configuration for the cluster.</p>
1200
1232
  */
1201
1233
  encryptionConfig?: EncryptionConfig[];
1234
+ /**
1235
+ * <p>The configuration used to connect to a cluster for registration.</p>
1236
+ */
1237
+ connectorConfig?: ConnectorConfigResponse;
1202
1238
  }
1203
1239
  export declare namespace Cluster {
1204
1240
  /**
@@ -2142,6 +2178,30 @@ export declare namespace DeleteNodegroupResponse {
2142
2178
  */
2143
2179
  const filterSensitiveLog: (obj: DeleteNodegroupResponse) => any;
2144
2180
  }
2181
+ export interface DeregisterClusterRequest {
2182
+ /**
2183
+ * <p>The name of the connected cluster to deregister.</p>
2184
+ */
2185
+ name: string | undefined;
2186
+ }
2187
+ export declare namespace DeregisterClusterRequest {
2188
+ /**
2189
+ * @internal
2190
+ */
2191
+ const filterSensitiveLog: (obj: DeregisterClusterRequest) => any;
2192
+ }
2193
+ export interface DeregisterClusterResponse {
2194
+ /**
2195
+ * <p>An object representing an Amazon EKS cluster.</p>
2196
+ */
2197
+ cluster?: Cluster;
2198
+ }
2199
+ export declare namespace DeregisterClusterResponse {
2200
+ /**
2201
+ * @internal
2202
+ */
2203
+ const filterSensitiveLog: (obj: DeregisterClusterResponse) => any;
2204
+ }
2145
2205
  export interface DescribeAddonRequest {
2146
2206
  /**
2147
2207
  * <p>The name of the cluster.</p>
@@ -2396,7 +2456,7 @@ export declare namespace OidcIdentityProviderConfig {
2396
2456
  const filterSensitiveLog: (obj: OidcIdentityProviderConfig) => any;
2397
2457
  }
2398
2458
  /**
2399
- * <p>An object that represents an identity configuration.</p>
2459
+ * <p>The full description of your identity configuration.</p>
2400
2460
  */
2401
2461
  export interface IdentityProviderConfigResponse {
2402
2462
  /**
@@ -2604,6 +2664,10 @@ export interface ListClustersRequest {
2604
2664
  * </note>
2605
2665
  */
2606
2666
  nextToken?: string;
2667
+ /**
2668
+ * <p>Indicates whether connected clusters are included in the returned list. Default value is 'ALL'.</p>
2669
+ */
2670
+ include?: string[];
2607
2671
  }
2608
2672
  export declare namespace ListClustersRequest {
2609
2673
  /**
@@ -2898,6 +2962,68 @@ export declare namespace ListUpdatesResponse {
2898
2962
  */
2899
2963
  const filterSensitiveLog: (obj: ListUpdatesResponse) => any;
2900
2964
  }
2965
+ export declare enum ConnectorConfigProvider {
2966
+ AKS = "AKS",
2967
+ ANTHOS = "ANTHOS",
2968
+ EC2 = "EC2",
2969
+ EKS_ANYWHERE = "EKS_ANYWHERE",
2970
+ GKE = "GKE",
2971
+ OPENSHIFT = "OPENSHIFT",
2972
+ OTHER = "OTHER",
2973
+ RANCHER = "RANCHER",
2974
+ TANZU = "TANZU"
2975
+ }
2976
+ /**
2977
+ * <p>The configuration sent to a cluster for configuration.</p>
2978
+ */
2979
+ export interface ConnectorConfigRequest {
2980
+ /**
2981
+ * <p>The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.</p>
2982
+ */
2983
+ roleArn: string | undefined;
2984
+ /**
2985
+ * <p>The cloud provider for the target cluster to connect.</p>
2986
+ */
2987
+ provider: ConnectorConfigProvider | string | undefined;
2988
+ }
2989
+ export declare namespace ConnectorConfigRequest {
2990
+ /**
2991
+ * @internal
2992
+ */
2993
+ const filterSensitiveLog: (obj: ConnectorConfigRequest) => any;
2994
+ }
2995
+ export interface RegisterClusterRequest {
2996
+ /**
2997
+ * <p>Define a unique name for this cluster within your AWS account.</p>
2998
+ */
2999
+ name: string | undefined;
3000
+ /**
3001
+ * <p>The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.</p>
3002
+ */
3003
+ connectorConfig: ConnectorConfigRequest | undefined;
3004
+ /**
3005
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
3006
+ */
3007
+ clientRequestToken?: string;
3008
+ }
3009
+ export declare namespace RegisterClusterRequest {
3010
+ /**
3011
+ * @internal
3012
+ */
3013
+ const filterSensitiveLog: (obj: RegisterClusterRequest) => any;
3014
+ }
3015
+ export interface RegisterClusterResponse {
3016
+ /**
3017
+ * <p>An object representing an Amazon EKS cluster.</p>
3018
+ */
3019
+ cluster?: Cluster;
3020
+ }
3021
+ export declare namespace RegisterClusterResponse {
3022
+ /**
3023
+ * @internal
3024
+ */
3025
+ const filterSensitiveLog: (obj: RegisterClusterResponse) => any;
3026
+ }
2901
3027
  export interface TagResourceRequest {
2902
3028
  /**
2903
3029
  * <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources
@@ -8,6 +8,7 @@ import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "../commands/D
8
8
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "../commands/DeleteClusterCommand";
9
9
  import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } from "../commands/DeleteFargateProfileCommand";
10
10
  import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "../commands/DeleteNodegroupCommand";
11
+ import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "../commands/DeregisterClusterCommand";
11
12
  import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "../commands/DescribeAddonCommand";
12
13
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "../commands/DescribeAddonVersionsCommand";
13
14
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
@@ -23,6 +24,7 @@ import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCom
23
24
  import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "../commands/ListNodegroupsCommand";
24
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
25
26
  import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "../commands/ListUpdatesCommand";
27
+ import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "../commands/RegisterClusterCommand";
26
28
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
27
29
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
28
30
  import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "../commands/UpdateAddonCommand";
@@ -42,6 +44,7 @@ export declare const serializeAws_restJson1DeleteAddonCommand: (input: DeleteAdd
42
44
  export declare const serializeAws_restJson1DeleteClusterCommand: (input: DeleteClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
45
  export declare const serializeAws_restJson1DeleteFargateProfileCommand: (input: DeleteFargateProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
46
  export declare const serializeAws_restJson1DeleteNodegroupCommand: (input: DeleteNodegroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ export declare const serializeAws_restJson1DeregisterClusterCommand: (input: DeregisterClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
48
  export declare const serializeAws_restJson1DescribeAddonCommand: (input: DescribeAddonCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
49
  export declare const serializeAws_restJson1DescribeAddonVersionsCommand: (input: DescribeAddonVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
50
  export declare const serializeAws_restJson1DescribeClusterCommand: (input: DescribeClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -57,6 +60,7 @@ export declare const serializeAws_restJson1ListIdentityProviderConfigsCommand: (
57
60
  export declare const serializeAws_restJson1ListNodegroupsCommand: (input: ListNodegroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
61
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
62
  export declare const serializeAws_restJson1ListUpdatesCommand: (input: ListUpdatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ export declare const serializeAws_restJson1RegisterClusterCommand: (input: RegisterClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
64
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
65
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
66
  export declare const serializeAws_restJson1UpdateAddonCommand: (input: UpdateAddonCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,6 +78,7 @@ export declare const deserializeAws_restJson1DeleteAddonCommand: (output: __Http
74
78
  export declare const deserializeAws_restJson1DeleteClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteClusterCommandOutput>;
75
79
  export declare const deserializeAws_restJson1DeleteFargateProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFargateProfileCommandOutput>;
76
80
  export declare const deserializeAws_restJson1DeleteNodegroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteNodegroupCommandOutput>;
81
+ export declare const deserializeAws_restJson1DeregisterClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterClusterCommandOutput>;
77
82
  export declare const deserializeAws_restJson1DescribeAddonCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonCommandOutput>;
78
83
  export declare const deserializeAws_restJson1DescribeAddonVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonVersionsCommandOutput>;
79
84
  export declare const deserializeAws_restJson1DescribeClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeClusterCommandOutput>;
@@ -89,6 +94,7 @@ export declare const deserializeAws_restJson1ListIdentityProviderConfigsCommand:
89
94
  export declare const deserializeAws_restJson1ListNodegroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListNodegroupsCommandOutput>;
90
95
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
91
96
  export declare const deserializeAws_restJson1ListUpdatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUpdatesCommandOutput>;
97
+ export declare const deserializeAws_restJson1RegisterClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterClusterCommandOutput>;
92
98
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
93
99
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
94
100
  export declare const deserializeAws_restJson1UpdateAddonCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAddonCommandOutput>;
package/index.ts CHANGED
@@ -10,6 +10,7 @@ export * from "./commands/DeleteAddonCommand";
10
10
  export * from "./commands/DeleteClusterCommand";
11
11
  export * from "./commands/DeleteFargateProfileCommand";
12
12
  export * from "./commands/DeleteNodegroupCommand";
13
+ export * from "./commands/DeregisterClusterCommand";
13
14
  export * from "./commands/DescribeAddonCommand";
14
15
  export * from "./waiters/waitForAddonActive";
15
16
  export * from "./waiters/waitForAddonDeleted";
@@ -40,6 +41,7 @@ export * from "./pagination/ListNodegroupsPaginator";
40
41
  export * from "./commands/ListTagsForResourceCommand";
41
42
  export * from "./commands/ListUpdatesCommand";
42
43
  export * from "./pagination/ListUpdatesPaginator";
44
+ export * from "./commands/RegisterClusterCommand";
43
45
  export * from "./commands/TagResourceCommand";
44
46
  export * from "./commands/UntagResourceCommand";
45
47
  export * from "./commands/UpdateAddonCommand";
@@ -1209,6 +1209,46 @@ export namespace Certificate {
1209
1209
  });
1210
1210
  }
1211
1211
 
1212
+ /**
1213
+ * <p>The full description of your connected cluster.</p>
1214
+ */
1215
+ export interface ConnectorConfigResponse {
1216
+ /**
1217
+ * <p>A unique ID associated with the cluster for registration purposes.</p>
1218
+ */
1219
+ activationId?: string;
1220
+
1221
+ /**
1222
+ * <p>A unique code associated with the cluster for registration purposes.</p>
1223
+ */
1224
+ activationCode?: string;
1225
+
1226
+ /**
1227
+ * <p>The expiration time of the connected cluster. The cluster's YAML file must be applied through the native
1228
+ * provider.</p>
1229
+ */
1230
+ activationExpiry?: Date;
1231
+
1232
+ /**
1233
+ * <p>The cluster's cloud service provider.</p>
1234
+ */
1235
+ provider?: string;
1236
+
1237
+ /**
1238
+ * <p>The Amazon Resource Name (ARN) of the role that is used by the EKS connector to communicate with AWS services from the connected Kubernetes cluster.</p>
1239
+ */
1240
+ roleArn?: string;
1241
+ }
1242
+
1243
+ export namespace ConnectorConfigResponse {
1244
+ /**
1245
+ * @internal
1246
+ */
1247
+ export const filterSensitiveLog = (obj: ConnectorConfigResponse): any => ({
1248
+ ...obj,
1249
+ });
1250
+ }
1251
+
1212
1252
  /**
1213
1253
  * <p>An object representing the <a href="https://openid.net/connect/">OpenID
1214
1254
  * Connect</a> (OIDC) identity provider information for the cluster.</p>
@@ -1340,7 +1380,7 @@ export namespace VpcConfigResponse {
1340
1380
  });
1341
1381
  }
1342
1382
 
1343
- export type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "UPDATING";
1383
+ export type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "PENDING" | "UPDATING";
1344
1384
 
1345
1385
  /**
1346
1386
  * <p>An object representing an Amazon EKS cluster.</p>
@@ -1428,7 +1468,7 @@ export interface Cluster {
1428
1468
  * <p>The metadata that you apply to the cluster to assist with categorization and
1429
1469
  * organization. Each tag consists of a key and an optional value, both of which you
1430
1470
  * define. Cluster tags do not propagate to any other resources associated with the
1431
- * cluster. </p>
1471
+ * cluster.</p>
1432
1472
  */
1433
1473
  tags?: { [key: string]: string };
1434
1474
 
@@ -1436,6 +1476,11 @@ export interface Cluster {
1436
1476
  * <p>The encryption configuration for the cluster.</p>
1437
1477
  */
1438
1478
  encryptionConfig?: EncryptionConfig[];
1479
+
1480
+ /**
1481
+ * <p>The configuration used to connect to a cluster for registration.</p>
1482
+ */
1483
+ connectorConfig?: ConnectorConfigResponse;
1439
1484
  }
1440
1485
 
1441
1486
  export namespace Cluster {
@@ -2562,6 +2607,38 @@ export namespace DeleteNodegroupResponse {
2562
2607
  });
2563
2608
  }
2564
2609
 
2610
+ export interface DeregisterClusterRequest {
2611
+ /**
2612
+ * <p>The name of the connected cluster to deregister.</p>
2613
+ */
2614
+ name: string | undefined;
2615
+ }
2616
+
2617
+ export namespace DeregisterClusterRequest {
2618
+ /**
2619
+ * @internal
2620
+ */
2621
+ export const filterSensitiveLog = (obj: DeregisterClusterRequest): any => ({
2622
+ ...obj,
2623
+ });
2624
+ }
2625
+
2626
+ export interface DeregisterClusterResponse {
2627
+ /**
2628
+ * <p>An object representing an Amazon EKS cluster.</p>
2629
+ */
2630
+ cluster?: Cluster;
2631
+ }
2632
+
2633
+ export namespace DeregisterClusterResponse {
2634
+ /**
2635
+ * @internal
2636
+ */
2637
+ export const filterSensitiveLog = (obj: DeregisterClusterResponse): any => ({
2638
+ ...obj,
2639
+ });
2640
+ }
2641
+
2565
2642
  export interface DescribeAddonRequest {
2566
2643
  /**
2567
2644
  * <p>The name of the cluster.</p>
@@ -2876,7 +2953,7 @@ export namespace OidcIdentityProviderConfig {
2876
2953
  }
2877
2954
 
2878
2955
  /**
2879
- * <p>An object that represents an identity configuration.</p>
2956
+ * <p>The full description of your identity configuration.</p>
2880
2957
  */
2881
2958
  export interface IdentityProviderConfigResponse {
2882
2959
  /**
@@ -3134,6 +3211,11 @@ export interface ListClustersRequest {
3134
3211
  * </note>
3135
3212
  */
3136
3213
  nextToken?: string;
3214
+
3215
+ /**
3216
+ * <p>Indicates whether connected clusters are included in the returned list. Default value is 'ALL'.</p>
3217
+ */
3218
+ include?: string[];
3137
3219
  }
3138
3220
 
3139
3221
  export namespace ListClustersRequest {
@@ -3497,6 +3579,84 @@ export namespace ListUpdatesResponse {
3497
3579
  });
3498
3580
  }
3499
3581
 
3582
+ export enum ConnectorConfigProvider {
3583
+ AKS = "AKS",
3584
+ ANTHOS = "ANTHOS",
3585
+ EC2 = "EC2",
3586
+ EKS_ANYWHERE = "EKS_ANYWHERE",
3587
+ GKE = "GKE",
3588
+ OPENSHIFT = "OPENSHIFT",
3589
+ OTHER = "OTHER",
3590
+ RANCHER = "RANCHER",
3591
+ TANZU = "TANZU",
3592
+ }
3593
+
3594
+ /**
3595
+ * <p>The configuration sent to a cluster for configuration.</p>
3596
+ */
3597
+ export interface ConnectorConfigRequest {
3598
+ /**
3599
+ * <p>The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.</p>
3600
+ */
3601
+ roleArn: string | undefined;
3602
+
3603
+ /**
3604
+ * <p>The cloud provider for the target cluster to connect.</p>
3605
+ */
3606
+ provider: ConnectorConfigProvider | string | undefined;
3607
+ }
3608
+
3609
+ export namespace ConnectorConfigRequest {
3610
+ /**
3611
+ * @internal
3612
+ */
3613
+ export const filterSensitiveLog = (obj: ConnectorConfigRequest): any => ({
3614
+ ...obj,
3615
+ });
3616
+ }
3617
+
3618
+ export interface RegisterClusterRequest {
3619
+ /**
3620
+ * <p>Define a unique name for this cluster within your AWS account.</p>
3621
+ */
3622
+ name: string | undefined;
3623
+
3624
+ /**
3625
+ * <p>The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.</p>
3626
+ */
3627
+ connectorConfig: ConnectorConfigRequest | undefined;
3628
+
3629
+ /**
3630
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
3631
+ */
3632
+ clientRequestToken?: string;
3633
+ }
3634
+
3635
+ export namespace RegisterClusterRequest {
3636
+ /**
3637
+ * @internal
3638
+ */
3639
+ export const filterSensitiveLog = (obj: RegisterClusterRequest): any => ({
3640
+ ...obj,
3641
+ });
3642
+ }
3643
+
3644
+ export interface RegisterClusterResponse {
3645
+ /**
3646
+ * <p>An object representing an Amazon EKS cluster.</p>
3647
+ */
3648
+ cluster?: Cluster;
3649
+ }
3650
+
3651
+ export namespace RegisterClusterResponse {
3652
+ /**
3653
+ * @internal
3654
+ */
3655
+ export const filterSensitiveLog = (obj: RegisterClusterResponse): any => ({
3656
+ ...obj,
3657
+ });
3658
+ }
3659
+
3500
3660
  export interface TagResourceRequest {
3501
3661
  /**
3502
3662
  * <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,40 +27,40 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
58
- "@aws-sdk/util-waiter": "3.25.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
+ "@aws-sdk/util-waiter": "3.32.0",
59
59
  "tslib": "^2.3.0",
60
60
  "uuid": "^8.3.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@aws-sdk/client-documentation-generator": "3.23.0",
63
+ "@aws-sdk/client-documentation-generator": "3.32.0",
64
64
  "@types/node": "^12.7.5",
65
65
  "@types/uuid": "^8.3.0",
66
66
  "downlevel-dts": "0.7.0",
@@ -68,7 +68,7 @@
68
68
  "rimraf": "^3.0.0",
69
69
  "ts-jest": "^26.4.1",
70
70
  "typedoc": "^0.19.2",
71
- "typescript": "~4.3.2"
71
+ "typescript": "~4.3.5"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=10.0.0"