list_tasks
async
¶
list_tasks(
farm_id: FarmId,
queue_id: QueueId,
job_id: JobId,
step_id: StepId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListTasksResponse
Lists tasks for a job.
Parameters:
-
farm_id(FarmId) –The farm ID connected to the tasks.
-
queue_id(QueueId) –The queue ID connected to the tasks.
-
job_id(JobId) –The job ID for the tasks.
-
step_id(StepId) –The step ID for the tasks.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results, or
nullto start from the beginning. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_deadline/_services/async_deadline.py
8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 | |