deleteJobTemplate method

Future<void> deleteJobTemplate({
  1. required String jobTemplateId,
})

Deletes the specified job template.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter jobTemplateId : The unique identifier of the job template to delete.

Implementation

Future<void> deleteJobTemplate({
  required String jobTemplateId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/job-templates/${Uri.encodeComponent(jobTemplateId)}',
    exceptionFnMap: _exceptionFns,
  );
}