account_settings
Creates, updates, deletes, gets or lists an account_settings resource.
Overview
| Name | account_settings |
| Type | Resource |
| Id | aws.artifact.account_settings |
Fields
The following fields are returned by SELECT queries:
- get_account_settings
| Name | Datatype | Description |
|---|---|---|
notification_subscription_status | string | Notification subscription status of the customer. (SUBSCRIBED, NOT_SUBSCRIBED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_account_settings | select | region | Get the account settings for Artifact. | |
put_account_settings | replace | region | Put the account settings for Artifact. |
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_account_settings
Get the account settings for Artifact.
SELECT
notification_subscription_status
FROM aws.artifact.account_settings
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_account_settings
Put the account settings for Artifact.
REPLACE aws.artifact.account_settings
SET
notificationSubscriptionStatus = '{{ notificationSubscriptionStatus }}'
WHERE
region = '{{ region }}' --required
RETURNING
account_settings;