CmdID / aws / aws ivs-realtime
aws ivs-realtime list-stages
Gets summary information about all stages in your account, in the AWS region where the API request is processed. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To get summary information about all stages
The following list-stages example lists all stages for your AWS account, in the AWS region where the API request is processed.
aws ivs-realtime list-stagesIdentifyIts output
{
"stages": [
{
"activeSessionId": "st-a1b2c3d4e5f6g",
"arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh",
"name": "stage1",
"tags": {}
},
{
"activeSessionId": "st-a123bcd456efg",
"arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcd1234ABCD",
"name": "stage2",
"tags": {}
},
{
"activeSessionId": "st-abcDEF1234ghi",
"arn": "arn:aws:ivs:us-west-2:123456789012:stage/ABCD1234efgh",
"name": "stage3",
"tags": {}
}
]
}For more information, see Enabling Multiple Hosts on an Amazon IVS Stream in the Amazon Interactive Video Service User Guide.
Options
--max-resultsMaximum number of results to return.--next-tokenThe first stage to retrieve.