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 |
Lists findings for your environment.
This operation returns paginated results.
Synopsis
- data ListFindings = ListFindings' {}
- newListFindings :: ListFindings
- listFindings_filterCriteria :: Lens' ListFindings (Maybe FilterCriteria)
- listFindings_maxResults :: Lens' ListFindings (Maybe Natural)
- listFindings_nextToken :: Lens' ListFindings (Maybe Text)
- listFindings_sortCriteria :: Lens' ListFindings (Maybe SortCriteria)
- data ListFindingsResponse = ListFindingsResponse' {}
- newListFindingsResponse :: Int -> ListFindingsResponse
- listFindingsResponse_findings :: Lens' ListFindingsResponse (Maybe [Finding])
- listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text)
- listFindingsResponse_httpStatus :: Lens' ListFindingsResponse Int
Creating a Request
data ListFindings Source #
See: newListFindings
smart constructor.
ListFindings' | |
|
Instances
newListFindings :: ListFindings Source #
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:
$sel:filterCriteria:ListFindings'
, listFindings_filterCriteria
- Details on the filters to apply to your finding results.
$sel:maxResults:ListFindings'
, listFindings_maxResults
- The maximum number of results to return in the response.
ListFindings
, listFindings_nextToken
- A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
$sel:sortCriteria:ListFindings'
, listFindings_sortCriteria
- Details on the sort criteria to apply to your finding results.
Request Lenses
listFindings_filterCriteria :: Lens' ListFindings (Maybe FilterCriteria) Source #
Details on the filters to apply to your finding results.
listFindings_maxResults :: Lens' ListFindings (Maybe Natural) Source #
The maximum number of results to return in the response.
listFindings_nextToken :: Lens' ListFindings (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
listFindings_sortCriteria :: Lens' ListFindings (Maybe SortCriteria) Source #
Details on the sort criteria to apply to your finding results.
Destructuring the Response
data ListFindingsResponse Source #
See: newListFindingsResponse
smart constructor.
ListFindingsResponse' | |
|
Instances
newListFindingsResponse Source #
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:
$sel:findings:ListFindingsResponse'
, listFindingsResponse_findings
- Contains details on the findings in your environment.
ListFindings
, listFindingsResponse_nextToken
- A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
$sel:httpStatus:ListFindingsResponse'
, listFindingsResponse_httpStatus
- The response's http status code.
Response Lenses
listFindingsResponse_findings :: Lens' ListFindingsResponse (Maybe [Finding]) Source #
Contains details on the findings in your environment.
listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
listFindingsResponse_httpStatus :: Lens' ListFindingsResponse Int Source #
The response's http status code.