list_job_templates
¶
list_job_templates(
*,
config_overrides: Optional[MediaConvertClientConfig] = None,
category: Optional[__string] = None,
list_by: Optional[JobTemplateListBy] = None,
max_results: Optional[__integerMin1Max20] = None,
next_token: Optional[__string] = None,
order: Optional[Order] = None,
) -> ListJobTemplatesResponse
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
Parameters:
-
category(Optional[__string], default:None) –Optionally, specify a job template category to limit responses to only job templates from that category.
-
list_by(Optional[JobTemplateListBy], default:None) –Optional. When you request a list of job templates, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
-
max_results(Optional[__integerMin1Max20], default:None) –Optional. Number of job templates, up to twenty, that will be returned at one time.
-
next_token(Optional[__string], default:None) –Use this string, provided with the response to a previous request, to request the next batch of job templates.
-
order(Optional[Order], default:None) –Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
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
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 | |