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.
{'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' )
string
[REQUIRED] The unique identifier for the Asset.
string
[REQUIRED] The ID of the PackagingGroup for the Asset.
string
The resource ID to include in SPEKE key requests.
string
[REQUIRED] ARN of the source object in S3.
string
[REQUIRED] The IAM role ARN used to access the source S3 bucket.
dict
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.
{'CreatedAt': 'string'}
Returns a description of a MediaPackage VOD Asset resource.
See also: AWS API Documentation
Request Syntax
client.describe_asset( Id='string' )
string
[REQUIRED] The ID of an MediaPackage VOD Asset resource.
dict
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.
{'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' )
integer
Upper bound on number of records to return.
string
A token used to resume pagination from the end of a previous request.
string
Returns Assets associated with the specified PackagingGroup.
dict
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.