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
33445 33446 33447 33448 33449 33450 33451 33452 33453 33454 33455 33456 33457 33458 33459 33460 33461 33462 33463 33464 33465 33466 33467 33468 33469 33470 33471 33472 33473 33474 33475 33476 33477 33478 33479 33480 33481 33482 33483 33484 33485 33486 33487 33488 33489 33490 33491 33492 33493 33494 33495 33496 33497 33498 33499 33500 33501 33502 33503 33504 33505 33506 33507 33508 33509 33510 33511 33512 33513 33514 33515 33516 33517 33518 33519 33520 33521 33522 33523 33524 33525 33526 33527 33528 33529 33530 33531 33532 33533 33534 33535 33536 33537 33538 33539 33540 33541 33542 33543 33544 33545 33546 33547 33548 33549 | |