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 |
Describes Amazon GuardDuty findings specified by finding IDs.
- getFindings :: Text -> GetFindings
- data GetFindings
- gfFindingIds :: Lens' GetFindings [Text]
- gfSortCriteria :: Lens' GetFindings (Maybe SortCriteria)
- gfDetectorId :: Lens' GetFindings Text
- getFindingsResponse :: Int -> GetFindingsResponse
- data GetFindingsResponse
- grsFindings :: Lens' GetFindingsResponse [Finding]
- grsResponseStatus :: Lens' GetFindingsResponse Int
Creating a Request
Creates a value of GetFindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfFindingIds
- IDs of the findings that you want to retrieve.gfSortCriteria
- Represents the criteria used for sorting findings.gfDetectorId
- The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
data GetFindings Source #
GetFindings request body.
See: getFindings
smart constructor.
Request Lenses
gfFindingIds :: Lens' GetFindings [Text] Source #
IDs of the findings that you want to retrieve.
gfSortCriteria :: Lens' GetFindings (Maybe SortCriteria) Source #
Represents the criteria used for sorting findings.
gfDetectorId :: Lens' GetFindings Text Source #
The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
Destructuring the Response
Creates a value of GetFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grsFindings
- Undocumented member.grsResponseStatus
- -- | The response status code.
data GetFindingsResponse Source #
See: getFindingsResponse
smart constructor.
Response Lenses
grsFindings :: Lens' GetFindingsResponse [Finding] Source #
Undocumented member.
grsResponseStatus :: Lens' GetFindingsResponse Int Source #
- - | The response status code.