Module Values_5.GetLaunchTemplateDataResultSource

Retrieves the configuration data of the specified instance. You can use this data to create a launch template. This action calls on other describe actions to get instance information. Depending on your instance configuration, you may need to allow the following actions in your IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, DescribeVolumes, and DescribeInstanceAttribute. Or, you can allow describe* depending on your instance requirements.

Sourcetype nonrec t = {
  1. launchTemplateData : Values_1.ResponseLaunchTemplateData.t option;
    (*

    The instance data.

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