get_account_sending_enabled

SES.Client.get_account_sending_enabled()

Returns the email sending status of the Amazon SES account for the current region.

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

See also: AWS API Documentation

Request Syntax

response = client.get_account_sending_enabled()
Return type
dict
Returns
Response Syntax
{
    'Enabled': True|False
}

Response Structure

  • (dict) --

    Represents a request to return the email sending status for your Amazon SES account in the current AWS Region.

    • Enabled (boolean) --

      Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.

Examples

The following example returns if sending status for an account is enabled. (true / false):

response = client.get_account_sending_enabled(
)

print(response)

Expected Output:

{
    'Enabled': True,
    'ResponseMetadata': {
        '...': '...',
    },
}