Module Values_6.DeleteLaunchTemplateVersionsRequestSource

Deletes one or more versions of a launch template. You can't delete the default version of a launch template; you must first assign a different version as the default. If the default version is the only version for the launch template, you must delete the entire launch template using DeleteLaunchTemplate. You can delete up to 200 launch template versions in a single request. To delete more than 200 versions in a single request, use DeleteLaunchTemplate, which deletes the launch template and all of its versions. For more information, see Delete a launch template version in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
  3. 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.

    *)
  4. versions : Values_3.VersionStringList.t;
    (*

    The version numbers of one or more launch template versions to delete. You can specify up to 200 launch template version numbers.

    *)
}
Sourceval context_ : string
Sourceval make : ?dryRun:??? -> ?launchTemplateId:??? -> ?launchTemplateName:??? -> versions:Values_3.VersionStringList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `List of [> `String of Values_0.String_.t ] list | `String of Values_0.LaunchTemplateId.t ]) 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