Hi Team,
I am trying to rename a QuickSight analysis using the AWS CLI with the following command:
aws quicksight update-analysis --aws-account-id ********* --analysis-id fa26e42f-91c7-4031-b655-3a63af6ca2fa --name user_rename_analysis_renamed --source-entity file://fa26e42f-91c7-4031-b655-3a63af6ca2fa_source_entity.json
Here is the content of my fa26e42f-91c7-4031-b655-3a63af6ca2fa_source_entity.json
file:
{
"SourceTemplate": {
"DataSetReferences": [
{
"DataSetPlaceholder": "user_rename",
"DataSetArn": "arn:aws:quicksight:us-west-2:*********:data-set/9f9f39fd-082a-44e8-9c93-64657e6d3aa0"
}
],
"Arn": "arn:aws:quicksight:us-west-2:*********:analysis/fa26e42f-91c7-4031-b655-3a63af6ca2fa"
}
}
However, when I run the command, I receive the following error:
An error occurred (ValidationException) when calling the UpdateAnalysis operation: 1 validation error detected: Value 'arn:aws:quicksight:us-west-2:*********:data-set/9f9f39fd-082a-44e8-9c93-64657e6d3aa0' at 'sourceEntity.sourceTemplate.dataSetReferences.1.member.dataSetArn' failed to satisfy constraint: Specified resource is not reachable in this region ('us-west-2'). Please check the arn format and region information.
I have verified that the region is correct (us-west-2
). I am unsure why this issue occurs since both the DataSetArn
and Arn
use the same region.
Could you help me understand how to resolve this and successfully rename the analysis?
Thanks in advance!