aws ivs list-streams
Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To get a list of live streams and their state
The following list-streams example lists all live streams for your AWS account.
aws ivs list-streamsIdentifyIts output
{
"streams": [
{
"channelArn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh",
"state": "LIVE",
"health": "HEALTHY",
"streamId": "st-ABCDEfghij01234KLMN5678",
"viewerCount": 1
}
]
}For more information, see Create a Channel in the IVS Low-Latency User Guide.
Options
--filter-byFilters the stream list to match the specified criterion.--max-resultsMaximum number of streams to return.--next-tokenThe first stream to retrieve.