Skip to content

DeleteLaunchTemplateVersionsRequest

Source code in docs_src/capo_ec2/types/delete_launch_template_versions_request.py
class DeleteLaunchTemplateVersionsRequest(TypedDict, closed=True):
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    launch_template_id: NotRequired[
        "capo_ec2.types.launch_template_id.LaunchTemplateId"
    ]
    """<p>The ID of the launch template.</p> <p>You must specify either the launch template ID or the launch template name, but not both.</p>"""
    launch_template_name: NotRequired[
        "capo_ec2.types.launch_template_name.LaunchTemplateName"
    ]
    """<p>The name of the launch template.</p> <p>You must specify either the launch template ID or the launch template name, but not both.</p>"""
    versions: NotRequired["capo_ec2.types.version_string_list.VersionStringList"]
    """<p>The version numbers of one or more launch template versions to delete. You can specify up to 200 launch template version numbers.</p>"""

dry_run instance-attribute

dry_run: NotRequired[Boolean]

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.

launch_template_id instance-attribute

launch_template_id: NotRequired[LaunchTemplateId]

The ID of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

launch_template_name instance-attribute

launch_template_name: NotRequired[LaunchTemplateName]

The name of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

versions instance-attribute

versions: NotRequired[VersionStringList]

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