list_trial_components
¶
list_trial_components(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
28972 28973 28974 28975 28976 28977 28978 28979 28980 28981 28982 28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 28993 28994 28995 28996 28997 28998 28999 29000 29001 29002 29003 29004 29005 29006 29007 29008 29009 29010 29011 29012 29013 29014 29015 29016 29017 29018 29019 29020 29021 29022 29023 29024 29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 29037 29038 29039 29040 29041 29042 29043 29044 29045 29046 29047 29048 29049 29050 29051 29052 29053 | |