libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.CreateImageVersion

Description

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

Synopsis

Creating a Request

data CreateImageVersion Source #

See: newCreateImageVersion smart constructor.

Constructors

CreateImageVersion' 

Fields

  • baseImage :: Text

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

    <acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
  • clientToken :: Text

    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.

  • imageName :: Text

    The ImageName of the Image to create a version of.

Instances

Instances details
Eq CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Read CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Show CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Generic CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Associated Types

type Rep CreateImageVersion :: Type -> Type #

NFData CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Methods

rnf :: CreateImageVersion -> () #

Hashable CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

ToJSON CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

AWSRequest CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Associated Types

type AWSResponse CreateImageVersion #

ToHeaders CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

ToPath CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

ToQuery CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

type Rep CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

type Rep CreateImageVersion = D1 ('MetaData "CreateImageVersion" "Amazonka.SageMaker.CreateImageVersion" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateImageVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "baseImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "imageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateImageVersion Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

newCreateImageVersion Source #

Create a value of CreateImageVersion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:baseImage:CreateImageVersion', createImageVersion_baseImage - The registry path of the container image to use as the starting point for this version. The path is an Amazon Container Registry (ECR) URI in the following format:

<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>

$sel:clientToken:CreateImageVersion', createImageVersion_clientToken - 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.

$sel:imageName:CreateImageVersion', createImageVersion_imageName - The ImageName of the Image to create a version of.

Request Lenses

createImageVersion_baseImage :: Lens' CreateImageVersion Text Source #

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

<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>

createImageVersion_clientToken :: Lens' CreateImageVersion Text Source #

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.

createImageVersion_imageName :: Lens' CreateImageVersion Text Source #

The ImageName of the Image to create a version of.

Destructuring the Response

data CreateImageVersionResponse Source #

See: newCreateImageVersionResponse smart constructor.

Constructors

CreateImageVersionResponse' 

Fields

Instances

Instances details
Eq CreateImageVersionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Read CreateImageVersionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Show CreateImageVersionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Generic CreateImageVersionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

Associated Types

type Rep CreateImageVersionResponse :: Type -> Type #

NFData CreateImageVersionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

type Rep CreateImageVersionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImageVersion

type Rep CreateImageVersionResponse = D1 ('MetaData "CreateImageVersionResponse" "Amazonka.SageMaker.CreateImageVersion" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateImageVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateImageVersionResponse Source #

Create a value of CreateImageVersionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:imageVersionArn:CreateImageVersionResponse', createImageVersionResponse_imageVersionArn - The Amazon Resource Name (ARN) of the image version.

$sel:httpStatus:CreateImageVersionResponse', createImageVersionResponse_httpStatus - The response's http status code.

Response Lenses

createImageVersionResponse_imageVersionArn :: Lens' CreateImageVersionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image version.