SageMaker / Client / delete_model

delete_model#

SageMaker.Client.delete_model(**kwargs)#

Deletes a model. The DeleteModel API deletes only the model entry that was created in SageMaker when you called the CreateModel API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.

See also: AWS API Documentation

Request Syntax

response = client.delete_model(
    ModelName='string'
)
Parameters:

ModelName (string) –

[REQUIRED]

The name of the model to delete.

Returns:

None