Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1905

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To retrieve a list of groups**

This example retrieves summaries of the groups in the specified organization.

Command::

  aws workmail list-groups --organization-id m-d281d0a2fd824be5b6cd3d3ce909fd27 

Output::

  {
    "Groups": [

        {
            "Id": "S-1-1-11-1122222222-2222233333-3333334444-4444",
            "Name": "exampleGroup1",
            "State": "DISABLED"
        },
        {
            "Id": "S-4-4-44-1122222222-2222233333-3333334444-4444",
            "Name": "exampleGroup2",
            "State": "ENABLED"
        }
    ]
  }