deleteConfigurationTemplate method
Deletes the specified configuration template.
May throw OperationInProgressException.
Parameter applicationName
:
The name of the application to delete the configuration template from.
Parameter templateName
:
The name of the configuration template to delete.
Implementation
Future<void> deleteConfigurationTemplate({
required String applicationName,
required String templateName,
}) async {
ArgumentError.checkNotNull(applicationName, 'applicationName');
_s.validateStringLength(
'applicationName',
applicationName,
1,
100,
isRequired: true,
);
ArgumentError.checkNotNull(templateName, 'templateName');
_s.validateStringLength(
'templateName',
templateName,
1,
100,
isRequired: true,
);
final $request = <String, dynamic>{};
$request['ApplicationName'] = applicationName;
$request['TemplateName'] = templateName;
await _protocol.send(
$request,
action: 'DeleteConfigurationTemplate',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteConfigurationTemplateMessage'],
shapes: shapes,
);
}