list_queues
async
¶
list_queues(
*,
config_overrides: Optional[AsyncMediaConvertClientConfig] = None,
list_by: Optional[QueueListBy] = None,
max_results: Optional[__integerMin1Max20] = None,
next_token: Optional[__string] = None,
order: Optional[Order] = None,
) -> ListQueuesResponse
Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
Parameters:
-
list_by(Optional[QueueListBy], default:None) –Optional. When you request a list of queues, 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 creation date.
-
max_results(Optional[__integerMin1Max20], default:None) –Optional. Number of queues, 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 queues.
-
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/async_media_convert.py
1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 | |