GetCapacityReservationUsageResult
import type { GetCapacityReservationUsageResult } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
interface GetCapacityReservationUsageResult {
AvailableInstanceCount?: number | null;
CapacityReservationId?: string | null;
InstanceType?: string | null;
InstanceUsages: InstanceUsage[];
NextToken?: string | null;
State?: CapacityReservationState | null;
TotalInstanceCount?: number | null;
}§Properties
§
AvailableInstanceCount?: number | null
[src]The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.
§
InstanceType?: string | null
[src]The type of instance for which the Capacity Reservation reserves capacity.
§
InstanceUsages: InstanceUsage[]
[src]Information about the Capacity Reservation usage.
§
NextToken?: string | null
[src]The token to use to retrieve the next page of results.
This value is null
when there are no more results to return.
§
State?: CapacityReservationState | null
[src]The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:
active
- The Capacity Reservation is active and the capacity is available for your use.expired
- The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.cancelled
- The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.pending
- The Capacity Reservation request was successful but the capacity provisioning is still pending.failed
- The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.