AWS Elemental MediaPackage VOD

2019/11/22 - AWS Elemental MediaPackage VOD - 3 updated api methods

Changes  Includes the submission time of Asset ingestion request in the API response for Create/List/Describe Assets.

CreateAsset (updated) Link ¶
Changes (response)
{'CreatedAt': 'string'}

Creates a new MediaPackage VOD Asset resource.

See also: AWS API Documentation

Request Syntax

client.create_asset(
    Id='string',
    PackagingGroupId='string',
    ResourceId='string',
    SourceArn='string',
    SourceRoleArn='string'
)
type Id

string

param Id

[REQUIRED] The unique identifier for the Asset.

type PackagingGroupId

string

param PackagingGroupId

[REQUIRED] The ID of the PackagingGroup for the Asset.

type ResourceId

string

param ResourceId

The resource ID to include in SPEKE key requests.

type SourceArn

string

param SourceArn

[REQUIRED] ARN of the source object in S3.

type SourceRoleArn

string

param SourceRoleArn

[REQUIRED] The IAM role ARN used to access the source S3 bucket.

rtype

dict

returns

Response Syntax

{
    'Arn': 'string',
    'CreatedAt': 'string',
    'EgressEndpoints': [
        {
            'PackagingConfigurationId': 'string',
            'Url': 'string'
        },
    ],
    'Id': 'string',
    'PackagingGroupId': 'string',
    'ResourceId': 'string',
    'SourceArn': 'string',
    'SourceRoleArn': 'string'
}

Response Structure

  • (dict) -- The new MediaPackage VOD Asset resource.

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

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

    • EgressEndpoints (list) -- The list of egress endpoints available for the Asset.

      • (dict) -- The endpoint URL used to access an Asset using one PackagingConfiguration.

        • PackagingConfigurationId (string) -- The ID of the PackagingConfiguration being applied to the Asset.

        • Url (string) -- The URL of the parent manifest for the repackaged Asset.

    • 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.

DescribeAsset (updated) Link ¶
Changes (response)
{'CreatedAt': 'string'}

Returns a description of a MediaPackage VOD Asset resource.

See also: AWS API Documentation

Request Syntax

client.describe_asset(
    Id='string'
)
type Id

string

param Id

[REQUIRED] The ID of an MediaPackage VOD Asset resource.

rtype

dict

returns

Response Syntax

{
    'Arn': 'string',
    'CreatedAt': 'string',
    'EgressEndpoints': [
        {
            'PackagingConfigurationId': 'string',
            'Url': 'string'
        },
    ],
    'Id': 'string',
    'PackagingGroupId': 'string',
    'ResourceId': 'string',
    'SourceArn': 'string',
    'SourceRoleArn': 'string'
}

Response Structure

  • (dict) -- A MediaPackage VOD Asset resource.

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

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

    • EgressEndpoints (list) -- The list of egress endpoints available for the Asset.

      • (dict) -- The endpoint URL used to access an Asset using one PackagingConfiguration.

        • PackagingConfigurationId (string) -- The ID of the PackagingConfiguration being applied to the Asset.

        • Url (string) -- The URL of the parent manifest for the repackaged Asset.

    • 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.

ListAssets (updated) Link ¶
Changes (response)
{'Assets': {'CreatedAt': 'string'}}

Returns a collection of MediaPackage VOD Asset resources.

See also: AWS API Documentation

Request Syntax

client.list_assets(
    MaxResults=123,
    NextToken='string',
    PackagingGroupId='string'
)
type MaxResults

integer

param MaxResults

Upper bound on number of records to return.

type NextToken

string

param NextToken

A token used to resume pagination from the end of a previous request.

type PackagingGroupId

string

param PackagingGroupId

Returns Assets associated with the specified PackagingGroup.

rtype

dict

returns

Response Syntax

{
    'Assets': [
        {
            'Arn': 'string',
            'CreatedAt': 'string',
            'Id': 'string',
            'PackagingGroupId': 'string',
            'ResourceId': 'string',
            'SourceArn': 'string',
            'SourceRoleArn': '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.

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