I am creating a dashboard using a go SDK. When i create a dashboard sometimes status is “CREATION_IN_PROGRESS”. How can verify or get current state of Dashboard creation.
Hi @anv1esh
Welcome to the QuickSight community!
You can check the current state of a dashboard creation using the describe_dashboard()
API.
Steps to Track Dashboard Creation
- Call
create_dashboard()
to initiate creation. - Extract
DashboardId
and checkCreationStatus
in the response. - Use
describe_dashboard()
in a loop to check status until it becomes CREATION_SUCCESSFUL or CREATION_FAILED. - Polling every 5 seconds ensures tracking until completion. Exits when the status becomes CREATION_SUCCESSFUL or CREATION_FAILED.