SageMaker / Client / delete_image

delete_image#

SageMaker.Client.delete_image(**kwargs)#

Deletes a SageMaker AI image and all versions of the image. The container images aren’t deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_image(
    ImageName='string'
)
Parameters:

ImageName (string) –

[REQUIRED]

The name of the image to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SageMaker.Client.exceptions.ResourceInUse

  • SageMaker.Client.exceptions.ResourceNotFound