delete_trial_component

SageMaker.Client.delete_trial_component(**kwargs)

Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

See also: AWS API Documentation

Request Syntax

response = client.delete_trial_component(
    TrialComponentName='string'
)
Parameters
TrialComponentName (string) --

[REQUIRED]

The name of the component to delete.

Return type
dict
Returns
Response Syntax
{
    'TrialComponentArn': 'string'
}

Response Structure

  • (dict) --
    • TrialComponentArn (string) --

      The Amazon Resource Name (ARN) of the component is being deleted.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound