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
30223 30224 30225 30226 30227 30228 30229 30230 30231 30232 30233 30234 30235 30236 30237 30238 30239 30240 30241 30242 30243 30244 30245 30246 30247 30248 30249 30250 30251 30252 30253 30254 30255 30256 30257 30258 30259 30260 30261 30262 30263 30264 30265 30266 30267 30268 30269 30270 30271 30272 30273 30274 30275 30276 30277 30278 30279 30280 30281 30282 30283 30284 30285 30286 30287 30288 30289 | |