CmdID

CmdID / aws / aws detective

aws detective list-invitations

Retrieves the list of open and accepted behavior graph invitations for the member account. AWS CLI reference

1 example 2 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 view a list of behavior graphs that an account is a member of or is invited to

The following list-invitations example retrieves the behavior graphs that the calling account has been invited to. The results include only open and accepted invitations. They do not include rejected invitations or removed memberships.

aws detective list-invitationsIdentify
Its output
{
    "Invitations": [
    {
        "AccountId": "123456789222",
        "AdministratorId": "123456789111",
        "EmailAddress": "mmajor@example.com",
        "GraphArn": "arn:aws:detective:us-west-2:123456789111:graph:027c7c4610ea4aacaf0b883093cab899",
        "InvitedTime": "2020-01-24T00:35:07+00:00",
        "MasterId": "123456789111",
        "Status": "INVITED",
        "UpdatedTime": "2020-01-24T00:35:07+00:00"
    }
]
}

For more information, see Viewing your list of behavior graph invitations in the Amazon Detective User Guide.

Options

2 in the AWS CLI reference
--max-resultsThe maximum number of behavior graph invitations to return in the response.
--next-tokenFor requests to retrieve the next page of results, the pagination token that was returned with the previous page of results.