listGroups
Lists all groups in the identity store. Returns a paginated list of complete Group objects. Filtering for a Group by the DisplayName attribute is deprecated. Instead, use the GetGroupId API action.
If you have administrator access to a member account, you can use this API from the member account. Read about member accounts in the Organizations User Guide.