libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
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.ImageBuilder.GetImage

Description

Gets an image.

Synopsis

Creating a Request

data GetImage Source #

See: newGetImage smart constructor.

Constructors

GetImage' 

Fields

Instances

Instances details
Eq GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Read GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Show GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Generic GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Associated Types

type Rep GetImage :: Type -> Type #

Methods

from :: GetImage -> Rep GetImage x #

to :: Rep GetImage x -> GetImage #

NFData GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Methods

rnf :: GetImage -> () #

Hashable GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Methods

hashWithSalt :: Int -> GetImage -> Int #

hash :: GetImage -> Int #

AWSRequest GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Associated Types

type AWSResponse GetImage #

ToHeaders GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Methods

toHeaders :: GetImage -> [Header] #

ToPath GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

ToQuery GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

type Rep GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

type Rep GetImage = D1 ('MetaData "GetImage" "Amazonka.ImageBuilder.GetImage" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "GetImage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageBuildVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetImage Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

newGetImage Source #

Create a value of GetImage 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:imageBuildVersionArn:GetImage', getImage_imageBuildVersionArn - The Amazon Resource Name (ARN) of the image that you want to retrieve.

Request Lenses

getImage_imageBuildVersionArn :: Lens' GetImage Text Source #

The Amazon Resource Name (ARN) of the image that you want to retrieve.

Destructuring the Response

data GetImageResponse Source #

See: newGetImageResponse smart constructor.

Constructors

GetImageResponse' 

Fields

Instances

Instances details
Eq GetImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Read GetImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Show GetImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Generic GetImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Associated Types

type Rep GetImageResponse :: Type -> Type #

NFData GetImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

Methods

rnf :: GetImageResponse -> () #

type Rep GetImageResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImage

type Rep GetImageResponse = D1 ('MetaData "GetImageResponse" "Amazonka.ImageBuilder.GetImage" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "GetImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Image)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetImageResponse Source #

Create a value of GetImageResponse 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:requestId:GetImageResponse', getImageResponse_requestId - The request ID that uniquely identifies this request.

$sel:image:GetImageResponse', getImageResponse_image - The image object.

$sel:httpStatus:GetImageResponse', getImageResponse_httpStatus - The response's http status code.

Response Lenses

getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text) Source #

The request ID that uniquely identifies this request.

getImageResponse_httpStatus :: Lens' GetImageResponse Int Source #

The response's http status code.