I was able to run the following two commands:
aws quicksight describe-analysis-definition \
--aws-account-id 0123456789 \
--analysis-id sampleid
> output.json
aws quicksight create-analysis \
--generate-cli-skeleton > skeleton.json
After running these two commands, I copy the defintion
object from output.json to skeleton.json
Error running the next command below:
aws quicksight create-analysis \
--cli-input-json file://skeleton.json
Error:
Error parsing parameter âcli-input-jsonâ: Invalid JSON received.
I am assuming the error is when I copy paste the definition
object I am somehow messing the structure of skeleton.json file? Additionally I am assuming I need to provide additional details in the skeleton.json file such as âAwsAccountIdâ, âAnalysisIdâ, âNameâ, Permissions! Just copy pasting the definition
alone will not work.
Send help!