list_trials
async
¶
list_trials(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
experiment_name: Optional[ExperimentEntityName] = None,
trial_component_name: Optional[ExperimentEntityName] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
sort_by: Optional[SortTrialsBy] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTrialsResponse
Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.
Parameters:
-
experiment_name(Optional[ExperimentEntityName], default:None) –A filter that returns only trials that are part of the specified experiment.
-
trial_component_name(Optional[ExperimentEntityName], default:None) –A filter that returns only trials that are associated with the specified trial component.
-
created_after(Optional[Timestamp], default:None) –A filter that returns only trials created after the specified time.
-
created_before(Optional[Timestamp], default:None) –A filter that returns only trials created before the specified time.
-
sort_by(Optional[SortTrialsBy], default:None) –The property used to sort results. The default value is
CreationTime. -
sort_order(Optional[SortOrder], default:None) –The sort order. The default value is
Descending. -
max_results(Optional[MaxResults], default:None) –The maximum number of trials to return in the response. The default value is 10.
-
next_token(Optional[NextToken], default:None) –If the previous call to
ListTrialsdidn't return the full set of trials, the call returns a token for getting the next set of trials.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
26616 26617 26618 26619 26620 26621 26622 26623 26624 26625 26626 26627 26628 26629 26630 26631 26632 26633 26634 26635 26636 26637 26638 26639 26640 26641 26642 26643 26644 26645 26646 26647 26648 26649 26650 26651 26652 26653 26654 26655 26656 26657 26658 26659 26660 26661 26662 26663 26664 26665 26666 26667 26668 26669 26670 26671 26672 26673 26674 26675 26676 26677 26678 26679 26680 26681 26682 26683 26684 26685 26686 26687 26688 26689 26690 26691 26692 | |