Hi QuickSight Team,
We are trying to use the search-dashboards api to filter out the dashboards for a given user arn.
We have referred to the following api documentation -
https://docs.aws.amazon.com/cli/latest/reference/quicksight/search-dashboards.html
Below is the cli command that we were trying to execute.
aws quicksight search-dashboards --aws-account-id <account-id> --filters [{"Name":"QUICKSIGHT_USER","Operator":"StringEquals", "Value": "<ARN of User>"}]
Upon running the above command, we get the following error in AWS CloudShell.
Apart from this -
- We have tried putting the json in single quotes but it still gives an error
aws quicksight search-dashboards --aws-account-id <account-id> --filters '[{"Name":"QUICKSIGHT_USER","Operator":"StringEquals", "Value": "<ARN of User>"}]'
- Tried putting it as a Filters json object as well, but still gives an error
aws quicksight search-dashboards --aws-account-id <account-id> --filters {"Filters":[{"Name":"QUICKSIGHT_USER","Operator":"StringEquals", "Value": "<ARN of User>"}]}
Could you please let me know what is the correct JSON structure body for the filters to be passed to the QuickSight search-dashboards api ?
Thanks and Regards