deleteJobTemplate method

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

Permanently delete a job template you have created.

May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw TooManyRequestsException. May throw ConflictException.

Parameter name : The name of the job template to be deleted.

Implementation

Future<void> deleteJobTemplate({
  required String name,
}) async {
  ArgumentError.checkNotNull(name, 'name');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/2017-08-29/jobTemplates/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
}