Skip to main content

topics

Creates, updates, deletes or gets a topic resource or lists topics in a region

Overview

Nametopics
TypeResource
DescriptionDefinition of the AWS::QuickSight::Topic Resource Type.
Idaws.quicksight.topics

Fields

NameDatatypeDescription
arnstring
aws_account_idstring
data_setsarray
descriptionstring
namestring
topic_idstring
user_experience_versionstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all topics in a region.

SELECT
region,
arn,
aws_account_id,
data_sets,
description,
name,
topic_id,
user_experience_version
FROM aws.quicksight.topics
WHERE region = 'us-east-1';

Gets all properties from an individual topic.

SELECT
region,
arn,
aws_account_id,
data_sets,
description,
name,
topic_id,
user_experience_version
FROM aws.quicksight.topics
WHERE region = 'us-east-1' AND data__Identifier = '<AwsAccountId>|<TopicId>';

INSERT example

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

/*+ create */
INSERT INTO aws.quicksight.topics (
AwsAccountId,
DataSets,
Description,
Name,
TopicId,
UserExperienceVersion,
region
)
SELECT
'{{ AwsAccountId }}',
'{{ DataSets }}',
'{{ Description }}',
'{{ Name }}',
'{{ TopicId }}',
'{{ UserExperienceVersion }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.quicksight.topics
WHERE data__Identifier = '<AwsAccountId|TopicId>'
AND region = 'us-east-1';

Permissions

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

Create

quicksight:CreateTopic,
quicksight:PassDataSet,
quicksight:DescribeTopicRefresh

Read

quicksight:DescribeTopic

Update

quicksight:UpdateTopic,
quicksight:PassDataSet,
quicksight:DescribeTopicRefresh

Delete

quicksight:DeleteTopic

List

quicksight:ListTopics