Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a paginated list of the current filters.
This operation returns paginated results.
- listFilters :: Text -> ListFilters
- data ListFilters
- lNextToken :: Lens' ListFilters (Maybe Text)
- lMaxResults :: Lens' ListFilters (Maybe Natural)
- lDetectorId :: Lens' ListFilters Text
- listFiltersResponse :: Int -> ListFiltersResponse
- data ListFiltersResponse
- lrsFilterNames :: Lens' ListFiltersResponse [Text]
- lrsNextToken :: Lens' ListFiltersResponse (Maybe Text)
- lrsResponseStatus :: Lens' ListFiltersResponse Int
Creating a Request
Creates a value of ListFilters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lNextToken
- Paginates results. Set the value of this parameter to NULL on your first call to the ListFilters operation.For subsequent calls to the operation, fill nextToken in the request with the value of nextToken from the previous response to continue listing data.lMaxResults
- Indicates the maximum number of items that you want in the response. The maximum value is 50.lDetectorId
- The ID of the detector that specifies the GuardDuty service where you want to list filters.
data ListFilters Source #
See: listFilters
smart constructor.
Request Lenses
lNextToken :: Lens' ListFilters (Maybe Text) Source #
Paginates results. Set the value of this parameter to NULL on your first call to the ListFilters operation.For subsequent calls to the operation, fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
lMaxResults :: Lens' ListFilters (Maybe Natural) Source #
Indicates the maximum number of items that you want in the response. The maximum value is 50.
lDetectorId :: Lens' ListFilters Text Source #
The ID of the detector that specifies the GuardDuty service where you want to list filters.
Destructuring the Response
Creates a value of ListFiltersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrsFilterNames
- Undocumented member.lrsNextToken
- Undocumented member.lrsResponseStatus
- -- | The response status code.
data ListFiltersResponse Source #
See: listFiltersResponse
smart constructor.
Response Lenses
lrsFilterNames :: Lens' ListFiltersResponse [Text] Source #
Undocumented member.
lrsNextToken :: Lens' ListFiltersResponse (Maybe Text) Source #
Undocumented member.
lrsResponseStatus :: Lens' ListFiltersResponse Int Source #
- - | The response status code.