Module Values_1.DescribeReservedCapacityResponseSource

Retrieves details about a reserved capacity.

Sourcetype nonrec t = {
  1. reservedCapacityArn : ReservedCapacityArn.t option;
    (*

    ARN of the reserved capacity.

    *)
  2. reservedCapacityType : ReservedCapacityType.t option;
    (*

    The type of reserved capacity.

    *)
  3. status : ReservedCapacityStatus.t option;
    (*

    The current status of the reserved capacity.

    *)
  4. availabilityZone : Values_0.AvailabilityZone.t option;
    (*

    The Availability Zone where the reserved capacity is provisioned.

    *)
  5. durationHours : ReservedCapacityDurationHours.t option;
    (*

    The total duration of the reserved capacity in hours.

    *)
  6. durationMinutes : ReservedCapacityDurationMinutes.t option;
    (*

    The number of minutes for the duration of the reserved capacity. For example, if a reserved capacity starts at 08:55 and ends at 11:30, the minutes field would be 35.

    *)
  7. startTime : Values_0.Timestamp.t option;
    (*

    The timestamp when the reserved capacity becomes active.

    *)
  8. endTime : Values_0.Timestamp.t option;
    (*

    The timestamp when the reserved capacity expires.

    *)
  9. instanceType : ReservedCapacityInstanceType.t option;
    (*

    The Amazon EC2 instance type used in the reserved capacity.

    *)
  10. totalInstanceCount : TotalInstanceCount.t option;
    (*

    The total number of instances allocated to this reserved capacity.

    *)
  11. availableInstanceCount : Values_0.AvailableInstanceCount.t option;
    (*

    The number of instances currently available for use in this reserved capacity.

    *)
  12. inUseInstanceCount : InUseInstanceCount.t option;
    (*

    The number of instances currently in use from this reserved capacity.

    *)
  13. ultraServerSummary : UltraServerSummary.t option;
    (*

    A summary of the UltraServer associated with this reserved capacity.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFound of Values_0.ResourceNotFound.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?reservedCapacityArn:??? -> ?reservedCapacityType:??? -> ?status:??? -> ?availabilityZone:??? -> ?durationHours:??? -> ?durationMinutes:??? -> ?startTime:??? -> ?endTime:??? -> ?instanceType:??? -> ?totalInstanceCount:??? -> ?availableInstanceCount:??? -> ?inUseInstanceCount:??? -> ?ultraServerSummary:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of TotalInstanceCount.t | `Long of ReservedCapacityDurationHours.t | `String of ReservedCapacityArn.t | `Structure of (string * [> `Enum of string | `Integer of UltraServerCount.t | `String of UltraServerType.t ]) list | `Timestamp of Values_0.Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t