Skip to main content

account_alias

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

Overview

Nameaccount_alias
TypeResource
Idaws.support_app.account_alias

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_aliasstringAn alias or short name for an Amazon Web Services account. (pattern: <code>^[\w- ]+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_account_aliasselectregionRetrieves the alias from an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.
put_account_aliasreplaceregion, accountAliasCreates or updates an individual alias for each Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.
delete_account_aliasdeleteregionDeletes an alias for an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

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 alias from an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

SELECT
account_alias
FROM aws.support_app.account_alias
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Creates or updates an individual alias for each Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

REPLACE aws.support_app.account_alias
SET
accountAlias = '{{ accountAlias }}'
WHERE
region = '{{ region }}' --required
AND accountAlias = '{{ accountAlias }}' --required;

DELETE examples

Deletes an alias for an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

DELETE FROM aws.support_app.account_alias
WHERE region = '{{ region }}' --required
;