MediaPackageVod.Client.
create_asset
(**kwargs)¶Creates a new MediaPackage VOD Asset resource.
See also: AWS API Documentation
Request Syntax
response = client.create_asset(
Id='string',
PackagingGroupId='string',
ResourceId='string',
SourceArn='string',
SourceRoleArn='string',
Tags={
'string': 'string'
}
)
A collection of tags associated with a resource
dict
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
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