I am using ListFolderMembersForResource to get folder memberships of datasets and dashboards. I need to also look for folder memberships of groups. If I pass the resource-arn of a group, it does not work. Is this API supported for group resource arn?
Hi @alltej
ListFoldersForResource
API only works for QuickSight assets that can actually live in a folder (dashboards, analyses, datasets and in some regions, templates). It will return a ResourceNotFoundException
if you pass it an ARN for something else (like a user or group).
QuickSight groups aren’t folder members in that sense they’re principals you grant permissions to. If you need to see which groups have access to a given folder, you’ll have to call the folder-permission APIs using DescribeFolderPermissions
on each folder and filter the returned permission entries for your group ARN.
Please refer to the below documentation this might be helpful for you.
Hi @alltej
It’s been a while since we last heard from you. If you have any further questions, please let us know how we can assist you.
If we don’t hear back within the next 3 business days, we’ll proceed with close/archive this topic.
Thank you!