| 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.ListAnalyzers
Description
Retrieves a list of analyzers.
This operation returns paginated results.
Synopsis
- data ListAnalyzers = ListAnalyzers' {}
- newListAnalyzers :: ListAnalyzers
- listAnalyzers_maxResults :: Lens' ListAnalyzers (Maybe Int)
- listAnalyzers_nextToken :: Lens' ListAnalyzers (Maybe Text)
- listAnalyzers_type :: Lens' ListAnalyzers (Maybe Type)
- 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.
Constructors
| ListAnalyzers' | |
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:maxResults:ListAnalyzers', listAnalyzers_maxResults - The maximum number of results to return in the response.
ListAnalyzers, listAnalyzers_nextToken - A token used for pagination of results returned.
ListAnalyzers, listAnalyzers_type - The type of analyzer.
Request Lenses
listAnalyzers_maxResults :: Lens' ListAnalyzers (Maybe Int) Source #
The maximum number of results to return in the response.
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.
Destructuring the Response
data ListAnalyzersResponse Source #
The response to the request.
See: newListAnalyzersResponse smart constructor.
Constructors
| ListAnalyzersResponse' | |
Fields
| |
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:
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.