disassociate_trial_component
(**kwargs)¶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
.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_trial_component(
TrialComponentName='string',
TrialName='string'
)
[REQUIRED]
The name of the component to disassociate from the trial.
[REQUIRED]
The name of the trial to disassociate from.
dict
Response Syntax
{
'TrialComponentArn': 'string',
'TrialArn': 'string'
}
Response Structure
(dict) --
TrialComponentArn (string) --
The Amazon Resource Name (ARN) of the trial component.
TrialArn (string) --
The Amazon Resource Name (ARN) of the trial.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound