deleteReceiptRuleSet method
Deletes the specified receipt rule set and all of the receipt rules it contains. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
May throw CannotDeleteException.
Parameter ruleSetName
:
The name of the receipt rule set to delete.
Implementation
Future<void> deleteReceiptRuleSet({
required String ruleSetName,
}) async {
ArgumentError.checkNotNull(ruleSetName, 'ruleSetName');
final $request = <String, dynamic>{};
$request['RuleSetName'] = ruleSetName;
await _protocol.send(
$request,
action: 'DeleteReceiptRuleSet',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteReceiptRuleSetRequest'],
shapes: shapes,
resultWrapper: 'DeleteReceiptRuleSetResult',
);
}