SES / Client / update_account_sending_enabled

update_account_sending_enabled#

SES.Client.update_account_sending_enabled(**kwargs)#

Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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': {
        '...': '...',
    },
}