updateTemplate method
Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
May throw TemplateDoesNotExistException. May throw InvalidTemplateException.
Implementation
Future<void> updateTemplate({
required Template template,
}) async {
ArgumentError.checkNotNull(template, 'template');
final $request = <String, dynamic>{};
$request['Template'] = template;
await _protocol.send(
$request,
action: 'UpdateTemplate',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['UpdateTemplateRequest'],
shapes: shapes,
resultWrapper: 'UpdateTemplateResult',
);
}