I have visual data available to bind in the sheet for example (positions and types of visuals and controls with source data) and I want to update the analysis with my updated sheets programmatically.
Here are a few things I’d like to accomplish by programmatically creating analyses:
Eliminate Manual Work: Creating Quicksight reports involves a lot of repetitive click-and-drag work. It would be more efficient to replace this with code.
Improve Re-usability: Re-using content in Quicksight is a very click intensive manual process. Code is easier to reuse for similar work.
Improve Precision: Click-intensive manual processes are naturally error prone. Giving users the ability to script out analysis creation reduces the potential for error.
However, they are in the process of developing it and to my understanding allows you to use JSON objects to describe visuals / analysis so that you can use it programatically.
The QuickSight API was fairly recently updated to add functions for assets-as-code: describe-analysis-definition, create-analysis, and update-analysis. In concept you can get the definition of one analysis and create a copy or update it to add columns etc. I think there should be a connector here because the import and export json is different shape but I’m excited to try it out. See this blog for introduction.