SageMaker.Client.
delete_image
(**kwargs)¶Deletes a SageMaker 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'
)
[REQUIRED]
The name of the image to delete.
{}
Response Structure
Exceptions
SageMaker.Client.exceptions.ResourceInUse
SageMaker.Client.exceptions.ResourceNotFound