Skip to main content

themes

Creates, updates, deletes or gets a theme resource or lists themes in a region

Overview

Namethemes
TypeResource
DescriptionDefinition of the AWS::QuickSight::Theme Resource Type.
Idawscc.quicksight.themes

Fields

NameDatatypeDescription
arnstring<p>The Amazon Resource Name (ARN) of the theme.</p>
aws_account_idstring
base_theme_idstring
configurationobject<p>The theme configuration. This configuration contains all of the display properties for<br />a theme.</p>
created_timestring<p>The date and time that the theme was created.</p>
last_updated_timestring<p>The date and time that the theme was last updated.</p>
namestring
permissionsarray
tagsarray
theme_idstring
typestring
versionobject<p>A version of a theme.</p>
version_descriptionstring
regionstringAWS region.

For more information, see AWS::QuickSight::Theme.

Methods

NameAccessible byRequired Params
create_resourceINSERTAwsAccountId, ThemeId, BaseThemeId, Configuration, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual theme.

SELECT
region,
arn,
aws_account_id,
base_theme_id,
configuration,
created_time,
last_updated_time,
name,
permissions,
tags,
theme_id,
type,
version,
version_description
FROM awscc.quicksight.themes
WHERE region = 'us-east-1' AND data__Identifier = '<ThemeId>|<AwsAccountId>';

INSERT example

Use the following StackQL query and manifest file to create a new theme resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.quicksight.themes (
AwsAccountId,
BaseThemeId,
Configuration,
Name,
ThemeId,
region
)
SELECT
'{{ AwsAccountId }}',
'{{ BaseThemeId }}',
'{{ Configuration }}',
'{{ Name }}',
'{{ ThemeId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.quicksight.themes
WHERE data__Identifier = '<ThemeId|AwsAccountId>'
AND region = 'us-east-1';

Permissions

To operate on the themes resource, the following permissions are required:

Read

quicksight:DescribeTheme,
quicksight:DescribeThemePermissions,
quicksight:ListTagsForResource

Create

quicksight:DescribeTheme,
quicksight:DescribeThemePermissions,
quicksight:CreateTheme,
quicksight:TagResource,
quicksight:UntagResource,
quicksight:ListTagsForResource

List

quicksight:ListThemes

Update

quicksight:DescribeTheme,
quicksight:DescribeThemePermissions,
quicksight:UpdateTheme,
quicksight:UpdateThemePermissions,
quicksight:TagResource,
quicksight:UntagResource,
quicksight:ListTagsForResource

Delete

quicksight:DescribeTheme,
quicksight:DeleteTheme