Sharing Dashboard to Folder via API (UpdateFolderMembership)

Hello AWS QuickSight Community,

We are in the process of spinning up a QuickSight environment and I am wanting to share a dashboard via CLI to a folder. I was looking at the QuickSight API documentation and couldn’t find anything helpful and so I went ahead and looked at the CloudTrail event / API used for the process. I found that UpdateFolderMembership was used.

Apparently this API is not available for public consumption? (quicksight — AWS CLI 1.29.16 Command Reference)

Is there another way to share dashboards to folders programmatically? I know it very very easy to do it via Click Ops. Just looking to automate the process for when we share from dev to qa to prod.

can you test the following api call : create-folder-membership — AWS CLI 2.13.5 Command Reference

Regards,
Koushik

This worked. Thanks!