CmdID / aws / aws cognito-idp
aws cognito-idp list-groups
Given a user pool ID, returns user pool groups and their details. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--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 list user groups.