CmdID

CmdID / aws / aws ivs-realtime

aws ivs-realtime list-stage-sessions

Gets all sessions for a specified stage. 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 get a list of stage sessions

The following list-stage-sessions example lists all sessions for a specified stage ARN (Amazon Resource Name).

aws ivs-realtime list-stage-sessions --stage-arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefghIdentify
--stage-arnStage ARN.
Its output
{
    "stageSessions": [
        {
            "endTime": "2023-04-26T20:36:29+00:00",
            "sessionId": "st-a1b2c3d4e5f6g",
            "startTime": "2023-04-26T20:30:29.602000+00:00"
        }
    ]
}

For more information, see Enabling Multiple Hosts on an Amazon IVS Stream in the Amazon Interactive Video Service User Guide.

Options

3 in the AWS CLI reference
--max-resultsMaximum number of results to return.
--next-tokenThe first stage session to retrieve.
--stage-arnStage ARN.