create_queue
¶
create_queue(
*,
config_overrides: Optional[MediaConvertClientConfig] = None,
concurrent_jobs: Optional[__integer] = None,
description: Optional[__string] = None,
maximum_concurrent_feeds: Optional[__integerMin0] = None,
name: Optional[__string] = None,
pricing_plan: Optional[PricingPlan] = None,
reservation_plan_settings: Optional[ReservationPlanSettings] = None,
status: Optional[QueueStatus] = None,
tags: Optional[__mapOf__string] = None,
) -> CreateQueueResponse
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
Parameters:
-
concurrent_jobs(Optional[__integer], default:None) –Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.
-
description(Optional[__string], default:None) –Optional. A description of the queue that you are creating.
-
maximum_concurrent_feeds(Optional[__integerMin0], default:None) –Specify the maximum number of Elemental Inference feeds MediaConvert can process concurrently.
-
name(Optional[__string], default:None) –The name of the queue that you are creating.
-
pricing_plan(Optional[PricingPlan], default:None) –Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
-
reservation_plan_settings(Optional[ReservationPlanSettings], default:None) –Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
-
status(Optional[QueueStatus], default:None) –Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.
-
tags(Optional[__mapOf__string], default:None) –The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
Raises:
-
BadRequestException–The service can't process your request because of a problem in the request. Please check your request form and syntax.
-
ConflictException–The service couldn't complete your request because there is a conflict with the current state of the resource.
-
ForbiddenException–You don't have permissions for this action with the credentials you sent.
-
InternalServerErrorException–The service encountered an unexpected condition and can't fulfill your request.
-
NotFoundException–The resource you requested doesn't exist.
-
ServiceQuotaExceededException–You attempted to create more resources than the service allows based on service quotas.
-
TooManyRequestsException–Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconvert/_services/media_convert.py
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 | |