Amazon QuickSight
This page explains how to connect Amazon QuickSight to DataDios. AWS now offers QuickSight as Amazon Quick Sight, part of Amazon Quick Suite. This connector reads the same QuickSight objects under either name. The connector is read-only: it lists your QuickSight objects and shows each object's details. It does not read the rows behind a dataset, and it does not change anything in QuickSight.
What DataDios lists
The browse tree has one folder per object type:
- Data sources: QuickSight's own data sources (the databases and services QuickSight reads from), not DataDios data sources
- Datasets
- Analyses
- Dashboards
- Templates
- Themes: custom themes only, not the built-in ones
- Topics
- Folders
- Namespaces: each namespace holds its Users and Groups
Click an object to see its details. For a dataset, the details include its tables, custom SQL and columns. For an analysis or dashboard, they include the datasets it uses.
Prerequisites
You need an AWS access key for the AWS account that holds QuickSight. The key needs these IAM actions for the types you want to see:
| Type | IAM actions |
|---|---|
| Data sources | quicksight:ListDataSources, quicksight:DescribeDataSource |
| Datasets | quicksight:ListDataSets, quicksight:DescribeDataSet |
| Analyses | quicksight:ListAnalyses, quicksight:DescribeAnalysis |
| Dashboards | quicksight:ListDashboards, quicksight:DescribeDashboard |
| Templates | quicksight:ListTemplates, quicksight:DescribeTemplate |
| Themes | quicksight:ListThemes, quicksight:DescribeTheme |
| Topics | quicksight:ListTopics, quicksight:DescribeTopic |
| Folders | quicksight:ListFolders, quicksight:DescribeFolder |
| Namespaces | quicksight:ListNamespaces, quicksight:DescribeNamespace |
| Users | quicksight:ListUsers, quicksight:DescribeUser |
| Groups | quicksight:ListGroups, quicksight:DescribeGroup |
Users and Groups are listed inside each namespace, so they also need the Namespaces actions.
DataDios also calls sts:GetCallerIdentity to read your AWS account ID. AWS needs no permission for that call.
To give the key every action at once, attach this policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"quicksight:ListDataSources", "quicksight:DescribeDataSource",
"quicksight:ListDataSets", "quicksight:DescribeDataSet",
"quicksight:ListAnalyses", "quicksight:DescribeAnalysis",
"quicksight:ListDashboards", "quicksight:DescribeDashboard",
"quicksight:ListTemplates", "quicksight:DescribeTemplate",
"quicksight:ListThemes", "quicksight:DescribeTheme",
"quicksight:ListTopics", "quicksight:DescribeTopic",
"quicksight:ListFolders", "quicksight:DescribeFolder",
"quicksight:ListNamespaces", "quicksight:DescribeNamespace",
"quicksight:ListUsers", "quicksight:DescribeUser",
"quicksight:ListGroups", "quicksight:DescribeGroup"
],
"Resource": "*"
}
]
}
A type the key is not allowed to list is left out of the tree, and the rest still loads. Your QuickSight edition can also leave out analyses, dashboards, templates, themes and folders.
AWS answers the namespace, user and group calls only in your QuickSight identity region. If the region you enter is not the identity region, the Namespaces folder is left out, with its users and groups.
Create the data source
- Open Data Explorer from the left menu.
- Click Add connection. The Create data source dialog opens.
- In the searchable Type list, choose Amazon QuickSight. It is under Service.
- Fill in the fields:
- Name: a name for the data source (required)
- AWS access key ID (required)
- AWS secret access key (required, stored encrypted). You can also take it from a Secret Store data source.
- Region name: the AWS region that holds your QuickSight assets, for example
us-east-2(required)
- Click Test Connection, then Create.
QuickSight assets are regional. If the region is not the one that holds your dashboards and datasets, the connection still works but the type folders are empty.
Lineage
The data source's Lineage tab shows what a QuickSight object is built from. Open a type folder, such as Dashboards, and click an object.
| Object | Shows |
|---|---|
| Dataset | The QuickSight data source it reads, and any dataset it is built on |
| Analysis | The datasets it uses |
| Dashboard | The datasets it uses, and the analysis or template it was made from |
| Template | The analysis or template it was made from |
| Topic | The datasets it uses |
For example, a dashboard made from a template shows the template and the two datasets it uses.
The tab shows only what an object is built from, not what uses it. A QuickSight data source shows no links: the database it reads is outside QuickSight. Themes, folders, users and groups have no links.
If the connection fails
| Message | What to check |
|---|---|
| AWS rejected the access key | The access key ID or secret access key is wrong. |
| The AWS endpoint for this region does not exist | The region name is misspelled, for example us-east-9. |
| This AWS account has no QuickSight subscription | QuickSight is not set up in this AWS account. |
| No QuickSight object type could be listed | The key has none of the IAM actions above. Test Connection still passes, because the key itself is valid. |
| Some QuickSight object types could not be listed | A type failed for a reason other than permissions, for example AWS throttling, or failed partway through. The rest of the tree loads. Refresh to try again. |