Saving Individual Visuals from Quicksight to Amazon S3

Hi, I don’t know if QuickSight has this kind of functionality but I am wondering if it is possible to save individual QuickSight Visuals into Amazon S3. Any responses for this would be very helpful!

Hi @ZacB

​Currently, QuickSight does not support to export individual visuals as images or PDFs. However, you can export entire dashboards or analyses to PDF. To isolate a specific visual, consider duplicating the sheet and retaining only the desired visual before exporting.

Please refer to the below documentation this might be helpful for you.

1 Like

Thanks @Xclipse!

I do like the idea of duplicating visuals to another sheet and exporting the sheet from there. My next question from that would be is there any way to automate the process of saving a single sheet or even the entire analysis to a specific location in an s3 bucket? Say I can create a button or control in quicksight, which when interacted with, will save the dashboard sheet to amazon S3? I’d like to see if there’s any way to do this.

1 Like

Hi @ZacB

Automating the export of an entire analysis or individual sheets directly to an Amazon S3 bucket isn’t natively supported. However, you can achieve this functionality through the following approach.

  • QuickSight provides asset bundle export operations that allow developers to export existing assets, such as dashboards and analyses, and download their definitions. These exported assets can be imported back into QuickSight when needed. To export QuickSight assets, you can start an asynchronous export job using the StartAssetBundleExportJob API call. Once the export job is completed, you can download the asset bundle using the provided download URL.

To automate the process

  • Create a Lambda function that invokes the StartAssetBundleExportJob API to export the desired QuickSight assets.​
  • Configure the Lambda function to store the exported asset bundle in a specific S3 bucket.
  • Set up a CloudWatch Events rule to trigger the Lambda function based on a defined schedule or specific events.

Note: While this approach automates the export of QuickSight asset definitions, it doesn’t export the visual data as images or PDFs. If you require visual representations, consider scheduling email reports that include PDFs of your dashboards.

Please refer to the below documentation this might be helpful for you.

2 Likes

Sounds good, it’ll take me some time to get the necessary permissions but thanks for the solution!