MediaPackageVod / Client / list_assets

list_assets#

MediaPackageVod.Client.list_assets(**kwargs)#

Returns a collection of MediaPackage VOD Asset resources.

See also: AWS API Documentation

Request Syntax

response = client.list_assets(
    MaxResults=123,
    NextToken='string',
    PackagingGroupId='string'
)
Parameters:
  • MaxResults (integer) – Upper bound on number of records to return.

  • NextToken (string) – A token used to resume pagination from the end of a previous request.

  • PackagingGroupId (string) – Returns Assets associated with the specified PackagingGroup.

Return type:

dict

Returns:

Response Syntax

{
    'Assets': [
        {
            'Arn': 'string',
            'CreatedAt': 'string',
            'Id': 'string',
            'PackagingGroupId': 'string',
            'ResourceId': 'string',
            'SourceArn': 'string',
            'SourceRoleArn': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) – A collection of MediaPackage VOD Asset resources.

    • Assets (list) – A list of MediaPackage VOD Asset resources.

      • (dict) – A MediaPackage VOD Asset resource.

        • Arn (string) – The ARN of the Asset.

        • CreatedAt (string) – The time the Asset was initially submitted for Ingest.

        • Id (string) – The unique identifier for the Asset.

        • PackagingGroupId (string) – The ID of the PackagingGroup for the Asset.

        • ResourceId (string) – The resource ID to include in SPEKE key requests.

        • SourceArn (string) – ARN of the source object in S3.

        • SourceRoleArn (string) – The IAM role ARN used to access the source S3 bucket.

        • Tags (dict) – A collection of tags associated with a resource

          • (string) –

            • (string) –

    • NextToken (string) – A token that can be used to resume pagination from the end of the collection.

Exceptions

  • MediaPackageVod.Client.exceptions.UnprocessableEntityException

  • MediaPackageVod.Client.exceptions.InternalServerErrorException

  • MediaPackageVod.Client.exceptions.ForbiddenException

  • MediaPackageVod.Client.exceptions.NotFoundException

  • MediaPackageVod.Client.exceptions.ServiceUnavailableException

  • MediaPackageVod.Client.exceptions.TooManyRequestsException