Rename dashboard and analysis from CLI

Hi Guys,

I am trying to update names of dashboards and analyses from CLI. However,

aws quicksight update-dashboard --aws-account-id XXXXXXXX --dashboard-id XXXXXXXXXX  --name "new name"

faced with the below error

An error occurred (InvalidParameterValueException) when calling the UpdateDashboard operation: Both SourceEntity and Definition cannot be empty

SourceEntity , Definition are optional field as seen in CLI Reference

If need to provide SourceEntity and Definition, how can I extract this details? .

Also same thing happens to me when I try to update the name of csv sourced dataset.
asks --physical-table-map, --import-mode to provide but describe-data-set for a csv sourced dataset does not work.

Hi @tsenguun,
Apologies from the QS community that your original message was missed. A quick note that if you add an additional comment to your original post, it will remove your post from the ‘New’ or ‘Unanswered’ sections so it could potentially get missed like this. I would suggest for future references, instead of adding a second comment, edit your original comment if needed!
In response to your question, it looks like you created a second post on the topic and it received an answer here.

Let us know if you have any additional questions, otherwise if we do not hear back within 3 business days, I’ll close out this topic as well.

Thank you!

Hi @tsenguun,
Since we haven’t heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for relevant information if needed.

Thank you!