| 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.ListFindings
Description
Retrieves a list of findings generated by the specified analyzer.
To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.
This operation returns paginated results.
Synopsis
- data ListFindings = ListFindings' {}
- newListFindings :: Text -> ListFindings
- listFindings_filter :: Lens' ListFindings (Maybe (HashMap Text Criterion))
- listFindings_maxResults :: Lens' ListFindings (Maybe Int)
- listFindings_nextToken :: Lens' ListFindings (Maybe Text)
- listFindings_sort :: Lens' ListFindings (Maybe SortCriteria)
- listFindings_analyzerArn :: Lens' ListFindings Text
- data ListFindingsResponse = ListFindingsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- findings :: [FindingSummary]
- newListFindingsResponse :: Int -> ListFindingsResponse
- listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text)
- listFindingsResponse_httpStatus :: Lens' ListFindingsResponse Int
- listFindingsResponse_findings :: Lens' ListFindingsResponse [FindingSummary]
Creating a Request
data ListFindings Source #
Retrieves a list of findings generated by the specified analyzer.
See: newListFindings smart constructor.
Constructors
| ListFindings' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListFindings |
Create a value of ListFindings 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:
ListFindings, listFindings_filter - A filter to match for the findings to return.
$sel:maxResults:ListFindings', listFindings_maxResults - The maximum number of results to return in the response.
ListFindings, listFindings_nextToken - A token used for pagination of results returned.
$sel:sort:ListFindings', listFindings_sort - The sort order for the findings returned.
ListFindings, listFindings_analyzerArn - The
ARN of the analyzer
to retrieve findings from.
Request Lenses
listFindings_filter :: Lens' ListFindings (Maybe (HashMap Text Criterion)) Source #
A filter to match for the findings to return.
listFindings_maxResults :: Lens' ListFindings (Maybe Int) Source #
The maximum number of results to return in the response.
listFindings_nextToken :: Lens' ListFindings (Maybe Text) Source #
A token used for pagination of results returned.
listFindings_sort :: Lens' ListFindings (Maybe SortCriteria) Source #
The sort order for the findings returned.
listFindings_analyzerArn :: Lens' ListFindings Text Source #
The ARN of the analyzer to retrieve findings from.
Destructuring the Response
data ListFindingsResponse Source #
The response to the request.
See: newListFindingsResponse smart constructor.
Constructors
| ListFindingsResponse' | |
Fields
| |
Instances
newListFindingsResponse Source #
Arguments
| :: Int | |
| -> ListFindingsResponse |
Create a value of ListFindingsResponse 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:
ListFindings, listFindingsResponse_nextToken - A token used for pagination of results returned.
$sel:httpStatus:ListFindingsResponse', listFindingsResponse_httpStatus - The response's http status code.
$sel:findings:ListFindingsResponse', listFindingsResponse_findings - A list of findings retrieved from the analyzer that match the filter
criteria specified, if any.
Response Lenses
listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text) Source #
A token used for pagination of results returned.
listFindingsResponse_httpStatus :: Lens' ListFindingsResponse Int Source #
The response's http status code.
listFindingsResponse_findings :: Lens' ListFindingsResponse [FindingSummary] Source #
A list of findings retrieved from the analyzer that match the filter criteria specified, if any.