Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_trial

delete_trial(**kwargs)

Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the DescribeTrialComponent API to get the list of trial components.

See also: AWS API Documentation

Request Syntax

response = client.delete_trial(
    TrialName='string'
)
Parameters
TrialName (string) --

[REQUIRED]

The name of the trial to delete.

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

Response Structure

  • (dict) --
    • TrialArn (string) --

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

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound