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

Description

Import a new lens.

The lens cannot be applied to workloads or shared with other Amazon Web Services accounts until it's published with CreateLensVersion

Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide.

A custom lens cannot exceed 500 KB in size.

Disclaimer

Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.

Synopsis

Creating a Request

data ImportLens Source #

See: newImportLens smart constructor.

Constructors

ImportLens' 

Fields

Instances

Instances details
ToJSON ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

ToHeaders ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Methods

toHeaders :: ImportLens -> [Header] #

ToPath ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

ToQuery ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

AWSRequest ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Associated Types

type AWSResponse ImportLens #

Generic ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Associated Types

type Rep ImportLens :: Type -> Type #

Read ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Show ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

NFData ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Methods

rnf :: ImportLens -> () #

Eq ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Hashable ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

type AWSResponse ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

type Rep ImportLens Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

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

newImportLens Source #

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

ImportLens, importLens_lensAlias - Undocumented member.

ImportLens, importLens_tags - Tags to associate to a lens.

$sel:jSONString:ImportLens', importLens_jSONString - The JSON representation of a lens.

$sel:clientRequestToken:ImportLens', importLens_clientRequestToken - Undocumented member.

Request Lenses

importLens_tags :: Lens' ImportLens (Maybe (HashMap Text Text)) Source #

Tags to associate to a lens.

importLens_jSONString :: Lens' ImportLens Text Source #

The JSON representation of a lens.

Destructuring the Response

data ImportLensResponse Source #

See: newImportLensResponse smart constructor.

Constructors

ImportLensResponse' 

Fields

Instances

Instances details
Generic ImportLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Associated Types

type Rep ImportLensResponse :: Type -> Type #

Read ImportLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Show ImportLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

NFData ImportLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

Methods

rnf :: ImportLensResponse -> () #

Eq ImportLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

type Rep ImportLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.ImportLens

type Rep ImportLensResponse = D1 ('MetaData "ImportLensResponse" "Amazonka.WellArchitected.ImportLens" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "ImportLensResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lensArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportLensStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newImportLensResponse Source #

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

ImportLensResponse, importLensResponse_lensArn - The ARN for the lens.

ImportLensResponse, importLensResponse_status - The status of the imported lens.

$sel:httpStatus:ImportLensResponse', importLensResponse_httpStatus - The response's http status code.

Response Lenses