CmdID

CmdID / aws / aws connect

aws connect list-users

Provides summary information about the users for the specified Connect Customer instance. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list the user hierarchy groups in an instance

The following list-users example lists the users in the specified Amazon Connect instance.

aws connect list-users --instance-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify
--instance-idThe identifier of the Connect Customer instance.
Its output
{
    "UserSummaryList": [
        {
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "Username": "Jane"
        },
        {
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
            "Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
            "Username": "Paulo"
        },
        {
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
            "Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
            "Username": "JohnD"
        },
        {
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
            "Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
            "Username": "JohnS"
        }
    ]
}

For more information, see Add Users in the Amazon Connect Administrator Guide.

Options

3 in the AWS CLI reference
--instance-idThe identifier of the Connect Customer instance.
--max-resultsThe maximum number of results to return per page.
--next-tokenThe token for the next set of results.