Skip to main content

theme_alias

Creates, updates, deletes, gets or lists a theme_alias resource.

Overview

Nametheme_alias
TypeResource
Idaws.quicksight.theme_alias

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
request_idstringThe Amazon Web Services request ID for this operation.
statusintegerThe HTTP status of the request.
theme_aliasobjectInformation about the theme alias.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_theme_aliasselectaws_account_id, theme_id, alias_name, regionDescribes the alias for a theme.
create_theme_aliasinsertaws_account_id, theme_id, alias_name, region, ThemeVersionNumberCreates a theme alias for a theme.
update_theme_aliasupdateaws_account_id, theme_id, alias_name, region, ThemeVersionNumberUpdates an alias of a theme.
delete_theme_aliasdeleteaws_account_id, theme_id, alias_name, regionDeletes the version of the theme that the specified theme alias points to. If you provide a specific alias, you delete the version of the theme that the alias points to.

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
alias_namestringThe unique name for the theme alias to delete.
aws_account_idstringThe ID of the Amazon Web Services account that contains the theme alias to delete.
regionstringAWS region (default: us-east-1)
theme_idstringThe ID for the theme that the specified alias is for.

SELECT examples

Describes the alias for a theme.

SELECT
request_id,
status,
theme_alias
FROM aws.quicksight.theme_alias
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND theme_id = '{{ theme_id }}' -- required
AND alias_name = '{{ alias_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a theme alias for a theme.

INSERT INTO aws.quicksight.theme_alias (
ThemeVersionNumber,
aws_account_id,
theme_id,
alias_name,
region
)
SELECT
{{ ThemeVersionNumber }} /* required */,
'{{ aws_account_id }}',
'{{ theme_id }}',
'{{ alias_name }}',
'{{ region }}'
RETURNING
request_id,
status,
theme_alias
;

UPDATE examples

Updates an alias of a theme.

UPDATE aws.quicksight.theme_alias
SET
ThemeVersionNumber = {{ ThemeVersionNumber }}
WHERE
aws_account_id = '{{ aws_account_id }}' --required
AND theme_id = '{{ theme_id }}' --required
AND alias_name = '{{ alias_name }}' --required
AND region = '{{ region }}' --required
AND ThemeVersionNumber = '{{ ThemeVersionNumber }}' --required
RETURNING
request_id,
status,
theme_alias;

DELETE examples

Deletes the version of the theme that the specified theme alias points to. If you provide a specific alias, you delete the version of the theme that the alias points to.

DELETE FROM aws.quicksight.theme_alias
WHERE aws_account_id = '{{ aws_account_id }}' --required
AND theme_id = '{{ theme_id }}' --required
AND alias_name = '{{ alias_name }}' --required
AND region = '{{ region }}' --required
;