deleteTemplate method

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

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 {
  final $request = <String, String>{
    'TemplateName': templateName,
  };
  await _protocol.send(
    $request,
    action: 'DeleteTemplate',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    resultWrapper: 'DeleteTemplateResult',
  );
}