diff --git a/clients/client-ec2/src/commands/CreateFleetCommand.ts b/clients/client-ec2/src/commands/CreateFleetCommand.ts index 6fce8b58713f..5e627dba53e8 100644 --- a/clients/client-ec2/src/commands/CreateFleetCommand.ts +++ b/clients/client-ec2/src/commands/CreateFleetCommand.ts @@ -60,7 +60,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB * OnDemandOptions: { // OnDemandOptionsRequest * AllocationStrategy: "lowest-price" || "prioritized", * CapacityReservationOptions: { // CapacityReservationOptionsRequest - * UsageStrategy: "use-capacity-reservations-first" || "use-capacity-reservations-only" || "none", + * UsageStrategy: "use-capacity-reservations-first", * }, * SingleInstanceType: true || false, * SingleAvailabilityZone: true || false, diff --git a/clients/client-ec2/src/commands/DescribeFleetsCommand.ts b/clients/client-ec2/src/commands/DescribeFleetsCommand.ts index 0251eab9a682..e571f9138f6a 100644 --- a/clients/client-ec2/src/commands/DescribeFleetsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeFleetsCommand.ts @@ -193,7 +193,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met * // OnDemandOptions: { // OnDemandOptions * // AllocationStrategy: "lowest-price" || "prioritized", * // CapacityReservationOptions: { // CapacityReservationOptions - * // UsageStrategy: "use-capacity-reservations-first" || "use-capacity-reservations-only" || "none", + * // UsageStrategy: "use-capacity-reservations-first", * // }, * // SingleInstanceType: true || false, * // SingleAvailabilityZone: true || false, diff --git a/clients/client-ec2/src/models/models_1.ts b/clients/client-ec2/src/models/models_1.ts index 782d74f8ceff..fac0356a6220 100644 --- a/clients/client-ec2/src/models/models_1.ts +++ b/clients/client-ec2/src/models/models_1.ts @@ -4045,9 +4045,7 @@ export type FleetOnDemandAllocationStrategy = * @enum */ export const FleetCapacityReservationUsageStrategy = { - NONE: "none", USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first", - USE_CAPACITY_RESERVATIONS_ONLY: "use-capacity-reservations-only", } as const; /** diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index dc9c4de6089b..df9bd051a2e9 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -50631,18 +50631,6 @@ "traits": { "smithy.api#enumValue": "use-capacity-reservations-first" } - }, - "USE_CAPACITY_RESERVATIONS_ONLY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "use-capacity-reservations-only" - } - }, - "NONE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "none" - } } } },