list_experiments
¶
list_experiments(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
sort_by: Optional[SortExperimentsBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListExperimentsResponse
Lists all the experiments in your account. The list can be filtered to show only experiments that were created in a specific time range. The list can be sorted by experiment name or creation time.
Parameters:
-
created_after(Optional[Timestamp], default:None) –A filter that returns only experiments created after the specified time.
-
created_before(Optional[Timestamp], default:None) –A filter that returns only experiments created before the specified time.
-
sort_by(Optional[SortExperimentsBy], 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. -
next_token(Optional[NextToken], default:None) –If the previous call to
ListExperimentsdidn't return the full set of experiments, the call returns a token for getting the next set of experiments. -
max_results(Optional[MaxResults], default:None) –The maximum number of experiments to return in the response. The default value is 10.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 | |