list_jobs_by_status
async
¶
list_jobs_by_status(
status: JobStatus,
*,
config_overrides: Optional[AsyncElasticTranscoderClientConfig] = None,
ascending: Optional[Ascending] = None,
page_token: Optional[Id] = None,
) -> ListJobsByStatusResponse
The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria.
Parameters:
-
status(JobStatus) –To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status:
Submitted,Progressing,Complete,Canceled, orError. -
ascending(Optional[Ascending], default:None) –To list jobs in chronological order by the date and time that they were submitted, enter
true. To list jobs in reverse chronological order, enterfalse. -
page_token(Optional[Id], default:None) –When Elastic Transcoder returns more than one page of results, use
pageTokenin subsequentGETrequests to get each successive page of results.
Raises:
-
AccessDeniedException–General authentication failure. The request was not signed correctly.
-
InternalServiceException–Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.
-
ResourceNotFoundException–The requested resource does not exist or is not available. For example, the pipeline to which you're trying to add a job doesn't exist or is still being created.
-
ValidationException–One or more required parameter values were not provided in the request.
-
UnknownServiceError–The service returned an error code this client does not model.