listCustomVerificationEmailTemplates method
Lists the existing custom verification email templates for your account in the current AWS Region.
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.
Parameter maxResults
:
The maximum number of custom verification email templates to return. This
value must be at least 1 and less than or equal to 50. If you do not
specify a value, or if you specify a value less than 1 or greater than 50,
the operation will return up to 50 results.
Parameter nextToken
:
An array the contains the name and creation time stamp for each template
in your Amazon SES account.
Implementation
Future<ListCustomVerificationEmailTemplatesResponse>
listCustomVerificationEmailTemplates({
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
50,
);
final $request = <String, dynamic>{};
maxResults?.also((arg) => $request['MaxResults'] = arg);
nextToken?.also((arg) => $request['NextToken'] = arg);
final $result = await _protocol.send(
$request,
action: 'ListCustomVerificationEmailTemplates',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['ListCustomVerificationEmailTemplatesRequest'],
shapes: shapes,
resultWrapper: 'ListCustomVerificationEmailTemplatesResult',
);
return ListCustomVerificationEmailTemplatesResponse.fromXml($result);
}