CmdID / aws / aws cognito-idp
aws cognito-idp list-users-in-group
Given a user pool ID and a group name, returns a list of users in the group. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--group-nameThe name of the group that you want to query for user membership.--limitThe maximum number of groups that you want Amazon Cognito to return in the response.--next-tokenThis API operation returns a limited number of results.--user-pool-idThe ID of the user pool where you want to view the membership of the requested group.