| 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 |
Amazonka.AccessAnalyzer.GetAnalyzer
Description
Retrieves information about the specified analyzer.
Synopsis
- data GetAnalyzer = GetAnalyzer' {
- analyzerName :: Text
- newGetAnalyzer :: Text -> GetAnalyzer
- getAnalyzer_analyzerName :: Lens' GetAnalyzer Text
- data GetAnalyzerResponse = GetAnalyzerResponse' {}
- newGetAnalyzerResponse :: Int -> AnalyzerSummary -> GetAnalyzerResponse
- getAnalyzerResponse_httpStatus :: Lens' GetAnalyzerResponse Int
- getAnalyzerResponse_analyzer :: Lens' GetAnalyzerResponse AnalyzerSummary
Creating a Request
data GetAnalyzer Source #
Retrieves an analyzer.
See: newGetAnalyzer smart constructor.
Constructors
| GetAnalyzer' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetAnalyzer |
Create a value of GetAnalyzer 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:analyzerName:GetAnalyzer', getAnalyzer_analyzerName - The name of the analyzer retrieved.
Request Lenses
getAnalyzer_analyzerName :: Lens' GetAnalyzer Text Source #
The name of the analyzer retrieved.
Destructuring the Response
data GetAnalyzerResponse Source #
The response to the request.
See: newGetAnalyzerResponse smart constructor.
Constructors
| GetAnalyzerResponse' | |
Fields
| |
Instances
newGetAnalyzerResponse Source #
Arguments
| :: Int | |
| -> AnalyzerSummary | |
| -> GetAnalyzerResponse |
Create a value of GetAnalyzerResponse 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:httpStatus:GetAnalyzerResponse', getAnalyzerResponse_httpStatus - The response's http status code.
$sel:analyzer:GetAnalyzerResponse', getAnalyzerResponse_analyzer - An AnalyzerSummary object that contains information about the
analyzer.
Response Lenses
getAnalyzerResponse_httpStatus :: Lens' GetAnalyzerResponse Int Source #
The response's http status code.
getAnalyzerResponse_analyzer :: Lens' GetAnalyzerResponse AnalyzerSummary Source #
An AnalyzerSummary object that contains information about the
analyzer.