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 |
Lists Amazon GuardDuty findings for the specified detector ID.
This operation returns paginated results.
- listFindings :: Text -> ListFindings
- data ListFindings
- lfFindingCriteria :: Lens' ListFindings (Maybe FindingCriteria)
- lfSortCriteria :: Lens' ListFindings (Maybe SortCriteria)
- lfNextToken :: Lens' ListFindings (Maybe Text)
- lfMaxResults :: Lens' ListFindings (Maybe Natural)
- lfDetectorId :: Lens' ListFindings Text
- listFindingsResponse :: Int -> ListFindingsResponse
- data ListFindingsResponse
- lfrsFindingIds :: Lens' ListFindingsResponse [Text]
- lfrsNextToken :: Lens' ListFindingsResponse (Maybe Text)
- lfrsResponseStatus :: Lens' ListFindingsResponse Int
Creating a Request
Creates a value of ListFindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfFindingCriteria
- Represents the criteria used for querying findings.lfSortCriteria
- Represents the criteria used for sorting findings.lfNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings 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.lfMaxResults
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.lfDetectorId
- The ID of the detector that specifies the GuardDuty service whose findings you want to list.
data ListFindings Source #
ListFindings request body.
See: listFindings
smart constructor.
Request Lenses
lfFindingCriteria :: Lens' ListFindings (Maybe FindingCriteria) Source #
Represents the criteria used for querying findings.
lfSortCriteria :: Lens' ListFindings (Maybe SortCriteria) Source #
Represents the criteria used for sorting findings.
lfNextToken :: Lens' ListFindings (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 ListFindings 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.
lfMaxResults :: Lens' ListFindings (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
lfDetectorId :: Lens' ListFindings Text Source #
The ID of the detector that specifies the GuardDuty service whose findings you want to list.
Destructuring the Response
Creates a value of ListFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrsFindingIds
- Undocumented member.lfrsNextToken
- Undocumented member.lfrsResponseStatus
- -- | The response status code.
data ListFindingsResponse Source #
See: listFindingsResponse
smart constructor.
Response Lenses
lfrsFindingIds :: Lens' ListFindingsResponse [Text] Source #
Undocumented member.
lfrsNextToken :: Lens' ListFindingsResponse (Maybe Text) Source #
Undocumented member.
lfrsResponseStatus :: Lens' ListFindingsResponse Int Source #
- - | The response status code.