CmdID / aws / aws mediaconnect
aws mediaconnect list-flows
Displays a list of flows that are associated with this account. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To view a list of flows
The following list-flows example displays a list of flows.
aws mediaconnect list-flowsIdentifyIts output
{
"Flows": [
{
"Status": "STANDBY",
"SourceType": "OWNED",
"AvailabilityZone": "us-west-2a",
"Description": "NYC awards show",
"Name": "AwardsShow",
"FlowArn": "arn:aws:mediaconnect:us-west-2:123456789012:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:AwardsShow"
},
{
"Status": "STANDBY",
"SourceType": "OWNED",
"AvailabilityZone": "us-west-2c",
"Description": "LA basketball game",
"Name": "BasketballGame",
"FlowArn": "arn:aws:mediaconnect:us-west-2:123456789012:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGame"
}
]
}For more information, see Viewing a List of Flows in the AWS Elemental MediaConnect User Guide.
Options
--max-resultsThe maximum number of results to return per API request.--next-tokenThe token that identifies the batch of results that you want to see.