MediaPackage.Client.
create_harvest_job
(**kwargs)¶Creates a new HarvestJob record.
See also: AWS API Documentation
Request Syntax
response = client.create_harvest_job(
EndTime='string',
Id='string',
OriginEndpointId='string',
S3Destination={
'BucketName': 'string',
'ManifestKey': 'string',
'RoleArn': 'string'
},
StartTime='string'
)
[REQUIRED] Configuration parameters for where in an S3 bucket to place the harvested content
dict
Response Syntax
{
'Arn': 'string',
'ChannelId': 'string',
'CreatedAt': 'string',
'EndTime': 'string',
'Id': 'string',
'OriginEndpointId': 'string',
'S3Destination': {
'BucketName': 'string',
'ManifestKey': 'string',
'RoleArn': 'string'
},
'StartTime': 'string',
'Status': 'IN_PROGRESS'|'SUCCEEDED'|'FAILED'
}
Response Structure
Exceptions
MediaPackage.Client.exceptions.UnprocessableEntityException
MediaPackage.Client.exceptions.InternalServerErrorException
MediaPackage.Client.exceptions.ForbiddenException
MediaPackage.Client.exceptions.NotFoundException
MediaPackage.Client.exceptions.ServiceUnavailableException
MediaPackage.Client.exceptions.TooManyRequestsException