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 a list of analyzers.
This operation returns paginated results.
Synopsis
- data ListAnalyzers = ListAnalyzers' {}
- newListAnalyzers :: ListAnalyzers
- listAnalyzers_nextToken :: Lens' ListAnalyzers (Maybe Text)
- listAnalyzers_type :: Lens' ListAnalyzers (Maybe Type)
- listAnalyzers_maxResults :: Lens' ListAnalyzers (Maybe Int)
- data ListAnalyzersResponse = ListAnalyzersResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- analyzers :: [AnalyzerSummary]
- newListAnalyzersResponse :: Int -> ListAnalyzersResponse
- listAnalyzersResponse_nextToken :: Lens' ListAnalyzersResponse (Maybe Text)
- listAnalyzersResponse_httpStatus :: Lens' ListAnalyzersResponse Int
- listAnalyzersResponse_analyzers :: Lens' ListAnalyzersResponse [AnalyzerSummary]
Creating a Request
data ListAnalyzers Source #
Retrieves a list of analyzers.
See: newListAnalyzers
smart constructor.
Instances
newListAnalyzers :: ListAnalyzers Source #
Create a value of ListAnalyzers
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:nextToken:ListAnalyzers'
, listAnalyzers_nextToken
- A token used for pagination of results returned.
$sel:type':ListAnalyzers'
, listAnalyzers_type
- The type of analyzer.
$sel:maxResults:ListAnalyzers'
, listAnalyzers_maxResults
- The maximum number of results to return in the response.
Request Lenses
listAnalyzers_nextToken :: Lens' ListAnalyzers (Maybe Text) Source #
A token used for pagination of results returned.
listAnalyzers_type :: Lens' ListAnalyzers (Maybe Type) Source #
The type of analyzer.
listAnalyzers_maxResults :: Lens' ListAnalyzers (Maybe Int) Source #
The maximum number of results to return in the response.
Destructuring the Response
data ListAnalyzersResponse Source #
The response to the request.
See: newListAnalyzersResponse
smart constructor.
ListAnalyzersResponse' | |
|
Instances
newListAnalyzersResponse Source #
Create a value of ListAnalyzersResponse
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:nextToken:ListAnalyzers'
, listAnalyzersResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAnalyzersResponse'
, listAnalyzersResponse_httpStatus
- The response's http status code.
$sel:analyzers:ListAnalyzersResponse'
, listAnalyzersResponse_analyzers
- The analyzers retrieved.
Response Lenses
listAnalyzersResponse_nextToken :: Lens' ListAnalyzersResponse (Maybe Text) Source #
A token used for pagination of results returned.
listAnalyzersResponse_httpStatus :: Lens' ListAnalyzersResponse Int Source #
The response's http status code.
listAnalyzersResponse_analyzers :: Lens' ListAnalyzersResponse [AnalyzerSummary] Source #
The analyzers retrieved.