update_image_version
¶
update_image_version(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
image_name: Optional[ImageName] = None,
alias: Optional[SageMakerImageVersionAlias] = None,
version: Optional[ImageVersionNumber] = None,
aliases_to_add: Optional[SageMakerImageVersionAliases] = None,
aliases_to_delete: Optional[SageMakerImageVersionAliases] = None,
vendor_guidance: Optional[VendorGuidance] = None,
job_type: Optional[JobType] = None,
ml_framework: Optional[MLFramework] = None,
programming_lang: Optional[ProgrammingLang] = None,
processor: Optional[Processor] = None,
horovod: Optional[Horovod] = None,
release_notes: Optional[ReleaseNotes] = None,
) -> UpdateImageVersionResponse
Updates the properties of a SageMaker AI image version.
Parameters:
-
image_name(Optional[ImageName], default:None) –The name of the image.
-
alias(Optional[SageMakerImageVersionAlias], default:None) –The alias of the image version.
-
version(Optional[ImageVersionNumber], default:None) –The version of the image.
-
aliases_to_add(Optional[SageMakerImageVersionAliases], default:None) –A list of aliases to add.
-
aliases_to_delete(Optional[SageMakerImageVersionAliases], default:None) –A list of aliases to delete.
-
vendor_guidance(Optional[VendorGuidance], default:None) –The availability of the image version specified by the maintainer.
-
NOT_PROVIDED: The maintainers did not provide a status for image version stability. -
STABLE: The image version is stable. -
TO_BE_ARCHIVED: The image version is set to be archived. Custom image versions that are set to be archived are automatically archived after three months. -
ARCHIVED: The image version is archived. Archived image versions are not searchable and are no longer actively supported.
-
-
job_type(Optional[JobType], default:None) –Indicates SageMaker AI job type compatibility.
-
TRAINING: The image version is compatible with SageMaker AI training jobs. -
INFERENCE: The image version is compatible with SageMaker AI inference jobs. -
NOTEBOOK_KERNEL: The image version is compatible with SageMaker AI notebook kernels.
-
-
ml_framework(Optional[MLFramework], default:None) –The machine learning framework vended in the image version.
-
programming_lang(Optional[ProgrammingLang], default:None) –The supported programming language and its version.
-
processor(Optional[Processor], default:None) –Indicates CPU or GPU compatibility.
-
CPU: The image version is compatible with CPU. -
GPU: The image version is compatible with GPU.
-
-
horovod(Optional[Horovod], default:None) –Indicates Horovod compatibility.
-
release_notes(Optional[ReleaseNotes], default:None) –The maintainer description of the image version.
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
30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 30307 30308 30309 30310 30311 30312 30313 30314 30315 30316 30317 30318 30319 30320 30321 30322 30323 30324 30325 30326 30327 30328 30329 30330 30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 30350 30351 30352 30353 30354 30355 30356 30357 30358 30359 30360 30361 30362 30363 30364 30365 30366 30367 30368 30369 30370 30371 30372 30373 30374 30375 30376 30377 30378 30379 30380 30381 30382 30383 30384 30385 30386 30387 30388 30389 30390 30391 30392 30393 30394 30395 | |