update_account_sending_enabled

update_account_sending_enabled(**kwargs)

Enables or disables email sending across your entire Amazon SES account in the current AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given AWS Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.

You can execute this operation no more than once per second.

See also: AWS API Documentation

Request Syntax

response = client.update_account_sending_enabled(
    Enabled=True|False
)
Parameters
Enabled (boolean) -- Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
Returns
None

Examples

The following example updated the sending status for this account.

response = client.update_account_sending_enabled(
    Enabled=True,
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}