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

Description

Delete an existing lens.

Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services accounts and IAM users that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.

Disclaimer

By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.

Synopsis

Creating a Request

data DeleteLens Source #

See: newDeleteLens smart constructor.

Constructors

DeleteLens' 

Fields

Instances

Instances details
ToHeaders DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Methods

toHeaders :: DeleteLens -> [Header] #

ToPath DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

ToQuery DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

AWSRequest DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Associated Types

type AWSResponse DeleteLens #

Generic DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Associated Types

type Rep DeleteLens :: Type -> Type #

Read DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Show DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

NFData DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Methods

rnf :: DeleteLens -> () #

Eq DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Hashable DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

type AWSResponse DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

type Rep DeleteLens Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

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

newDeleteLens Source #

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

DeleteLens, deleteLens_lensAlias - Undocumented member.

$sel:clientRequestToken:DeleteLens', deleteLens_clientRequestToken - Undocumented member.

DeleteLens, deleteLens_lensStatus - The status of the lens to be deleted.

Request Lenses

deleteLens_lensStatus :: Lens' DeleteLens LensStatusType Source #

The status of the lens to be deleted.

Destructuring the Response

data DeleteLensResponse Source #

See: newDeleteLensResponse smart constructor.

Constructors

DeleteLensResponse' 

Instances

Instances details
Generic DeleteLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Associated Types

type Rep DeleteLensResponse :: Type -> Type #

Read DeleteLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Show DeleteLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

NFData DeleteLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

Methods

rnf :: DeleteLensResponse -> () #

Eq DeleteLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

type Rep DeleteLensResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.DeleteLens

type Rep DeleteLensResponse = D1 ('MetaData "DeleteLensResponse" "Amazonka.WellArchitected.DeleteLens" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "DeleteLensResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteLensResponse :: DeleteLensResponse Source #

Create a value of DeleteLensResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.