CmdID / aws / aws mediapackage-vod
aws mediapackage-vod list-assets
Returns a collection of MediaPackage VOD Asset resources. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list all assets
The following list-assets example lists all of the assets that are configured in the current AWS account.
aws mediapackage-vod list-assetsIdentifyIts output
{
"Assets": [
{
"Arn": "arn:aws:mediapackage-vod:us-west-2:123456789012:assets/30sec_chicken",
"Id": "30sec_chicken",
"PackagingGroupId": "Packaging_group_1",
"SourceArn": "arn:aws:s3::123456789012:video-bucket/A/30sec_chicken.smil",
"SourceRoleArn": "arn:aws:iam::123456789012:role/EMP_Vod"
}
]
}For more information, see Viewing Asset Details in the AWS Elemental MediaPackage User Guide.
Options
--max-resultsUpper bound on number of records to return.--next-tokenA token used to resume pagination from the end of a previous request.--packaging-group-idReturns Assets associated with the specified PackagingGroup.