deleteTemplate method

Future<void> deleteTemplate({
  1. required String id,
})

Deletes a migration workflow template.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The ID of the request to delete a migration workflow template.

Implementation

Future<void> deleteTemplate({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/template/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
}