set_active_receipt_rule_set
(**kwargs)¶Sets the specified receipt rule set as the active receipt rule set.
Note
To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null.
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.set_active_receipt_rule_set(
RuleSetName='string'
)
{}
Response Structure
An empty element returned on a successful request.
Exceptions
SES.Client.exceptions.RuleSetDoesNotExistException
Examples
The following example sets the active receipt rule set:
response = client.set_active_receipt_rule_set(
RuleSetName='RuleSetToActivate',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}