使用 Amazon QuickSight APIs 處理 QuickSight Q 主題 Amazon QuickSight - Amazon QuickSight

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

使用 Amazon QuickSight APIs 處理 QuickSight Q 主題 Amazon QuickSight

 適用於:企業版本 
   目標受眾:Amazon QuickSight 開發人員 

在本章節中了解如何使用 Amazon QuickSight 命令列介面 (CLI) 處理 QuickSight Q 主題。

先決條件

開始之前,請確定您擁有 AWS Identity and Access Management (IAM) 角色,授予 CLI 使用者呼叫 QuickSight API 操作的存取權。下表顯示了必須將哪些許可新增至 IAM 政策才能使用特定 API 操作。若要使用所有 Q 主題 API 操作,請新增資料表中列出的所有許可。

API 操作 IAM 政策

CreateTopic

quicksight:CreateTopic

quicksight:PassDataSet

ListTopics

quicksight:ListTopics

DescribeTopic

quicksight:DescribeTopic

DescribeTopicPermissions

quicksight:DescribeTopicPermissions

DescribeTopicRefresh

quicksight:DescribeTopicRefresh

DeleteTopic

quicksight:DeleteTopic

UpdateTopic

quicksight:UpdateTopic

quicksight:PassDataSet

UpdateTopicPermissions

quicksight:UpdateTopicPermissions

CreateTopicRefreshSchedule

quicksight:CreateTopicRefreshSchedule

ListTopicRefreshSchedules

quicksight:ListTopicRefreshSchedules

DescribeTopicRefreshSchedule

quicksight:DescribeTopicRefreshSchedule

UpdateTopicRefreshSchedule

quicksight:UpdateTopicRefreshSchedule

DeleteTopicRefreshSchedule

quicksight:DeleteTopicRefreshSchedule

BatchCreateTopicReviewedAnswer

quicksight:BatchCreateTopicReviewedAnswer

BatchDeleteTopicReviewedAnswer

quicksight:BatchDeleteTopicReviewedAnswer

ListTopicReviewedAnswers

quicksight:ListTopicReviewedAnswers

下面的範例顯示允許使用者使用 ListTopics 操作的 IAM 政策。

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "quicksight:ListTopics" ], "Resource": "*" } ] }

設定使用 QuickSight APIs 建立 QuickSight Q 主題的許可後,請使用下列主題來建立和使用 QuickSight Q 主題 APIs。