disassociate_trial_component
async
¶
disassociate_trial_component(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 | |