list-groups
Description
- regular template: Lists all groups associated with the user pool.
- federated template: Lists the groups that the user belongs to.
Synopsis
list-groups
Options
none
Example
The following command retrieves information about which groups the user "user_amazon_com" belongs to.
Command:
datalake list-groups
Output:
{
"Groups": [{
"GroupName": "Marketing",
"UserPoolId": "us-east-1_*********",
"Description": "Users of Marketing team",
"LastModifiedDate": "2018-05-24T17:25:53.364Z",
"CreationDate": "2018-05-24T17:25:53.364Z"
}]
}
Output
Group list -> (json)