account_names
Creates, updates, deletes, gets or lists an account_names resource.
Overview
| Name | account_names |
| Type | Resource |
| Id | aws.account.account_names |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
put_account_name | replace | region, AccountName | Updates the account name of the specified account. To use this API, IAM principals must have the account:PutAccountName IAM permission. |
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) |
REPLACE examples
- put_account_name
Updates the account name of the specified account. To use this API, IAM principals must have the account:PutAccountName IAM permission.
REPLACE aws.account.account_names
SET
AccountName = '{{ AccountName }}',
AccountId = '{{ AccountId }}'
WHERE
region = '{{ region }}' --required
AND AccountName = '{{ AccountName }}' --required;