AWSEC2GetCapacityReservationUsageResult

@interface AWSEC2GetCapacityReservationUsageResult
  • The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable availableInstanceCount;

    Swift

    var availableInstanceCount: NSNumber? { get set }
  • The ID of the Capacity Reservation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable capacityReservationId;

    Swift

    var capacityReservationId: String? { get set }
  • The type of instance for which the Capacity Reservation reserves capacity.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceType;

    Swift

    var instanceType: String? { get set }
  • Information about the Capacity Reservation usage.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2InstanceUsage *> *_Nullable instanceUsages;

    Swift

    var instanceUsages: [AWSEC2InstanceUsage]? { get set }
  • The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable nextToken;

    Swift

    var nextToken: String? { get set }
  • 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 manually 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2CapacityReservationState state;

    Swift

    var state: AWSEC2CapacityReservationState { get set }
  • The number of instances for which the Capacity Reservation reserves capacity.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable totalInstanceCount;

    Swift

    var totalInstanceCount: NSNumber? { get set }