Skip to main content

account_sending_enableds

Creates, updates, deletes, gets or lists an account_sending_enableds resource.

Overview

Nameaccount_sending_enableds
TypeResource
Idaws.ses.account_sending_enableds

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
enabledbooleanDescribes whether email sending is enabled or disabled for your Amazon SES account in the current Amazon Web Services Region.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_account_sending_enabledselectregionReturns the email sending status of the Amazon SES account for the current Region. You can execute this operation no more than once per second.
update_account_sending_enabledupdateregionEnabledEnables 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
EnabledbooleanDescribes whether email sending is enabled or disabled for your Amazon SES account in the current Amazon Web Services Region.

SELECT examples

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.

SELECT
enabled
FROM aws.ses.account_sending_enableds
WHERE region = '{{ region }}' -- required
;

UPDATE examples

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.

UPDATE aws.ses.account_sending_enableds
SET
-- No updatable properties
WHERE
region = '{{ region }}' --required
AND Enabled = {{ Enabled}};