amazonka-wellarchitected-2.0: Amazon Well-Architected Tool SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WellArchitected.GetLens

Description

Get an existing lens.

Synopsis

Creating a Request

data GetLens Source #

See: newGetLens smart constructor.

Constructors

GetLens' 

Fields

Instances

Instances details
ToHeaders GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Methods

toHeaders :: GetLens -> [Header] #

ToPath GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Methods

toPath :: GetLens -> ByteString #

ToQuery GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

AWSRequest GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Associated Types

type AWSResponse GetLens #

Generic GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Associated Types

type Rep GetLens :: Type -> Type #

Methods

from :: GetLens -> Rep GetLens x #

to :: Rep GetLens x -> GetLens #

Read GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Show GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

NFData GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Methods

rnf :: GetLens -> () #

Eq GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Methods

(==) :: GetLens -> GetLens -> Bool #

(/=) :: GetLens -> GetLens -> Bool #

Hashable GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Methods

hashWithSalt :: Int -> GetLens -> Int #

hash :: GetLens -> Int #

type AWSResponse GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

type Rep GetLens Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

type Rep GetLens = D1 ('MetaData "GetLens" "Amazonka.WellArchitected.GetLens" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "GetLens'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lensVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lensAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetLens Source #

Arguments

:: Text

GetLens

-> GetLens 

Create a value of GetLens 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:

GetLens, getLens_lensVersion - The lens version to be retrieved.

GetLens, getLens_lensAlias - Undocumented member.

Request Lenses

getLens_lensVersion :: Lens' GetLens (Maybe Text) Source #

The lens version to be retrieved.

getLens_lensAlias :: Lens' GetLens Text Source #

Undocumented member.

Destructuring the Response

data GetLensResponse Source #

See: newGetLensResponse smart constructor.

Constructors

GetLensResponse' 

Fields

Instances

Instances details
Generic GetLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Associated Types

type Rep GetLensResponse :: Type -> Type #

Read GetLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Show GetLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

NFData GetLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

Methods

rnf :: GetLensResponse -> () #

Eq GetLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

type Rep GetLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetLens

type Rep GetLensResponse = D1 ('MetaData "GetLensResponse" "Amazonka.WellArchitected.GetLens" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "GetLensResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Lens)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetLensResponse Source #

Create a value of GetLensResponse 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:lens:GetLensResponse', getLensResponse_lens - A lens return object.

$sel:httpStatus:GetLensResponse', getLensResponse_httpStatus - The response's http status code.

Response Lenses

getLensResponse_httpStatus :: Lens' GetLensResponse Int Source #

The response's http status code.