list_trial_components
async
¶
list_trial_components(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
experiment_name: Optional[ExperimentEntityName] = None,
trial_name: Optional[ExperimentEntityName] = None,
source_arn: Optional[String256] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
sort_by: Optional[SortTrialComponentsBy] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTrialComponentsResponse
Lists the trial components in your account. You can sort the list by trial component name or creation time. You can filter the list to show only components that were created in a specific time range. You can also filter on one of the following:
-
ExperimentName -
SourceArn -
TrialName
Parameters:
-
experiment_name(Optional[ExperimentEntityName], default:None) –A filter that returns only components that are part of the specified experiment. If you specify
ExperimentName, you can't filter bySourceArnorTrialName. -
trial_name(Optional[ExperimentEntityName], default:None) –A filter that returns only components that are part of the specified trial. If you specify
TrialName, you can't filter byExperimentNameorSourceArn. -
source_arn(Optional[String256], default:None) –A filter that returns only components that have the specified source Amazon Resource Name (ARN). If you specify
SourceArn, you can't filter byExperimentNameorTrialName. -
created_after(Optional[Timestamp], default:None) –A filter that returns only components created after the specified time.
-
created_before(Optional[Timestamp], default:None) –A filter that returns only components created before the specified time.
-
sort_by(Optional[SortTrialComponentsBy], 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 components to return in the response. The default value is 10.
-
next_token(Optional[NextToken], default:None) –If the previous call to
ListTrialComponentsdidn't return the full set of components, the call returns a token for getting the next set of components.
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
29334 29335 29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 29350 29351 29352 29353 29354 29355 29356 29357 29358 29359 29360 29361 29362 29363 29364 29365 29366 29367 29368 29369 29370 29371 29372 29373 29374 29375 29376 29377 29378 29379 29380 29381 29382 29383 29384 29385 29386 29387 29388 29389 29390 29391 29392 29393 29394 29395 29396 29397 29398 29399 29400 29401 29402 29403 29404 29405 29406 29407 29408 29409 29410 29411 29412 29413 29414 29415 29416 | |