Module Values_7.CreateInterruptibleCapacityReservationAllocationResultSource

Creates an interruptible Capacity Reservation by specifying the number of unused instances you want to allocate from your source reservation. This helps you make unused capacity available for other workloads within your account while maintaining control to reclaim it.

Sourcetype nonrec t = {
  1. sourceCapacityReservationId : Values_0.CapacityReservationId.t option;
    (*

    The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.

    *)
  2. targetInstanceCount : Values_0.Integer.t option;
    (*

    The number of instances allocated to the interruptible reservation.

    *)
  3. status : Values_1.InterruptibleCapacityReservationAllocationStatus.t option;
    (*

    The current status of the allocation request (creating, active, updating).

    *)
  4. interruptionType : Values_1.InterruptionType.t option;
    (*

    The type of interruption applied to the interruptible reservation.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sourceCapacityReservationId:??? -> ?targetInstanceCount:??? -> ?status:??? -> ?interruptionType:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.CapacityReservationId.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