Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data DeleteLens = DeleteLens' {}
- newDeleteLens :: Text -> Text -> LensStatusType -> DeleteLens
- deleteLens_lensAlias :: Lens' DeleteLens Text
- deleteLens_clientRequestToken :: Lens' DeleteLens Text
- deleteLens_lensStatus :: Lens' DeleteLens LensStatusType
- data DeleteLensResponse = DeleteLensResponse' {
- newDeleteLensResponse :: DeleteLensResponse
Creating a Request
data DeleteLens Source #
See: newDeleteLens
smart constructor.
DeleteLens' | |
|
Instances
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_lensAlias :: Lens' DeleteLens Text Source #
Undocumented member.
deleteLens_clientRequestToken :: Lens' DeleteLens Text Source #
Undocumented member.
deleteLens_lensStatus :: Lens' DeleteLens LensStatusType Source #
The status of the lens to be deleted.
Destructuring the Response
data DeleteLensResponse Source #
See: newDeleteLensResponse
smart constructor.
Instances
Generic DeleteLensResponse Source # | |
Defined in Amazonka.WellArchitected.DeleteLens type Rep DeleteLensResponse :: Type -> Type # from :: DeleteLensResponse -> Rep DeleteLensResponse x # to :: Rep DeleteLensResponse x -> DeleteLensResponse # | |
Read DeleteLensResponse Source # | |
Show DeleteLensResponse Source # | |
Defined in Amazonka.WellArchitected.DeleteLens showsPrec :: Int -> DeleteLensResponse -> ShowS # show :: DeleteLensResponse -> String # showList :: [DeleteLensResponse] -> ShowS # | |
NFData DeleteLensResponse Source # | |
Defined in Amazonka.WellArchitected.DeleteLens rnf :: DeleteLensResponse -> () # | |
Eq DeleteLensResponse Source # | |
Defined in Amazonka.WellArchitected.DeleteLens (==) :: DeleteLensResponse -> DeleteLensResponse -> Bool # (/=) :: DeleteLensResponse -> DeleteLensResponse -> Bool # | |
type Rep DeleteLensResponse Source # | |
newDeleteLensResponse :: DeleteLensResponse Source #
Create a value of DeleteLensResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.