getCustomVerificationEmailTemplate method

Future<GetCustomVerificationEmailTemplateResponse> getCustomVerificationEmailTemplate({
  1. required String templateName,
})

Returns the custom email verification template for the template name you specify.

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 CustomVerificationEmailTemplateDoesNotExistException.

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

Implementation

Future<GetCustomVerificationEmailTemplateResponse>
    getCustomVerificationEmailTemplate({
  required String templateName,
}) async {
  ArgumentError.checkNotNull(templateName, 'templateName');
  final $request = <String, dynamic>{};
  $request['TemplateName'] = templateName;
  final $result = await _protocol.send(
    $request,
    action: 'GetCustomVerificationEmailTemplate',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['GetCustomVerificationEmailTemplateRequest'],
    shapes: shapes,
    resultWrapper: 'GetCustomVerificationEmailTemplateResult',
  );
  return GetCustomVerificationEmailTemplateResponse.fromXml($result);
}