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.

update_image

update_image(**kwargs)

Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.

See also: AWS API Documentation

Request Syntax

response = client.update_image(
    DeleteProperties=[
        'string',
    ],
    Description='string',
    DisplayName='string',
    ImageName='string',
    RoleArn='string'
)
Parameters
  • DeleteProperties (list) --

    A list of properties to delete. Only the Description and DisplayName properties can be deleted.

    • (string) --
  • Description (string) -- The new description for the image.
  • DisplayName (string) -- The new display name for the image.
  • ImageName (string) --

    [REQUIRED]

    The name of the image to update.

  • RoleArn (string) -- The new ARN for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
Return type

dict

Returns

Response Syntax

{
    'ImageArn': 'string'
}

Response Structure

  • (dict) --

    • ImageArn (string) --

      The ARN of the image.

Exceptions

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