get_ml_task_runs
async
¶
get_ml_task_runs(
transform_id: HashString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[PageSize] = None,
filter: Optional[TaskRunFilterCriteria] = None,
sort: Optional[TaskRunSortCriteria] = None,
) -> GetMLTaskRunsResponse
Gets a list of runs for a machine learning transform. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can get a sortable, filterable list of machine learning task runs by calling GetMLTaskRuns with their parent transform's TransformID and other optional parameters as documented in this section.
This operation returns a list of historic runs and must be paginated.
Parameters:
-
transform_id(HashString) –The unique identifier of the machine learning transform.
-
next_token(Optional[PaginationToken], default:None) –A token for pagination of the results. The default is empty.
-
max_results(Optional[PageSize], default:None) –The maximum number of results to return.
-
filter(Optional[TaskRunFilterCriteria], default:None) –The filter criteria, in the
TaskRunFilterCriteriastructure, for the task run. -
sort(Optional[TaskRunSortCriteria], default:None) –The sorting criteria, in the
TaskRunSortCriteriastructure, for the task run.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 | |