Retrieve the Amazon QuickSight Principal ARN - Discovering Hot Topics Using Machine Learning

Retrieve the Amazon QuickSight Principal ARN

To retrieve the Amazon QuickSight User Principal ARN, you must have access to a shell or terminal with the AWS CLI installed. For installation instructions, refer to What Is the AWS Command Line Interface in the AWS CLI User Guide. Optionally, you can use the AWS CloudShell service to run AWS CLI commands.

Running the following command returns the list of users with their corresponding QuickSight User ARNs.

aws quicksight list-users --region <aws-region> --aws-account-id <account-id> --namespace <namespace-name>

The <namespace-name> is default, unless explicitly created in Amazon QuickSight.

Choose an Admin user, or a user who has permissions to create QuickSight resources in that account and AWS Region.