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 |
Export an existing lens.
Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide. Only the owner of a lens can export it.
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
- data ExportLens = ExportLens' {
- lensVersion :: Maybe Text
- lensAlias :: Text
- newExportLens :: Text -> ExportLens
- exportLens_lensVersion :: Lens' ExportLens (Maybe Text)
- exportLens_lensAlias :: Lens' ExportLens Text
- data ExportLensResponse = ExportLensResponse' {
- lensJSON :: Maybe Text
- httpStatus :: Int
- newExportLensResponse :: Int -> ExportLensResponse
- exportLensResponse_lensJSON :: Lens' ExportLensResponse (Maybe Text)
- exportLensResponse_httpStatus :: Lens' ExportLensResponse Int
Creating a Request
data ExportLens Source #
See: newExportLens
smart constructor.
ExportLens' | |
|
Instances
:: Text | |
-> ExportLens |
Create a value of ExportLens
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:
ExportLens
, exportLens_lensVersion
- The lens version to be exported.
ExportLens
, exportLens_lensAlias
- Undocumented member.
Request Lenses
exportLens_lensVersion :: Lens' ExportLens (Maybe Text) Source #
The lens version to be exported.
exportLens_lensAlias :: Lens' ExportLens Text Source #
Undocumented member.
Destructuring the Response
data ExportLensResponse Source #
See: newExportLensResponse
smart constructor.
ExportLensResponse' | |
|
Instances
newExportLensResponse Source #
Create a value of ExportLensResponse
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:lensJSON:ExportLensResponse'
, exportLensResponse_lensJSON
- The JSON for the lens.
$sel:httpStatus:ExportLensResponse'
, exportLensResponse_httpStatus
- The response's http status code.
Response Lenses
exportLensResponse_lensJSON :: Lens' ExportLensResponse (Maybe Text) Source #
The JSON for the lens.
exportLensResponse_httpStatus :: Lens' ExportLensResponse Int Source #
The response's http status code.