SageMaker / Client / delete_model_package

delete_model_package#

SageMaker.Client.delete_model_package(**kwargs)#

Deletes a model package.

A model package is used to create SageMaker models or list on Amazon Web Services Marketplace. Buyers can subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker.

See also: AWS API Documentation

Request Syntax

response = client.delete_model_package(
    ModelPackageName='string'
)
Parameters:

ModelPackageName (string) –

[REQUIRED]

The name or Amazon Resource Name (ARN) of the model package to delete.

When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

Returns:

None

Exceptions