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.UnprocessableEntityExceptionMediaPackageVod.Client.exceptions.InternalServerErrorExceptionMediaPackageVod.Client.exceptions.ForbiddenExceptionMediaPackageVod.Client.exceptions.NotFoundExceptionMediaPackageVod.Client.exceptions.ServiceUnavailableExceptionMediaPackageVod.Client.exceptions.TooManyRequestsException