get_ml_task_runs
¶
get_ml_task_runs(
transform_id: HashString,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 | |