Exercise 1 - Get familiar with QuickSight CLI
aws quicksight help
aws quicksight describe-user help
Exercise 2 - Run describe-user
When you ran the RunMeFirst.sh script in Cloud9 during initial setup, the output told you which Identity region is being used by your QuickSight account. Identity region is where QuickSight manages users and groups. It needn’t be same as the region you select during QuickSight setup. QuickSight picks the most well connected region, that is closest to the region you selected during setup, to manage users and groups. We surfaced that info by running a describe-user command and parsing out the region from the user’s arn or error message if it was run in a different region. Let’s run this by hand to get familiar with QuickSight commands.
aws quicksight describe-user --aws-account-id $AAI --namespace default --user-name $UN --region $IR
Note - We had set the value for variables AAI, UN, EML and IR from the RunMeFirst.sh script. Namespaces are containers that hold users and groups. It is used to implement multi tenancy. Initially, QuickSight is setup with a default namespace and that is where the admin user got created when we setup QuickSight. We will explore namespaces further in later section.