Handle Visual Experience messages via onMessage
masterThe onMessage handler in contentOptions allows you to react to events emitted by the embedded visual. Supported eventNames include:
CONTENT_LOADED: Triggered when all visuals in the dashboard are fully loaded.ERROR_OCCURRED: Triggered when a rendering error occurs. Themessage.errorCodewill be:Forbidden: The URL's authentication code expired.Unauthorized: The session obtained from the authentication code expired. Note: If these occur, you must generate a new URL.
PARAMETERS_CHANGED: Triggered when parameters in the QuickSight dashboard change.SIZE_CHANGED: Triggered when the size of the dashboard changes.