Deletes one or more versions of a launch template. You cannot 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 delete_launch_template
.
See https://www.paws-r-sdk.com/docs/ec2_delete_launch_template_versions/ for full documentation.
ec2_delete_launch_template_versions(
DryRun = NULL,
LaunchTemplateId = NULL,
LaunchTemplateName = NULL,
Versions
)
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
.
The ID of the launch template.
You must specify either the LaunchTemplateId
or the
LaunchTemplateName
, but not both.
The name of the launch template.
You must specify either the LaunchTemplateName
or the
LaunchTemplateId
, but not both.
[required] The version numbers of one or more launch template versions to delete.