list_trials
¶
list_trials(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
26288 26289 26290 26291 26292 26293 26294 26295 26296 26297 26298 26299 26300 26301 26302 26303 26304 26305 26306 26307 26308 26309 26310 26311 26312 26313 26314 26315 26316 26317 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 26338 26339 26340 26341 26342 26343 26344 26345 26346 26347 26348 26349 26350 26351 26352 26353 26354 26355 26356 26357 26358 26359 26360 26361 26362 26363 | |