Module Values.LaunchInstancesResultSource

Launches a specified number of instances in an Auto Scaling group. Returns instance IDs and other details if launch is successful or error details if launch is unsuccessful.

Sourcetype launchInstancesResult = {
  1. autoScalingGroupName : XmlStringMaxLen255.t option;
    (*

    The name of the Auto Scaling group where the instances were launched.

    *)
  2. clientToken : ClientToken.t option;
    (*

    The idempotency token used for the request, either customer-specified or auto-generated.

    *)
  3. instances : InstanceCollections.t option;
    (*

    A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.

    *)
  4. errors : LaunchInstancesErrors.t option;
    (*

    A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. launchInstancesResult : launchInstancesResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `IdempotentParameterMismatchError of IdempotentParameterMismatchError.t
  2. | `ResourceContentionFault of ResourceContentionFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?autoScalingGroupName:??? -> ?clientToken:??? -> ?instances:??? -> ?errors:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IdempotentParameterMismatchError of IdempotentParameterMismatchError.t | `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `IdempotentParameterMismatchError of IdempotentParameterMismatchError.t | `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of XmlStringMaxLen19.t ] list | `String of XmlStringMaxLen255.t ]) list ] list | `String of XmlStringMaxLen255.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