primary_email_update_status
Creates, updates, deletes, gets or lists a primary_email_update_status resource.
Overview
| Name | primary_email_update_status |
| Type | Resource |
| Id | aws.account.primary_email_update_status |
Fields
The following fields are returned by SELECT queries:
- get_primary_email_update_status
| Name | Datatype | Description |
|---|---|---|
status | string | The status of the most recent primary email update request. (PENDING, ACCEPTED, COMPLETED, FAILED) |
updated_at | string (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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_primary_email_update_status | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_primary_email_update_status
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
;