i have an admin account on our quicksight instance. i have not used the aws quicksight cli before, but i am now trying to. i am confused about which account id to use: my organisation has a root account and i have an account under that root account. then we have different roles defined, and our quicksight is under a production role that my account can switch to. it has a number of datasets in there, but when i try to list the ids i get an unexpected error:
~/> aws quicksight list-data-sets --aws-account-id
An error occurred (AccessDeniedException) when calling the ListDataSets operation: User: arn:aws:iam:::user/is not authorized to access this resource
On QuickSight page, click on user profile icon on top right of the UI and select info.
This page will show the QuickSight account name and ID. This is the ID you need to use to execute CLI commands.