Skip to content

Commit

Permalink
feat(client-ec2): Add "disabled" enum value to SpotInstanceState.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 24, 2023
1 parent 6108789 commit dedea39
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export interface DescribeSpotInstanceRequestsCommandOutput
* // ProductDescription: "Linux/UNIX" || "Linux/UNIX (Amazon VPC)" || "Windows" || "Windows (Amazon VPC)",
* // SpotInstanceRequestId: "STRING_VALUE",
* // SpotPrice: "STRING_VALUE",
* // State: "open" || "active" || "closed" || "cancelled" || "failed",
* // State: "open" || "active" || "closed" || "cancelled" || "failed" || "disabled",
* // Status: { // SpotInstanceStatus
* // Code: "STRING_VALUE",
* // Message: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
* // ProductDescription: "Linux/UNIX" || "Linux/UNIX (Amazon VPC)" || "Windows" || "Windows (Amazon VPC)",
* // SpotInstanceRequestId: "STRING_VALUE",
* // SpotPrice: "STRING_VALUE",
* // State: "open" || "active" || "closed" || "cancelled" || "failed",
* // State: "open" || "active" || "closed" || "cancelled" || "failed" || "disabled",
* // Status: { // SpotInstanceStatus
* // Code: "STRING_VALUE",
* // Message: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-ec2/src/models/models_4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9081,6 +9081,7 @@ export const SpotInstanceState = {
active: "active",
cancelled: "cancelled",
closed: "closed",
disabled: "disabled",
failed: "failed",
open: "open",
} as const;
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -90328,6 +90328,12 @@
"traits": {
"smithy.api#enumValue": "failed"
}
},
"disabled": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "disabled"
}
}
}
},
Expand Down

0 comments on commit dedea39

Please sign in to comment.