Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
GetAnalyzer' | |
|
Instances
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.
GetAnalyzerResponse' | |
|
Instances
newGetAnalyzerResponse Source #
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.