deleteCustomVerificationEmailTemplate method

Future<void> deleteCustomVerificationEmailTemplate({
  1. required String templateName,
})

Deletes an existing custom verification email template.

For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

May throw NotFoundException. May throw TooManyRequestsException. May throw BadRequestException.

Parameter templateName : The name of the custom verification email template that you want to delete.

Implementation

Future<void> deleteCustomVerificationEmailTemplate({
  required String templateName,
}) async {
  ArgumentError.checkNotNull(templateName, 'templateName');
  _s.validateStringLength(
    'templateName',
    templateName,
    1,
    1152921504606846976,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v2/email/custom-verification-email-templates/${Uri.encodeComponent(templateName)}',
    exceptionFnMap: _exceptionFns,
  );
}