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
16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 | |