Skip to main content

primary_email_update_status

Creates, updates, deletes, gets or lists a primary_email_update_status resource.

Overview

Nameprimary_email_update_status
TypeResource
Idaws.account.primary_email_update_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
statusstringThe status of the most recent primary email update request. (PENDING, ACCEPTED, COMPLETED, FAILED)
updated_atstring (date-time)The date and time that the most recent primary email update status was last changed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_primary_email_update_statusselectregionRetrieves the status of the most recent primary email update for the specified account. For complete details about how to update the primary email address, see Update the primary email address for your AWS account.

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)

SELECT examples

Retrieves the status of the most recent primary email update for the specified account. For complete details about how to update the primary email address, see Update the primary email address for your AWS account.

SELECT
status,
updated_at
FROM aws.account.primary_email_update_status
WHERE region = '{{ region }}' -- required
;