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
26491 26492 26493 26494 26495 26496 26497 26498 26499 26500 26501 26502 26503 26504 26505 26506 26507 26508 26509 26510 26511 26512 26513 26514 26515 26516 26517 26518 26519 26520 26521 26522 26523 26524 26525 26526 26527 26528 26529 26530 26531 26532 26533 26534 26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 26545 26546 26547 26548 26549 26550 26551 26552 26553 26554 26555 26556 26557 26558 26559 26560 26561 26562 26563 26564 26565 26566 26567 26568 26569 26570 26571 26572 26573 | |