Module Values_7.CreateFleetResultSource

Creates an EC2 Fleet that contains the configuration information for On-Demand Instances and Spot Instances. Instances are launched immediately if there is available capacity. A single EC2 Fleet can include multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. For more information, see EC2 Fleet in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. fleetId : Values_1.FleetId.t option;
    (*

    The ID of the EC2 Fleet.

    *)
  2. errors : Values_4.CreateFleetErrorsSet.t option;
    (*

    Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.

    *)
  3. instances : Values_4.CreateFleetInstancesSet.t option;
    (*

    Information about the instances that were launched by the fleet. Supported only for fleets of type instant.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?fleetId:??? -> ?errors:??? -> ?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 * [> `Enum of string | `List of [> `String of string ] list | `String of Values_0.String_.t | `Structure of (string * [> `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `String of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `List of [> `Enum of string | `String of string ] list | `String of string | `Structure of (string * [> `Double of float | `Integer of int | `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list ]) list ]) list ]) list ]) list ]) list ]) list ] list | `String of Values_1.FleetId.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