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 subset of information about all the findings filters for an account.
This operation returns paginated results.
Synopsis
- data ListFindingsFilters = ListFindingsFilters' {}
- newListFindingsFilters :: ListFindingsFilters
- listFindingsFilters_nextToken :: Lens' ListFindingsFilters (Maybe Text)
- listFindingsFilters_maxResults :: Lens' ListFindingsFilters (Maybe Natural)
- data ListFindingsFiltersResponse = ListFindingsFiltersResponse' {}
- newListFindingsFiltersResponse :: Int -> ListFindingsFiltersResponse
- listFindingsFiltersResponse_findingsFilterListItems :: Lens' ListFindingsFiltersResponse (Maybe [FindingsFilterListItem])
- listFindingsFiltersResponse_nextToken :: Lens' ListFindingsFiltersResponse (Maybe Text)
- listFindingsFiltersResponse_httpStatus :: Lens' ListFindingsFiltersResponse Int
Creating a Request
data ListFindingsFilters Source #
See: newListFindingsFilters
smart constructor.
Instances
newListFindingsFilters :: ListFindingsFilters Source #
Create a value of ListFindingsFilters
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:ListFindingsFilters'
, listFindingsFilters_nextToken
- The nextToken string that specifies which page of results to return in a
paginated response.
$sel:maxResults:ListFindingsFilters'
, listFindingsFilters_maxResults
- The maximum number of items to include in each page of a paginated
response.
Request Lenses
listFindingsFilters_nextToken :: Lens' ListFindingsFilters (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
listFindingsFilters_maxResults :: Lens' ListFindingsFilters (Maybe Natural) Source #
The maximum number of items to include in each page of a paginated response.
Destructuring the Response
data ListFindingsFiltersResponse Source #
See: newListFindingsFiltersResponse
smart constructor.
ListFindingsFiltersResponse' | |
|
Instances
newListFindingsFiltersResponse Source #
Create a value of ListFindingsFiltersResponse
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:findingsFilterListItems:ListFindingsFiltersResponse'
, listFindingsFiltersResponse_findingsFilterListItems
- An array of objects, one for each filter that's associated with the
account.
$sel:nextToken:ListFindingsFilters'
, listFindingsFiltersResponse_nextToken
- The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:ListFindingsFiltersResponse'
, listFindingsFiltersResponse_httpStatus
- The response's http status code.
Response Lenses
listFindingsFiltersResponse_findingsFilterListItems :: Lens' ListFindingsFiltersResponse (Maybe [FindingsFilterListItem]) Source #
An array of objects, one for each filter that's associated with the account.
listFindingsFiltersResponse_nextToken :: Lens' ListFindingsFiltersResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
listFindingsFiltersResponse_httpStatus :: Lens' ListFindingsFiltersResponse Int Source #
The response's http status code.