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

Description

Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.

Synopsis

Creating a Request

data UpdateImage Source #

See: newUpdateImage smart constructor.

Constructors

UpdateImage' 

Fields

Instances

Instances details
Eq UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Read UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Show UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Generic UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Associated Types

type Rep UpdateImage :: Type -> Type #

NFData UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Methods

rnf :: UpdateImage -> () #

Hashable UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

ToJSON UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

AWSRequest UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Associated Types

type AWSResponse UpdateImage #

ToHeaders UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Methods

toHeaders :: UpdateImage -> [Header] #

ToPath UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

ToQuery UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

type Rep UpdateImage Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

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

Defined in Amazonka.SageMaker.UpdateImage

newUpdateImage Source #

Create a value of UpdateImage 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:deleteProperties:UpdateImage', updateImage_deleteProperties - A list of properties to delete. Only the Description and DisplayName properties can be deleted.

$sel:displayName:UpdateImage', updateImage_displayName - The new display name for the image.

$sel:description:UpdateImage', updateImage_description - The new description for the image.

$sel:roleArn:UpdateImage', updateImage_roleArn - The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

$sel:imageName:UpdateImage', updateImage_imageName - The name of the image to update.

Request Lenses

updateImage_deleteProperties :: Lens' UpdateImage (Maybe [Text]) Source #

A list of properties to delete. Only the Description and DisplayName properties can be deleted.

updateImage_displayName :: Lens' UpdateImage (Maybe Text) Source #

The new display name for the image.

updateImage_description :: Lens' UpdateImage (Maybe Text) Source #

The new description for the image.

updateImage_roleArn :: Lens' UpdateImage (Maybe Text) Source #

The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

updateImage_imageName :: Lens' UpdateImage Text Source #

The name of the image to update.

Destructuring the Response

data UpdateImageResponse Source #

See: newUpdateImageResponse smart constructor.

Constructors

UpdateImageResponse' 

Fields

Instances

Instances details
Eq UpdateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Read UpdateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Show UpdateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Generic UpdateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Associated Types

type Rep UpdateImageResponse :: Type -> Type #

NFData UpdateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

Methods

rnf :: UpdateImageResponse -> () #

type Rep UpdateImageResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateImage

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

newUpdateImageResponse Source #

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

$sel:httpStatus:UpdateImageResponse', updateImageResponse_httpStatus - The response's http status code.

Response Lenses

updateImageResponse_imageArn :: Lens' UpdateImageResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image.