Skip to content

/AWS1/CL_SGM=>CREATEIMAGEVERSION()

About CreateImageVersion

Creates a version of the SageMaker image specified by ImageName. The version represents the Amazon ECR container image specified by BaseImage.

Method Signature

IMPORTING

Required arguments:

IV_BASEIMAGE TYPE /AWS1/SGMIMAGEBASEIMAGE /AWS1/SGMIMAGEBASEIMAGE

The registry path of the container image to use as the starting point for this version. The path is an Amazon ECR URI in the following format:

.dkr.ecr..amazonaws.com/

IV_CLIENTTOKEN TYPE /AWS1/SGMCLIENTTOKEN /AWS1/SGMCLIENTTOKEN

A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.

IV_IMAGENAME TYPE /AWS1/SGMIMAGENAME /AWS1/SGMIMAGENAME

The ImageName of the Image to create a version of.

Optional arguments:

IT_ALIASES TYPE /AWS1/CL_SGMSMIMAGEVRSALIASE00=>TT_SMIMAGEVERSIONALIASES TT_SMIMAGEVERSIONALIASES

A list of aliases created with the image version.

IV_VENDORGUIDANCE TYPE /AWS1/SGMVENDORGUIDANCE /AWS1/SGMVENDORGUIDANCE

The stability 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.

IV_JOBTYPE TYPE /AWS1/SGMJOBTYPE /AWS1/SGMJOBTYPE

Indicates SageMaker job type compatibility.

  • TRAINING: The image version is compatible with SageMaker training jobs.

  • INFERENCE: The image version is compatible with SageMaker inference jobs.

  • NOTEBOOK_KERNEL: The image version is compatible with SageMaker notebook kernels.

IV_MLFRAMEWORK TYPE /AWS1/SGMMLFRAMEWORK /AWS1/SGMMLFRAMEWORK

The machine learning framework vended in the image version.

IV_PROGRAMMINGLANG TYPE /AWS1/SGMPROGRAMMINGLANG /AWS1/SGMPROGRAMMINGLANG

The supported programming language and its version.

IV_PROCESSOR TYPE /AWS1/SGMPROCESSOR /AWS1/SGMPROCESSOR

Indicates CPU or GPU compatibility.

  • CPU: The image version is compatible with CPU.

  • GPU: The image version is compatible with GPU.

IV_HOROVOD TYPE /AWS1/SGMHOROVOD /AWS1/SGMHOROVOD

Indicates Horovod compatibility.

IV_RELEASENOTES TYPE /AWS1/SGMRELEASENOTES /AWS1/SGMRELEASENOTES

The maintainer description of the image version.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMCREATEIMAGEVRSRSP /AWS1/CL_SGMCREATEIMAGEVRSRSP