Any QuickSight api we can use to get the relationship between analysis and dashboard

Any QuickSight api we can use to get the relationship between analysis and dashboard

@liwmin -
The describe-dashboard API will give you the SourceEntityArn.

SourceEntityArn should be the Arn of a template not analysis. does it can be Arn of a analysis ? how to set this value with JS api

SourceEntity

The entity that you are using as a source when you update the dashboard. In SourceEntity, you specify the type of object you’re using as source. You can only update a dashboard from a template, so you use a SourceTemplate entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplate ARN can contain any AWS account and any Amazon QuickSight-supported AWS Region.