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.CreateImage

Description

Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon Container Registry (ECR). For more information, see Bring your own SageMaker image.

Synopsis

Creating a Request

data CreateImage Source #

See: newCreateImage smart constructor.

Constructors

CreateImage' 

Fields

  • displayName :: Maybe Text

    The display name of the image. If not provided, ImageName is displayed.

  • description :: Maybe Text

    The description of the image.

  • tags :: Maybe [Tag]

    A list of tags to apply to the image.

  • imageName :: Text

    The name of the image. Must be unique to your account.

  • roleArn :: Text

    The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

Instances

Instances details
Eq CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Read CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Show CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Generic CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Associated Types

type Rep CreateImage :: Type -> Type #

NFData CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Methods

rnf :: CreateImage -> () #

Hashable CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

ToJSON CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

AWSRequest CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Associated Types

type AWSResponse CreateImage #

ToHeaders CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Methods

toHeaders :: CreateImage -> [Header] #

ToPath CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

ToQuery CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

type Rep CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

type Rep CreateImage = D1 ('MetaData "CreateImage" "Amazonka.SageMaker.CreateImage" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "imageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateImage Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

newCreateImage Source #

Create a value of CreateImage 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:displayName:CreateImage', createImage_displayName - The display name of the image. If not provided, ImageName is displayed.

$sel:description:CreateImage', createImage_description - The description of the image.

$sel:tags:CreateImage', createImage_tags - A list of tags to apply to the image.

$sel:imageName:CreateImage', createImage_imageName - The name of the image. Must be unique to your account.

$sel:roleArn:CreateImage', createImage_roleArn - The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

Request Lenses

createImage_displayName :: Lens' CreateImage (Maybe Text) Source #

The display name of the image. If not provided, ImageName is displayed.

createImage_description :: Lens' CreateImage (Maybe Text) Source #

The description of the image.

createImage_tags :: Lens' CreateImage (Maybe [Tag]) Source #

A list of tags to apply to the image.

createImage_imageName :: Lens' CreateImage Text Source #

The name of the image. Must be unique to your account.

createImage_roleArn :: Lens' CreateImage Text Source #

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

Destructuring the Response

data CreateImageResponse Source #

See: newCreateImageResponse smart constructor.

Constructors

CreateImageResponse' 

Fields

Instances

Instances details
Eq CreateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Read CreateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Show CreateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Generic CreateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Associated Types

type Rep CreateImageResponse :: Type -> Type #

NFData CreateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

Methods

rnf :: CreateImageResponse -> () #

type Rep CreateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateImage

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

newCreateImageResponse Source #

Create a value of CreateImageResponse 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:imageArn:CreateImageResponse', createImageResponse_imageArn - The Amazon Resource Name (ARN) of the image.

$sel:httpStatus:CreateImageResponse', createImageResponse_httpStatus - The response's http status code.

Response Lenses

createImageResponse_imageArn :: Lens' CreateImageResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image.