Values_7.CreateLaunchTemplateRequestSourceCreates 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.
type nonrec t = {dryRun : Values_0.Boolean.t option;Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
*)clientToken : Values_0.String_.t option;Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency. For more information, see Ensuring idempotency. Constraint: Maximum 128 ASCII characters.
*)launchTemplateName : Values_0.LaunchTemplateName.t;A name for the launch template.
*)versionDescription : Values_1.VersionDescription.t option;A description for the first version of the launch template.
*)launchTemplateData : Values_4.RequestLaunchTemplateData.t;The information for the launch template.
*)operator : Values_3.OperatorRequest.t option;Reserved for internal use.
*)tagSpecifications : Values_0.TagSpecificationList.t option;The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for the resources that are created when an instance is launched, you must use the TagSpecifications parameter in the launch template data structure.
*)}val make :
?dryRun:??? ->
?clientToken:??? ->
?versionDescription:??? ->
?operator:??? ->
?tagSpecifications:??? ->
launchTemplateName:Values_0.LaunchTemplateName.t ->
launchTemplateData:Values_4.RequestLaunchTemplateData.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of string ]) list ]
list ])
list ]
list
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `List of
[> `String of string
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Values_0.Integer.t
| `List of
[> `String of string
| `Structure of
(string * [> `Boolean of bool | `String of string ])
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
| `String of Values_0.KmsKeyId.t
| `Structure of
(string * [> `Boolean of bool ]) list ])
list ])
list ]
list
| `String of Values_1.KernelId.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 Values_0.Integer.t
| `String of Values_0.String_.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of string ]) list ]
list ])
list
| `Timestamp of Values_0.DateTime.t ])
list ])
list ])
list ])
list ]