deleteTemplate method
Deletes an email template.
You can execute this operation no more than once per second.
Parameter templateName
:
The name of the template to be deleted.
Implementation
Future<void> deleteTemplate({
required String templateName,
}) async {
ArgumentError.checkNotNull(templateName, 'templateName');
final $request = <String, dynamic>{};
$request['TemplateName'] = templateName;
await _protocol.send(
$request,
action: 'DeleteTemplate',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteTemplateRequest'],
shapes: shapes,
resultWrapper: 'DeleteTemplateResult',
);
}