Module Values_2.ReservationSource

Describes a launch request for one or more instances, and includes owner, requester, and security group information that applies to all instances in the launch request.

Sourcetype nonrec t = {
  1. reservationId : Values_0.String_.t option;
    (*

    The ID of the reservation.

    *)
  2. ownerId : Values_0.String_.t option;
    (*

    The ID of the Amazon Web Services account that owns the reservation.

    *)
  3. requesterId : Values_0.String_.t option;
    (*

    The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

    *)
  4. groups : Values_0.GroupIdentifierList.t option;
    (*

    Not supported.

    *)
  5. instances : Values_1.InstanceList.t option;
    (*

    The instances.

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