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 |
Get an existing lens.
Synopsis
- data GetLens = GetLens' {
- lensVersion :: Maybe Text
- lensAlias :: Text
- newGetLens :: Text -> GetLens
- getLens_lensVersion :: Lens' GetLens (Maybe Text)
- getLens_lensAlias :: Lens' GetLens Text
- data GetLensResponse = GetLensResponse' {
- lens :: Maybe Lens
- httpStatus :: Int
- newGetLensResponse :: Int -> GetLensResponse
- getLensResponse_lens :: Lens' GetLensResponse (Maybe Lens)
- getLensResponse_httpStatus :: Lens' GetLensResponse Int
Creating a Request
See: newGetLens
smart constructor.
Instances
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
Destructuring the Response
data GetLensResponse Source #
See: newGetLensResponse
smart constructor.
GetLensResponse' | |
|
Instances
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_lens :: Lens' GetLensResponse (Maybe Lens) Source #
A lens return object.
getLensResponse_httpStatus :: Lens' GetLensResponse Int Source #
The response's http status code.