Module Values_7.CreateCapacityReservationBySplittingResultSource

Create a new Capacity Reservation by splitting the capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active and owned by your Amazon Web Services account.

Sourcetype nonrec t = {
  1. sourceCapacityReservation : Values_3.CapacityReservation.t option;
    (*

    Information about the source Capacity Reservation.

    *)
  2. destinationCapacityReservation : Values_3.CapacityReservation.t option;
    (*

    Information about the destination Capacity Reservation.

    *)
  3. instanceCount : Values_0.Integer.t option;
    (*

    The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sourceCapacityReservation:??? -> ?destinationCapacityReservation:??? -> ?instanceCount:??? -> 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 * [> `Integer of Values_0.Integer.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of string ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.String_.t | `Timestamp of Values_0.MillisecondDateTime.t ]) list | `Timestamp of Values_0.MillisecondDateTime.t ]) list ]) 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