CmdID

CmdID / aws / aws iot

aws iot list-streams

Lists all of the streams in your Amazon Web Services account. 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 list the streams in the account

The following list-streams example lists all of the streams in your AWS account.

aws iot list-streamsIdentify
Its output
{
    "streams": [
        {
            "streamId": "stream12345",
            "streamArn": "arn:aws:iot:us-west-2:123456789012:stream/stream12345",
            "streamVersion": 1,
            "description": "This stream is used for Amazon FreeRTOS OTA Update 12345."
        },
        {
            "streamId": "stream54321",
            "streamArn": "arn:aws:iot:us-west-2:123456789012:stream/stream54321",
            "streamVersion": 1,
            "description": "This stream is used for Amazon FreeRTOS OTA Update 54321."
        }
    ]
}

For more information, see MQTT-based file delivery in the AWS IoT Core Developer Guide.

Options

3 in the AWS CLI reference
--ascending-orderSet to true to return the list of streams in ascending order.
--max-resultsThe maximum number of results to return at a time.
--next-tokenA token used to get the next set of results.