@aws-sdk/client-eks 3.163.0 → 3.168.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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/EKS.d.ts +19 -17
- package/dist-types/commands/CreateClusterCommand.d.ts +19 -17
- package/dist-types/models/models_0.d.ts +107 -45
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/package.json +35 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.166.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.165.0...v3.166.0) (2022-09-07)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-eks:** Adds support for EKS Addons ResolveConflicts "preserve" flag. Also adds new update failed status for EKS Addons. ([315a2c6](https://github.com/aws/aws-sdk-js-v3/commit/315a2c6c37c60006640d21abfcba9a261e13869b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
@@ -3436,6 +3436,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3436
3436
|
if (typeof cleanValue === "number") {
|
|
3437
3437
|
cleanValue = cleanValue.toString();
|
|
3438
3438
|
}
|
|
3439
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3440
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3441
|
+
}
|
|
3439
3442
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3440
3443
|
cleanValue = cleanValue.split(":")[0];
|
|
3441
3444
|
}
|
|
@@ -4337,6 +4337,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4337
4337
|
if (typeof cleanValue === "number") {
|
|
4338
4338
|
cleanValue = cleanValue.toString();
|
|
4339
4339
|
}
|
|
4340
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
4341
|
+
cleanValue = cleanValue.split(",")[0];
|
|
4342
|
+
}
|
|
4340
4343
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4341
4344
|
cleanValue = cleanValue.split(":")[0];
|
|
4342
4345
|
}
|
package/dist-types/EKS.d.ts
CHANGED
|
@@ -83,25 +83,27 @@ export declare class EKS extends EKSClient {
|
|
|
83
83
|
createAddon(args: CreateAddonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAddonCommandOutput) => void): void;
|
|
84
84
|
/**
|
|
85
85
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
86
|
-
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
87
|
-
* software, such as <code>etcd</code> and the API server. The control plane
|
|
88
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
89
|
-
* endpoint. Each Amazon EKS cluster control
|
|
90
|
-
* own set of Amazon EC2
|
|
86
|
+
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
87
|
+
* Kubernetes software, such as <code>etcd</code> and the API server. The control plane
|
|
88
|
+
* runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
89
|
+
* the Amazon EKS API server endpoint. Each Amazon EKS cluster control
|
|
90
|
+
* plane is single tenant and unique. It runs on its own set of Amazon EC2
|
|
91
|
+
* instances.</p>
|
|
91
92
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
92
|
-
* fronted by an Elastic Load Balancing
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* cluster
|
|
93
|
+
* fronted by an Elastic Load Balancing
|
|
94
|
+
* Network Load Balancer. Amazon EKS also provisions elastic network interfaces in
|
|
95
|
+
* your VPC subnets to provide connectivity from the control plane instances to the nodes
|
|
96
|
+
* (for example, to support <code>kubectl exec</code>, <code>logs</code>, and
|
|
97
|
+
* <code>proxy</code> data flows).</p>
|
|
98
|
+
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your
|
|
99
|
+
* cluster's control plane over the Kubernetes API server endpoint and a certificate file
|
|
100
|
+
* that is created for your cluster.</p>
|
|
99
101
|
*
|
|
100
|
-
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
101
|
-
*
|
|
102
|
-
* nodes into your cluster. For more
|
|
103
|
-
*
|
|
104
|
-
*
|
|
102
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
103
|
+
* Amazon EKS cluster, you must configure your Kubernetes tooling to
|
|
104
|
+
* communicate with the API server and launch nodes into your cluster. For more
|
|
105
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching
|
|
106
|
+
* Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
105
107
|
*/
|
|
106
108
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
107
109
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
@@ -8,25 +8,27 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
11
|
-
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
12
|
-
* software, such as <code>etcd</code> and the API server. The control plane
|
|
13
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
14
|
-
* endpoint. Each Amazon EKS cluster control
|
|
15
|
-
* own set of Amazon EC2
|
|
11
|
+
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
12
|
+
* Kubernetes software, such as <code>etcd</code> and the API server. The control plane
|
|
13
|
+
* runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
14
|
+
* the Amazon EKS API server endpoint. Each Amazon EKS cluster control
|
|
15
|
+
* plane is single tenant and unique. It runs on its own set of Amazon EC2
|
|
16
|
+
* instances.</p>
|
|
16
17
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
17
|
-
* fronted by an Elastic Load Balancing
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* cluster
|
|
18
|
+
* fronted by an Elastic Load Balancing
|
|
19
|
+
* Network Load Balancer. Amazon EKS also provisions elastic network interfaces in
|
|
20
|
+
* your VPC subnets to provide connectivity from the control plane instances to the nodes
|
|
21
|
+
* (for example, to support <code>kubectl exec</code>, <code>logs</code>, and
|
|
22
|
+
* <code>proxy</code> data flows).</p>
|
|
23
|
+
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your
|
|
24
|
+
* cluster's control plane over the Kubernetes API server endpoint and a certificate file
|
|
25
|
+
* that is created for your cluster.</p>
|
|
24
26
|
*
|
|
25
|
-
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
26
|
-
*
|
|
27
|
-
* nodes into your cluster. For more
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
28
|
+
* Amazon EKS cluster, you must configure your Kubernetes tooling to
|
|
29
|
+
* communicate with the API server and launch nodes into your cluster. For more
|
|
30
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching
|
|
31
|
+
* Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -50,7 +50,7 @@ export interface AddonHealth {
|
|
|
50
50
|
*/
|
|
51
51
|
issues?: AddonIssue[];
|
|
52
52
|
}
|
|
53
|
-
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATING";
|
|
53
|
+
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATE_FAILED" | "UPDATING";
|
|
54
54
|
/**
|
|
55
55
|
* <p>An Amazon EKS add-on. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html">Amazon EKS add-ons</a> in
|
|
56
56
|
* the <i>Amazon EKS User Guide</i>.</p>
|
|
@@ -95,9 +95,8 @@ export interface Addon {
|
|
|
95
95
|
serviceAccountRoleArn?: string;
|
|
96
96
|
/**
|
|
97
97
|
* <p>The metadata that you apply to the add-on to assist with categorization and
|
|
98
|
-
* organization. Each tag consists of a key and an optional value. You define both.
|
|
99
|
-
*
|
|
100
|
-
* </p>
|
|
98
|
+
* organization. Each tag consists of a key and an optional value. You define both. Add-on
|
|
99
|
+
* tags do not propagate to any other resources associated with the cluster. </p>
|
|
101
100
|
*/
|
|
102
101
|
tags?: Record<string, string>;
|
|
103
102
|
}
|
|
@@ -596,7 +595,7 @@ export interface AutoScalingGroup {
|
|
|
596
595
|
*/
|
|
597
596
|
name?: string;
|
|
598
597
|
}
|
|
599
|
-
export declare type ResolveConflicts = "NONE" | "OVERWRITE";
|
|
598
|
+
export declare type ResolveConflicts = "NONE" | "OVERWRITE" | "PRESERVE";
|
|
600
599
|
export interface CreateAddonRequest {
|
|
601
600
|
/**
|
|
602
601
|
* <p>The name of the cluster to create the add-on for.</p>
|
|
@@ -626,8 +625,31 @@ export interface CreateAddonRequest {
|
|
|
626
625
|
*/
|
|
627
626
|
serviceAccountRoleArn?: string;
|
|
628
627
|
/**
|
|
629
|
-
* <p>How to resolve
|
|
630
|
-
*
|
|
628
|
+
* <p>How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are
|
|
629
|
+
* handled based on the value you choose:</p>
|
|
630
|
+
* <ul>
|
|
631
|
+
* <li>
|
|
632
|
+
* <p>
|
|
633
|
+
* <b>None</b> – If the self-managed version of
|
|
634
|
+
* the add-on is installed on your cluster, Amazon EKS doesn't change the
|
|
635
|
+
* value. Creation of the add-on might fail.</p>
|
|
636
|
+
* </li>
|
|
637
|
+
* <li>
|
|
638
|
+
* <p>
|
|
639
|
+
* <b>Overwrite</b> – If the self-managed
|
|
640
|
+
* version of the add-on is installed on your cluster and the Amazon EKS
|
|
641
|
+
* default value is different than the existing value, Amazon EKS changes
|
|
642
|
+
* the value to the Amazon EKS default value.</p>
|
|
643
|
+
* </li>
|
|
644
|
+
* <li>
|
|
645
|
+
* <p>
|
|
646
|
+
* <b>Preserve</b> – Not supported. You can set
|
|
647
|
+
* this value when updating an add-on though. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html">UpdateAddon</a>.</p>
|
|
648
|
+
* </li>
|
|
649
|
+
* </ul>
|
|
650
|
+
* <p>If you don't currently have the self-managed version of the add-on installed on your
|
|
651
|
+
* cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values
|
|
652
|
+
* to default values, regardless of the option that you specify.</p>
|
|
631
653
|
*/
|
|
632
654
|
resolveConflicts?: ResolveConflicts | string;
|
|
633
655
|
/**
|
|
@@ -817,12 +839,12 @@ export interface CreateClusterRequest {
|
|
|
817
839
|
*/
|
|
818
840
|
roleArn: string | undefined;
|
|
819
841
|
/**
|
|
820
|
-
* <p>The VPC configuration that's used by the cluster control plane. Amazon EKS VPC
|
|
821
|
-
* specific requirements to work properly with Kubernetes. For more
|
|
822
|
-
*
|
|
823
|
-
*
|
|
824
|
-
* security groups. However, we recommend that you use
|
|
825
|
-
* cluster control plane.</p>
|
|
842
|
+
* <p>The VPC configuration that's used by the cluster control plane. Amazon EKS VPC
|
|
843
|
+
* resources have specific requirements to work properly with Kubernetes. For more
|
|
844
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">Cluster VPC Considerations</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html">Cluster Security
|
|
845
|
+
* Group Considerations</a> in the <i>Amazon EKS User Guide</i>. You must specify at least two
|
|
846
|
+
* subnets. You can specify up to five security groups. However, we recommend that you use
|
|
847
|
+
* a dedicated security group for your cluster control plane.</p>
|
|
826
848
|
*/
|
|
827
849
|
resourcesVpcConfig: VpcConfigRequest | undefined;
|
|
828
850
|
/**
|
|
@@ -1077,9 +1099,8 @@ export interface Cluster {
|
|
|
1077
1099
|
platformVersion?: string;
|
|
1078
1100
|
/**
|
|
1079
1101
|
* <p>The metadata that you apply to the cluster to assist with categorization and
|
|
1080
|
-
* organization. Each tag consists of a key and an optional value. You define both.
|
|
1081
|
-
*
|
|
1082
|
-
* cluster.</p>
|
|
1102
|
+
* organization. Each tag consists of a key and an optional value. You define both. Cluster
|
|
1103
|
+
* tags do not propagate to any other resources associated with the cluster.</p>
|
|
1083
1104
|
*/
|
|
1084
1105
|
tags?: Record<string, string>;
|
|
1085
1106
|
/**
|
|
@@ -1204,10 +1225,11 @@ export interface CreateFargateProfileRequest {
|
|
|
1204
1225
|
*/
|
|
1205
1226
|
clientRequestToken?: string;
|
|
1206
1227
|
/**
|
|
1207
|
-
* <p>The metadata to apply to the Fargate profile to assist with
|
|
1208
|
-
* organization. Each tag consists of a key and an optional value. You
|
|
1209
|
-
* Fargate profile tags do not propagate to any other resources
|
|
1210
|
-
* Fargate profile, such as the pods that are scheduled
|
|
1228
|
+
* <p>The metadata to apply to the Fargate profile to assist with
|
|
1229
|
+
* categorization and organization. Each tag consists of a key and an optional value. You
|
|
1230
|
+
* define both. Fargate profile tags do not propagate to any other resources
|
|
1231
|
+
* associated with the Fargate profile, such as the pods that are scheduled
|
|
1232
|
+
* with it.</p>
|
|
1211
1233
|
*/
|
|
1212
1234
|
tags?: Record<string, string>;
|
|
1213
1235
|
}
|
|
@@ -1253,10 +1275,11 @@ export interface FargateProfile {
|
|
|
1253
1275
|
*/
|
|
1254
1276
|
status?: FargateProfileStatus | string;
|
|
1255
1277
|
/**
|
|
1256
|
-
* <p>The metadata applied to the Fargate profile to assist with
|
|
1257
|
-
* organization. Each tag consists of a key and an optional value. You
|
|
1258
|
-
* Fargate profile tags do not propagate to any other resources
|
|
1259
|
-
* Fargate profile, such as the pods that are scheduled
|
|
1278
|
+
* <p>The metadata applied to the Fargate profile to assist with
|
|
1279
|
+
* categorization and organization. Each tag consists of a key and an optional value. You
|
|
1280
|
+
* define both. Fargate profile tags do not propagate to any other resources
|
|
1281
|
+
* associated with the Fargate profile, such as the pods that are scheduled
|
|
1282
|
+
* with it.</p>
|
|
1260
1283
|
*/
|
|
1261
1284
|
tags?: Record<string, string>;
|
|
1262
1285
|
}
|
|
@@ -1269,7 +1292,7 @@ export interface CreateFargateProfileResponse {
|
|
|
1269
1292
|
export declare type CapacityTypes = "ON_DEMAND" | "SPOT";
|
|
1270
1293
|
/**
|
|
1271
1294
|
* <p>An object representing a node group launch template specification. The launch template
|
|
1272
|
-
*
|
|
1295
|
+
* can't include <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html">
|
|
1273
1296
|
* <code>SubnetId</code>
|
|
1274
1297
|
* </a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html">
|
|
1275
1298
|
* <code>IamInstanceProfile</code>
|
|
@@ -1284,20 +1307,30 @@ export declare type CapacityTypes = "ON_DEMAND" | "SPOT";
|
|
|
1284
1307
|
* <code>CreateLaunchTemplate</code>
|
|
1285
1308
|
* </a> in the Amazon EC2 API
|
|
1286
1309
|
* Reference. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
1287
|
-
* <p>
|
|
1310
|
+
* <p>You must specify either the launch template ID or the launch template name in the
|
|
1311
|
+
* request, but not both.</p>
|
|
1288
1312
|
*/
|
|
1289
1313
|
export interface LaunchTemplateSpecification {
|
|
1290
1314
|
/**
|
|
1291
1315
|
* <p>The name of the launch template.</p>
|
|
1316
|
+
* <p>You must specify either the launch template name or the launch template ID in the
|
|
1317
|
+
* request, but not both.</p>
|
|
1292
1318
|
*/
|
|
1293
1319
|
name?: string;
|
|
1294
1320
|
/**
|
|
1295
|
-
* <p>The
|
|
1296
|
-
*
|
|
1321
|
+
* <p>The launch template version number, <code>$Latest</code>, or
|
|
1322
|
+
* <code>$Default</code>.</p>
|
|
1323
|
+
* <p>If the value is <code>$Latest</code>, Amazon EKS uses the latest version of
|
|
1324
|
+
* the launch template.</p>
|
|
1325
|
+
* <p>If the value is <code>$Default</code>, Amazon EKS uses the default version of
|
|
1326
|
+
* the launch template.</p>
|
|
1327
|
+
* <p>Default: The default version of the launch template.</p>
|
|
1297
1328
|
*/
|
|
1298
1329
|
version?: string;
|
|
1299
1330
|
/**
|
|
1300
1331
|
* <p>The ID of the launch template.</p>
|
|
1332
|
+
* <p>You must specify either the launch template ID or the launch template name in the
|
|
1333
|
+
* request, but not both.</p>
|
|
1301
1334
|
*/
|
|
1302
1335
|
id?: string;
|
|
1303
1336
|
}
|
|
@@ -1478,14 +1511,16 @@ export interface CreateNodegroupRequest {
|
|
|
1478
1511
|
*/
|
|
1479
1512
|
labels?: Record<string, string>;
|
|
1480
1513
|
/**
|
|
1481
|
-
* <p>The Kubernetes taints to be applied to the nodes in the node group. For more
|
|
1514
|
+
* <p>The Kubernetes taints to be applied to the nodes in the node group. For more
|
|
1515
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
|
|
1516
|
+
* managed node groups</a>.</p>
|
|
1482
1517
|
*/
|
|
1483
1518
|
taints?: Taint[];
|
|
1484
1519
|
/**
|
|
1485
1520
|
* <p>The metadata to apply to the node group to assist with categorization and
|
|
1486
|
-
* organization. Each tag consists of a key and an optional value. You
|
|
1487
|
-
*
|
|
1488
|
-
*
|
|
1521
|
+
* organization. Each tag consists of a key and an optional value. You define both. Node
|
|
1522
|
+
* group tags do not propagate to any other resources associated with the node group, such
|
|
1523
|
+
* as the Amazon EC2 instances or subnets.</p>
|
|
1489
1524
|
*/
|
|
1490
1525
|
tags?: Record<string, string>;
|
|
1491
1526
|
/**
|
|
@@ -1644,9 +1679,10 @@ export interface Issue {
|
|
|
1644
1679
|
* <li>
|
|
1645
1680
|
* <p>
|
|
1646
1681
|
* <b>NodeCreationFailure</b>: Your launched instances
|
|
1647
|
-
* are unable to register with your Amazon EKS cluster. Common causes of
|
|
1648
|
-
* are insufficient <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html">node IAM
|
|
1649
|
-
*
|
|
1682
|
+
* are unable to register with your Amazon EKS cluster. Common causes of
|
|
1683
|
+
* this failure are insufficient <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html">node IAM
|
|
1684
|
+
* role</a> permissions or lack of outbound internet access for the nodes.
|
|
1685
|
+
* </p>
|
|
1650
1686
|
* </li>
|
|
1651
1687
|
* </ul>
|
|
1652
1688
|
*/
|
|
@@ -1807,9 +1843,8 @@ export interface Nodegroup {
|
|
|
1807
1843
|
launchTemplate?: LaunchTemplateSpecification;
|
|
1808
1844
|
/**
|
|
1809
1845
|
* <p>The metadata applied to the node group to assist with categorization and organization.
|
|
1810
|
-
* Each tag consists of a key and an optional value. You define both. Node group
|
|
1811
|
-
*
|
|
1812
|
-
* Amazon EC2 instances or subnets. </p>
|
|
1846
|
+
* Each tag consists of a key and an optional value. You define both. Node group tags do
|
|
1847
|
+
* not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets. </p>
|
|
1813
1848
|
*/
|
|
1814
1849
|
tags?: Record<string, string>;
|
|
1815
1850
|
}
|
|
@@ -2237,7 +2272,9 @@ export interface ListClustersRequest {
|
|
|
2237
2272
|
*/
|
|
2238
2273
|
nextToken?: string;
|
|
2239
2274
|
/**
|
|
2240
|
-
* <p>Indicates whether external clusters are included in the returned list. Use
|
|
2275
|
+
* <p>Indicates whether external clusters are included in the returned list. Use
|
|
2276
|
+
* '<code>all</code>' to return connected clusters, or blank to return only Amazon EKS clusters. '<code>all</code>' must be in lowercase otherwise an error
|
|
2277
|
+
* occurs.</p>
|
|
2241
2278
|
*/
|
|
2242
2279
|
include?: string[];
|
|
2243
2280
|
}
|
|
@@ -2510,7 +2547,8 @@ export interface RegisterClusterResponse {
|
|
|
2510
2547
|
cluster?: Cluster;
|
|
2511
2548
|
}
|
|
2512
2549
|
/**
|
|
2513
|
-
* <p>Required resources (such as service-linked roles) were created and are still
|
|
2550
|
+
* <p>Required resources (such as service-linked roles) were created and are still
|
|
2551
|
+
* propagating. Retry later.</p>
|
|
2514
2552
|
*/
|
|
2515
2553
|
export declare class ResourcePropagationDelayException extends __BaseException {
|
|
2516
2554
|
readonly name: "ResourcePropagationDelayException";
|
|
@@ -2575,8 +2613,29 @@ export interface UpdateAddonRequest {
|
|
|
2575
2613
|
*/
|
|
2576
2614
|
serviceAccountRoleArn?: string;
|
|
2577
2615
|
/**
|
|
2578
|
-
* <p>How to resolve
|
|
2579
|
-
*
|
|
2616
|
+
* <p>How to resolve field value conflicts for an Amazon EKS add-on if you've
|
|
2617
|
+
* changed a value from the Amazon EKS default value. Conflicts are handled based
|
|
2618
|
+
* on the option you choose:</p>
|
|
2619
|
+
* <ul>
|
|
2620
|
+
* <li>
|
|
2621
|
+
* <p>
|
|
2622
|
+
* <b>None</b> – Amazon EKS doesn't
|
|
2623
|
+
* change the value. The update might fail.</p>
|
|
2624
|
+
* </li>
|
|
2625
|
+
* <li>
|
|
2626
|
+
* <p>
|
|
2627
|
+
* <b>Overwrite</b> – Amazon EKS
|
|
2628
|
+
* overwrites the changed value back to the Amazon EKS default
|
|
2629
|
+
* value.</p>
|
|
2630
|
+
* </li>
|
|
2631
|
+
* <li>
|
|
2632
|
+
* <p>
|
|
2633
|
+
* <b>Preserve</b> – Amazon EKS
|
|
2634
|
+
* preserves the value. If you choose this option, we recommend that you test any
|
|
2635
|
+
* field and value changes on a non-production cluster before updating the add-on
|
|
2636
|
+
* on your production cluster.</p>
|
|
2637
|
+
* </li>
|
|
2638
|
+
* </ul>
|
|
2580
2639
|
*/
|
|
2581
2640
|
resolveConflicts?: ResolveConflicts | string;
|
|
2582
2641
|
/**
|
|
@@ -2662,7 +2721,9 @@ export interface UpdateLabelsPayload {
|
|
|
2662
2721
|
removeLabels?: string[];
|
|
2663
2722
|
}
|
|
2664
2723
|
/**
|
|
2665
|
-
* <p>An object representing the details of an update to a taints payload. For more
|
|
2724
|
+
* <p>An object representing the details of an update to a taints payload. For more
|
|
2725
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
|
|
2726
|
+
* managed node groups</a>.</p>
|
|
2666
2727
|
*/
|
|
2667
2728
|
export interface UpdateTaintsPayload {
|
|
2668
2729
|
/**
|
|
@@ -2690,8 +2751,9 @@ export interface UpdateNodegroupConfigRequest {
|
|
|
2690
2751
|
*/
|
|
2691
2752
|
labels?: UpdateLabelsPayload;
|
|
2692
2753
|
/**
|
|
2693
|
-
* <p>The Kubernetes taints to be applied to the nodes in the node group after the
|
|
2694
|
-
*
|
|
2754
|
+
* <p>The Kubernetes taints to be applied to the nodes in the node group after the update.
|
|
2755
|
+
* For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
|
|
2756
|
+
* managed node groups</a>.</p>
|
|
2695
2757
|
*/
|
|
2696
2758
|
taints?: UpdateTaintsPayload;
|
|
2697
2759
|
/**
|
|
@@ -31,7 +31,7 @@ export interface AddonHealth {
|
|
|
31
31
|
|
|
32
32
|
issues?: AddonIssue[];
|
|
33
33
|
}
|
|
34
|
-
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATING";
|
|
34
|
+
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATE_FAILED" | "UPDATING";
|
|
35
35
|
|
|
36
36
|
export interface Addon {
|
|
37
37
|
|
|
@@ -314,7 +314,7 @@ export interface AutoScalingGroup {
|
|
|
314
314
|
|
|
315
315
|
name?: string;
|
|
316
316
|
}
|
|
317
|
-
export declare type ResolveConflicts = "NONE" | "OVERWRITE";
|
|
317
|
+
export declare type ResolveConflicts = "NONE" | "OVERWRITE" | "PRESERVE";
|
|
318
318
|
export interface CreateAddonRequest {
|
|
319
319
|
|
|
320
320
|
clusterName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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.
|
|
4
|
+
"version": "3.168.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
@@ -18,43 +19,43 @@
|
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-node": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.168.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.168.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.168.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.168.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.168.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.168.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.168.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.168.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.168.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.168.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.168.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.168.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.168.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.168.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.168.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.168.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.168.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.168.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.168.0",
|
|
41
|
+
"@aws-sdk/types": "3.168.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.168.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.168.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.168.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.168.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.168.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.168.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.168.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.168.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.168.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.168.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.168.0",
|
|
53
|
+
"@aws-sdk/util-waiter": "3.168.0",
|
|
53
54
|
"tslib": "^2.3.1",
|
|
54
55
|
"uuid": "^8.3.2"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.168.0",
|
|
58
59
|
"@tsconfig/recommended": "1.0.1",
|
|
59
60
|
"@types/node": "^12.7.5",
|
|
60
61
|
"@types/uuid": "^8.3.0",
|