Values_7.CreateLaunchTemplateVersionRequestSourceCreates a new version of a launch template. You must specify an existing launch template, either by name or ID. You can determine whether the new version inherits parameters from a source version, and add or overwrite parameters as needed. Launch template versions are numbered in the order in which they are created. You can't specify, change, or replace the numbering of launch template versions. Launch templates are immutable; after you create a launch template, you can't modify it. Instead, you can create a new version of the launch template that includes the changes that you require. For more information, see Modify a launch template (manage launch template versions) 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.
*)launchTemplateId : Values_0.LaunchTemplateId.t option;The ID of the launch template. You must specify either the launch template ID or the launch template name, but not both.
*)launchTemplateName : Values_0.LaunchTemplateName.t option;The name of the launch template. You must specify either the launch template ID or the launch template name, but not both.
*)sourceVersion : Values_0.String_.t option;The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included. If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version. If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
*)versionDescription : Values_1.VersionDescription.t option;A description for the version of the launch template.
*)launchTemplateData : Values_4.RequestLaunchTemplateData.t;The information for the launch template.
*)resolveAlias : Values_0.Boolean.t option;If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide. Default: false
*)}val make :
?dryRun:??? ->
?clientToken:??? ->
?launchTemplateId:??? ->
?launchTemplateName:??? ->
?sourceVersion:??? ->
?versionDescription:??? ->
?resolveAlias:??? ->
launchTemplateData:Values_4.RequestLaunchTemplateData.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `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 ]