create_job_template
async
¶
create_job_template(
*,
config_overrides: Optional[AsyncMediaConvertClientConfig] = None,
acceleration_settings: Optional[AccelerationSettings] = None,
category: Optional[__string] = None,
description: Optional[__string] = None,
hop_destinations: Optional[__listOfHopDestination] = None,
name: Optional[__string] = None,
priority: Optional[__integerMinNegative50Max50] = None,
queue: Optional[__string] = None,
settings: Optional[JobTemplateSettings] = None,
status_update_interval: Optional[StatusUpdateInterval] = None,
tags: Optional[__mapOf__string] = None,
) -> CreateJobTemplateResponse
Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
Parameters:
-
acceleration_settings(Optional[AccelerationSettings], default:None) –Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.
-
category(Optional[__string], default:None) –Optional. A category for the job template you are creating
-
description(Optional[__string], default:None) –Optional. A description of the job template you are creating.
-
hop_destinations(Optional[__listOfHopDestination], default:None) –Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide.
-
name(Optional[__string], default:None) –The name of the job template you are creating.
-
priority(Optional[__integerMinNegative50Max50], default:None) –Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.
-
queue(Optional[__string], default:None) –Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue.
-
settings(Optional[JobTemplateSettings], default:None) –JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
-
status_update_interval(Optional[StatusUpdateInterval], default:None) –Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
-
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/async_media_convert.py
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 | |