Skip to content

Commit b25f0b0

Browse files
author
awstools
committed
feat(client-ec2): Remove non-functional enum variants for FleetCapacityReservationUsageStrategy
1 parent 1b3160a commit b25f0b0

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

clients/client-ec2/src/commands/CreateFleetCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
6060
* OnDemandOptions: { // OnDemandOptionsRequest
6161
* AllocationStrategy: "lowest-price" || "prioritized",
6262
* CapacityReservationOptions: { // CapacityReservationOptionsRequest
63-
* UsageStrategy: "use-capacity-reservations-first" || "use-capacity-reservations-only" || "none",
63+
* UsageStrategy: "use-capacity-reservations-first",
6464
* },
6565
* SingleInstanceType: true || false,
6666
* SingleAvailabilityZone: true || false,

clients/client-ec2/src/commands/DescribeFleetsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
193193
* // OnDemandOptions: { // OnDemandOptions
194194
* // AllocationStrategy: "lowest-price" || "prioritized",
195195
* // CapacityReservationOptions: { // CapacityReservationOptions
196-
* // UsageStrategy: "use-capacity-reservations-first" || "use-capacity-reservations-only" || "none",
196+
* // UsageStrategy: "use-capacity-reservations-first",
197197
* // },
198198
* // SingleInstanceType: true || false,
199199
* // SingleAvailabilityZone: true || false,

clients/client-ec2/src/models/models_1.ts

-2
Original file line numberDiff line numberDiff line change
@@ -4045,9 +4045,7 @@ export type FleetOnDemandAllocationStrategy =
40454045
* @enum
40464046
*/
40474047
export const FleetCapacityReservationUsageStrategy = {
4048-
NONE: "none",
40494048
USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first",
4050-
USE_CAPACITY_RESERVATIONS_ONLY: "use-capacity-reservations-only",
40514049
} as const;
40524050

40534051
/**

codegen/sdk-codegen/aws-models/ec2.json

-12
Original file line numberDiff line numberDiff line change
@@ -50631,18 +50631,6 @@
5063150631
"traits": {
5063250632
"smithy.api#enumValue": "use-capacity-reservations-first"
5063350633
}
50634-
},
50635-
"USE_CAPACITY_RESERVATIONS_ONLY": {
50636-
"target": "smithy.api#Unit",
50637-
"traits": {
50638-
"smithy.api#enumValue": "use-capacity-reservations-only"
50639-
}
50640-
},
50641-
"NONE": {
50642-
"target": "smithy.api#Unit",
50643-
"traits": {
50644-
"smithy.api#enumValue": "none"
50645-
}
5064650634
}
5064750635
}
5064850636
},

0 commit comments

Comments
 (0)