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 |
Returns a paginated list of the current filters.
This operation returns paginated results.
Synopsis
- data ListFilters = ListFilters' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- detectorId :: Text
- newListFilters :: Text -> ListFilters
- listFilters_nextToken :: Lens' ListFilters (Maybe Text)
- listFilters_maxResults :: Lens' ListFilters (Maybe Natural)
- listFilters_detectorId :: Lens' ListFilters Text
- data ListFiltersResponse = ListFiltersResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- filterNames :: [Text]
- newListFiltersResponse :: Int -> ListFiltersResponse
- listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text)
- listFiltersResponse_httpStatus :: Lens' ListFiltersResponse Int
- listFiltersResponse_filterNames :: Lens' ListFiltersResponse [Text]
Creating a Request
data ListFilters Source #
See: newListFilters
smart constructor.
ListFilters' | |
|
Instances
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:
$sel:nextToken:ListFilters'
, listFilters_nextToken
- You can use this parameter when paginating results. Set the value of
this parameter to null on your first call to the list action. For
subsequent calls to the action, fill nextToken in the request with the
value of NextToken from the previous response to continue listing data.
$sel:maxResults:ListFilters'
, listFilters_maxResults
- You can use this parameter to indicate the maximum number of items that
you want in the response. The default value is 50. The maximum value is
50.
$sel:detectorId:ListFilters'
, listFilters_detectorId
- The unique ID of the detector that the filter is associated with.
Request Lenses
listFilters_nextToken :: Lens' ListFilters (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listFilters_maxResults :: Lens' ListFilters (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
listFilters_detectorId :: Lens' ListFilters Text Source #
The unique ID of the detector that the filter is associated with.
Destructuring the Response
data ListFiltersResponse Source #
See: newListFiltersResponse
smart constructor.
ListFiltersResponse' | |
|
Instances
newListFiltersResponse Source #
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:
$sel:nextToken:ListFilters'
, listFiltersResponse_nextToken
- The pagination parameter to be used on the next list operation to
retrieve more items.
$sel:httpStatus:ListFiltersResponse'
, listFiltersResponse_httpStatus
- The response's http status code.
$sel:filterNames:ListFiltersResponse'
, listFiltersResponse_filterNames
- A list of filter names.
Response Lenses
listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text) Source #
The pagination parameter to be used on the next list operation to retrieve more items.
listFiltersResponse_httpStatus :: Lens' ListFiltersResponse Int Source #
The response's http status code.
listFiltersResponse_filterNames :: Lens' ListFiltersResponse [Text] Source #
A list of filter names.