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
26164 26165 26166 26167 26168 26169 26170 26171 26172 26173 26174 26175 26176 26177 26178 26179 26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 26196 26197 26198 26199 26200 26201 26202 26203 26204 26205 26206 26207 26208 26209 26210 26211 26212 26213 26214 26215 26216 26217 26218 26219 26220 26221 26222 26223 26224 26225 26226 26227 26228 26229 26230 26231 26232 26233 26234 26235 26236 26237 26238 26239 26240 26241 26242 26243 26244 26245 | |