CmdID / aws / aws mediastore
aws mediastore list-containers
Lists the properties of all containers in AWS Elemental MediaStore. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To view a list of containers
The following list-containers example displays a list of all containers that are associated with your account.
aws mediastore list-containersIdentifyIts output
{
"Containers": [
{
"CreationTime": 1505317931,
"Endpoint": "https://aaabbbcccdddee.data.mediastore.us-west-2.amazonaws.com",
"Status": "ACTIVE",
"ARN": "arn:aws:mediastore:us-west-2:123456789012:container/ExampleLiveDemo",
"AccessLoggingEnabled": false,
"Name": "ExampleLiveDemo"
},
{
"CreationTime": 1506528818,
"Endpoint": "https://fffggghhhiiijj.data.mediastore.us-west-2.amazonaws.com",
"Status": "ACTIVE",
"ARN": "arn:aws:mediastore:us-west-2:123456789012:container/ExampleContainer",
"AccessLoggingEnabled": false,
"Name": "ExampleContainer"
}
]
}Options
--max-resultsEnter the maximum number of containers in the response.--next-tokenOnly if you used MaxResults in the first command, enter the token (which was included in the previous response) to obtain the next set of containers.