Skip to content

Commit

Permalink
feat(client-eks): Updates EKS managed node groups to support EC2 Capa…
Browse files Browse the repository at this point in the history
…city Blocks for ML
  • Loading branch information
awstools committed Jul 1, 2024
1 parent 67d4def commit 3293ed2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clients/client-eks/src/commands/CreateNodegroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
* maxUnavailable: Number("int"),
* maxUnavailablePercentage: Number("int"),
* },
* capacityType: "ON_DEMAND" || "SPOT",
* capacityType: "ON_DEMAND" || "SPOT" || "CAPACITY_BLOCK",
* version: "STRING_VALUE",
* releaseVersion: "STRING_VALUE",
* };
Expand All @@ -109,7 +109,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
* // createdAt: new Date("TIMESTAMP"),
* // modifiedAt: new Date("TIMESTAMP"),
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "DEGRADED",
* // capacityType: "ON_DEMAND" || "SPOT",
* // capacityType: "ON_DEMAND" || "SPOT" || "CAPACITY_BLOCK",
* // scalingConfig: { // NodegroupScalingConfig
* // minSize: Number("int"),
* // maxSize: Number("int"),
Expand Down
2 changes: 1 addition & 1 deletion clients/client-eks/src/commands/DeleteNodegroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface DeleteNodegroupCommandOutput extends DeleteNodegroupResponse, _
* // createdAt: new Date("TIMESTAMP"),
* // modifiedAt: new Date("TIMESTAMP"),
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "DEGRADED",
* // capacityType: "ON_DEMAND" || "SPOT",
* // capacityType: "ON_DEMAND" || "SPOT" || "CAPACITY_BLOCK",
* // scalingConfig: { // NodegroupScalingConfig
* // minSize: Number("int"),
* // maxSize: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface DescribeNodegroupCommandOutput extends DescribeNodegroupRespons
* // createdAt: new Date("TIMESTAMP"),
* // modifiedAt: new Date("TIMESTAMP"),
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "DEGRADED",
* // capacityType: "ON_DEMAND" || "SPOT",
* // capacityType: "ON_DEMAND" || "SPOT" || "CAPACITY_BLOCK",
* // scalingConfig: { // NodegroupScalingConfig
* // minSize: Number("int"),
* // maxSize: Number("int"),
Expand Down
1 change: 1 addition & 0 deletions clients/client-eks/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3033,6 +3033,7 @@ export interface CreateFargateProfileResponse {
* @enum
*/
export const CapacityTypes = {
CAPACITY_BLOCK: "CAPACITY_BLOCK",
ON_DEMAND: "ON_DEMAND",
SPOT: "SPOT",
} as const;
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/eks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2312,6 +2312,12 @@
"traits": {
"smithy.api#enumValue": "SPOT"
}
},
"CAPACITY_BLOCK": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CAPACITY_BLOCK"
}
}
}
},
Expand Down

0 comments on commit 3293ed2

Please sign in to comment.