Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_image_version

delete_image_version(**kwargs)

Deletes a version of a SageMaker image. The container image the version represents isn't deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_image_version(
    ImageName='string',
    Version=123,
    Alias='string'
)
Parameters
  • ImageName (string) --

    [REQUIRED]

    The name of the image to delete.

  • Version (integer) -- The version to delete.
  • Alias (string) -- The alias of the image to delete.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • SageMaker.Client.exceptions.ResourceInUse
  • SageMaker.Client.exceptions.ResourceNotFound