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 |
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
- data ImportLens = ImportLens' {}
- newImportLens :: Text -> Text -> ImportLens
- importLens_lensAlias :: Lens' ImportLens (Maybe Text)
- importLens_tags :: Lens' ImportLens (Maybe (HashMap Text Text))
- importLens_jSONString :: Lens' ImportLens Text
- importLens_clientRequestToken :: Lens' ImportLens Text
- data ImportLensResponse = ImportLensResponse' {
- lensArn :: Maybe Text
- status :: Maybe ImportLensStatus
- httpStatus :: Int
- newImportLensResponse :: Int -> ImportLensResponse
- importLensResponse_lensArn :: Lens' ImportLensResponse (Maybe Text)
- importLensResponse_status :: Lens' ImportLensResponse (Maybe ImportLensStatus)
- importLensResponse_httpStatus :: Lens' ImportLensResponse Int
Creating a Request
data ImportLens Source #
See: newImportLens
smart constructor.
Instances
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_lensAlias :: Lens' ImportLens (Maybe Text) Source #
Undocumented member.
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.
importLens_clientRequestToken :: Lens' ImportLens Text Source #
Undocumented member.
Destructuring the Response
data ImportLensResponse Source #
See: newImportLensResponse
smart constructor.
ImportLensResponse' | |
|
Instances
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
importLensResponse_lensArn :: Lens' ImportLensResponse (Maybe Text) Source #
The ARN for the lens.
importLensResponse_status :: Lens' ImportLensResponse (Maybe ImportLensStatus) Source #
The status of the imported lens.
importLensResponse_httpStatus :: Lens' ImportLensResponse Int Source #
The response's http status code.