SageMaker / Client / delete_experiment

delete_experiment#

SageMaker.Client.delete_experiment(**kwargs)#

Deletes an SageMaker experiment. All trials associated with the experiment must be deleted first. Use the ListTrials API to get a list of the trials associated with the experiment.

See also: AWS API Documentation

Request Syntax

response = client.delete_experiment(
    ExperimentName='string'
)
Parameters:

ExperimentName (string) –

[REQUIRED]

The name of the experiment to delete.

Return type:

dict

Returns:

Response Syntax

{
    'ExperimentArn': 'string'
}

Response Structure

  • (dict) –

    • ExperimentArn (string) –

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

Exceptions