disassociate_trial_component
¶
disassociate_trial_component(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
trial_component_name: Optional[ExperimentEntityName] = None,
trial_name: Optional[ExperimentEntityName] = None,
) -> DisassociateTrialComponentResponse
Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the AssociateTrialComponent API.
To get a list of the trials a component is associated with, use the Search API. Specify ExperimentTrialComponent for the Resource parameter. The list appears in the response under Results.TrialComponent.Parents.
Parameters:
-
trial_component_name(Optional[ExperimentEntityName], default:None) –The name of the component to disassociate from the trial.
-
trial_name(Optional[ExperimentEntityName], default:None) –The name of the trial to disassociate from.
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
15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 | |