deleteTemplate method

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

Deletes a template. Certificates issued using the template are still valid until they are revoked or expired.

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

Parameter templateArn : The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.

Implementation

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