QuickSight Reporting has expanded its event driven reporting capabilities by adding the ability to distribute pixel-perfect reports and dashboard reports via emails using APIs. Using the AWS SDK, developers can invoke StartDashboardSnapshotJobSchedule API to run the report, which will follow the configured scheduled report settings, including export type (PDF, CSV, Excel etc.) and email set up (subject line, body text, and attachment setting). The developer needs to obtain the schedule ID of an existing report schedule in QuickSight console and provide it as an input to the API.
Within the QuickSight console, running an email report on demand was already possible through the Run now option, but that required customers to be logged into QuickSight. With this launch, developers can set up automated workflows to listen for QuickSight events, such as dataset refresh events or signals specific to their business (outside of QuickSight), and then start a report schedule programmatically to deliver to pre-selected readers.
Triggering email report schedule via API is now available in all supported Amazon QuickSight regions – see here for QuickSight regional endpoints.
For more on how to set up this setting, go to our documentation.
Source:: Amazon AWS