update_image
¶
update_image(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
delete_properties: Optional[ImageDeletePropertyList] = None,
description: Optional[ImageDescription] = None,
display_name: Optional[ImageDisplayName] = None,
image_name: Optional[ImageName] = None,
role_arn: Optional[RoleArn] = None,
) -> UpdateImageResponse
Updates the properties of a SageMaker AI image. To change the image's tags, use the AddTags and DeleteTags APIs.
Parameters:
-
delete_properties(Optional[ImageDeletePropertyList], default:None) –A list of properties to delete. Only the
DescriptionandDisplayNameproperties can be deleted. -
description(Optional[ImageDescription], default:None) –The new description for the image.
-
display_name(Optional[ImageDisplayName], default:None) –The new display name for the image.
-
image_name(Optional[ImageName], default:None) –The name of the image to update.
-
role_arn(Optional[RoleArn], default:None) –The new ARN for the IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
33377 33378 33379 33380 33381 33382 33383 33384 33385 33386 33387 33388 33389 33390 33391 33392 33393 33394 33395 33396 33397 33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 33408 33409 33410 33411 33412 33413 33414 33415 33416 33417 33418 33419 33420 33421 33422 33423 33424 33425 33426 33427 33428 33429 33430 33431 33432 33433 33434 33435 33436 33437 33438 33439 33440 33441 33442 33443 | |