create_queue
(**kwargs)¶Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
See also: AWS API Documentation
Request Syntax
response = client.create_queue(
Description='string',
Name='string',
PricingPlan='ON_DEMAND'|'RESERVED',
ReservationPlanSettings={
'Commitment': 'ONE_YEAR',
'RenewalType': 'AUTO_RENEW'|'EXPIRE',
'ReservedSlots': 123
},
Status='ACTIVE'|'PAUSED',
Tags={
'string': 'string'
}
)
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
dict
Response Syntax
{
'Queue': {
'Arn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'Description': 'string',
'LastUpdated': datetime(2015, 1, 1),
'Name': 'string',
'PricingPlan': 'ON_DEMAND'|'RESERVED',
'ProgressingJobsCount': 123,
'ReservationPlan': {
'Commitment': 'ONE_YEAR',
'ExpiresAt': datetime(2015, 1, 1),
'PurchasedAt': datetime(2015, 1, 1),
'RenewalType': 'AUTO_RENEW'|'EXPIRE',
'ReservedSlots': 123,
'Status': 'ACTIVE'|'EXPIRED'
},
'Status': 'ACTIVE'|'PAUSED',
'SubmittedJobsCount': 123,
'Type': 'SYSTEM'|'CUSTOM'
}
}
Response Structure
Exceptions
MediaConvert.Client.exceptions.BadRequestException
MediaConvert.Client.exceptions.InternalServerErrorException
MediaConvert.Client.exceptions.ForbiddenException
MediaConvert.Client.exceptions.NotFoundException
MediaConvert.Client.exceptions.TooManyRequestsException
MediaConvert.Client.exceptions.ConflictException