list_versions
async
¶
list_versions(
*,
config_overrides: Optional[AsyncMediaConvertClientConfig] = None,
max_results: Optional[__integerMin1Max20] = None,
next_token: Optional[__string] = None,
) -> ListVersionsResponse
Retrieve a JSON array of all available Job engine versions and the date they expire.
Parameters:
-
max_results(Optional[__integerMin1Max20], default:None) –Optional. Number of valid Job engine versions, up to twenty, that will be returned at one time.
-
next_token(Optional[__string], default:None) –Optional. Use this string, provided with the response to a previous request, to request the next batch of Job engine versions.
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.