SageMaker / Client / delete_image_version
delete_image_version#
- SageMaker.Client.delete_image_version(**kwargs)#
Deletes a version of a SageMaker AI 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