Skip to main content

account_names

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

Overview

Nameaccount_names
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
put_account_namereplaceregion, AccountNameUpdates 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

REPLACE examples

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;