Module Values_7.CreateLaunchTemplateResultSource

Creates a launch template. A launch template contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify a launch template instead of providing the launch parameters in the request. For more information, see Store instance launch parameters in Amazon EC2 launch templates in the Amazon EC2 User Guide. To clone an existing launch template as the basis for a new launch template, use the Amazon EC2 console. The API, SDKs, and CLI do not support cloning a template. For more information, see Create a launch template from an existing launch template in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. launchTemplate : Values_2.LaunchTemplate.t option;
    (*

    Information about the launch template.

    *)
  2. warning : Values_4.ValidationWarning.t option;
    (*

    If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?launchTemplate:??? -> ?warning:??? -> 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 * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `Long of Values_0.Long.t | `String of Values_0.String_.t | `Structure of (string * [> `Boolean of bool | `String of string ]) list | `Timestamp of Values_0.DateTime.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