AWS Elemental MediaPackage VOD

2021/09/22 - AWS Elemental MediaPackage VOD - 2 updated api methods

Changes  MediaPackage VOD will now return the current processing statuses of an asset's endpoints. The status can be QUEUED, PROCESSING, PLAYABLE, or FAILED.

CreateAsset (updated) Link ¶
Changes (response)
{'EgressEndpoints': {'Status': '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',
    Tags={
        'string': '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.

type Tags

dict

param Tags

A collection of tags associated with a resource

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{
    'Arn': 'string',
    'CreatedAt': 'string',
    'EgressEndpoints': [
        {
            'PackagingConfigurationId': 'string',
            'Status': 'string',
            'Url': 'string'
        },
    ],
    'Id': 'string',
    'PackagingGroupId': 'string',
    'ResourceId': 'string',
    'SourceArn': 'string',
    'SourceRoleArn': 'string',
    'Tags': {
        'string': '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.

        • Status (string) -- The current processing status of the asset used for the packaging configuration. The status can be either QUEUED, PROCESSING, PLAYABLE, or FAILED. Status information won't be available for most assets ingested before 2021-09-30.

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

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

      • (string) --

        • (string) --

DescribeAsset (updated) Link ¶
Changes (response)
{'EgressEndpoints': {'Status': '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',
            'Status': 'string',
            'Url': 'string'
        },
    ],
    'Id': 'string',
    'PackagingGroupId': 'string',
    'ResourceId': 'string',
    'SourceArn': 'string',
    'SourceRoleArn': 'string',
    'Tags': {
        'string': '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.

        • Status (string) -- The current processing status of the asset used for the packaging configuration. The status can be either QUEUED, PROCESSING, PLAYABLE, or FAILED. Status information won't be available for most assets ingested before 2021-09-30.

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

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

      • (string) --

        • (string) --