CmdID / aws / aws ivs-realtime
aws ivs-realtime get-stage-session
Gets information for the specified stage session. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To get a stage session
The following get-stage-session example gets the stage session for a specified session ID of a specified stage ARN (Amazon Resource Name).
aws ivs-realtime get-stage-session --stage-arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh --session-id st-a1b2c3d4e5f6gIdentify--stage-arnARN of the stage for which the information is to be retrieved.--session-idID of a session within the stage.Its output
{
"stageSession": {
"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
--session-idID of a session within the stage.--stage-arnARN of the stage for which the information is to be retrieved.