update_image_version
async
¶
update_image_version(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
30686 30687 30688 30689 30690 30691 30692 30693 30694 30695 30696 30697 30698 30699 30700 30701 30702 30703 30704 30705 30706 30707 30708 30709 30710 30711 30712 30713 30714 30715 30716 30717 30718 30719 30720 30721 30722 30723 30724 30725 30726 30727 30728 30729 30730 30731 30732 30733 30734 30735 30736 30737 30738 30739 30740 30741 30742 30743 30744 30745 30746 30747 30748 30749 30750 30751 30752 30753 30754 30755 30756 30757 30758 30759 30760 30761 30762 30763 30764 30765 30766 30767 30768 30769 30770 30771 30772 30773 30774 30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 30785 30786 30787 30788 30789 30790 30791 | |