I have the list of all AWS accounts in my organization. I need to list the users present in each account via API.
Through the documentation List account assigments,
I can list only passing as parameters account + permission set.
I wanted it to list all users, just like when I click on the account via console, as shown in the image:
Can anyone tell me if this is possible?
The way I managed to do it was as follows:
You need to perform this process on all accounts and group users by account. It's a little tedious but it's the only way I found. I hope you can improve this library in the future.