Skip to content

/AWS1/CL_EC2=>DELETELAUNCHTEMPLATE()

About DeleteLaunchTemplate

Deletes a launch template. Deleting a launch template deletes all of its versions.

Method Signature

IMPORTING

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IV_LAUNCHTEMPLATEID TYPE /AWS1/EC2LAUNCHTEMPLATEID /AWS1/EC2LAUNCHTEMPLATEID

The ID of the launch template.

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

IV_LAUNCHTEMPLATENAME TYPE /AWS1/EC2LAUNCHTEMPLATENAME /AWS1/EC2LAUNCHTEMPLATENAME

The name of the launch template.

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DELLAUNCHTMPLRSLT /AWS1/CL_EC2DELLAUNCHTMPLRSLT