| 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.Inspector2.ListFilters
Description
Lists the filters associated with your account.
This operation returns paginated results.
Synopsis
- data ListFilters = ListFilters' {}
- newListFilters :: ListFilters
- listFilters_action :: Lens' ListFilters (Maybe FilterAction)
- listFilters_arns :: Lens' ListFilters (Maybe [Text])
- listFilters_maxResults :: Lens' ListFilters (Maybe Natural)
- listFilters_nextToken :: Lens' ListFilters (Maybe Text)
- data ListFiltersResponse = ListFiltersResponse' {}
- newListFiltersResponse :: Int -> ListFiltersResponse
- listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text)
- listFiltersResponse_httpStatus :: Lens' ListFiltersResponse Int
- listFiltersResponse_filters :: Lens' ListFiltersResponse [Filter]
Creating a Request
data ListFilters Source #
See: newListFilters smart constructor.
Constructors
| ListFilters' | |
Fields
| |
Instances
newListFilters :: ListFilters Source #
Create a value of ListFilters 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:
ListFilters, listFilters_action - The action the filter applies to matched findings.
$sel:arns:ListFilters', listFilters_arns - The Amazon resource number (ARN) of the filter.
$sel:maxResults:ListFilters', listFilters_maxResults - The maximum number of results to return in the response.
ListFilters, listFilters_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.
Request Lenses
listFilters_action :: Lens' ListFilters (Maybe FilterAction) Source #
The action the filter applies to matched findings.
listFilters_arns :: Lens' ListFilters (Maybe [Text]) Source #
The Amazon resource number (ARN) of the filter.
listFilters_maxResults :: Lens' ListFilters (Maybe Natural) Source #
The maximum number of results to return in the response.
listFilters_nextToken :: Lens' ListFilters (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.
Destructuring the Response
data ListFiltersResponse Source #
See: newListFiltersResponse smart constructor.
Constructors
| ListFiltersResponse' | |
Fields
| |
Instances
newListFiltersResponse Source #
Arguments
| :: Int | |
| -> ListFiltersResponse |
Create a value of ListFiltersResponse 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:
ListFilters, listFiltersResponse_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:ListFiltersResponse', listFiltersResponse_httpStatus - The response's http status code.
$sel:filters:ListFiltersResponse', listFiltersResponse_filters - Contains details on the filters associated with your account.
Response Lenses
listFiltersResponse_nextToken :: Lens' ListFiltersResponse (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.
listFiltersResponse_httpStatus :: Lens' ListFiltersResponse Int Source #
The response's http status code.
listFiltersResponse_filters :: Lens' ListFiltersResponse [Filter] Source #
Contains details on the filters associated with your account.