SES.Client.
delete_receipt_rule_set
(**kwargs)¶Deletes the specified receipt rule set and all of the receipt rules it contains.
Note
The currently active rule set cannot be deleted.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
See also: AWS API Documentation
Request Syntax
response = client.delete_receipt_rule_set(
RuleSetName='string'
)
[REQUIRED]
The name of the receipt rule set to delete.
{}
Response Structure
An empty element returned on a successful request.
Exceptions
SES.Client.exceptions.CannotDeleteException
Examples
The following example deletes a receipt rule set:
response = client.delete_receipt_rule_set(
RuleSetName='MyRuleSet',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}