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' statistics for the specified detector ID.
- getFindingsStatistics :: Text -> GetFindingsStatistics
- data GetFindingsStatistics
- gfsFindingStatisticTypes :: Lens' GetFindingsStatistics [FindingStatisticType]
- gfsFindingCriteria :: Lens' GetFindingsStatistics (Maybe FindingCriteria)
- gfsDetectorId :: Lens' GetFindingsStatistics Text
- getFindingsStatisticsResponse :: Int -> GetFindingsStatisticsResponse
- data GetFindingsStatisticsResponse
- gfsrsFindingStatistics :: Lens' GetFindingsStatisticsResponse (Maybe FindingStatistics)
- gfsrsResponseStatus :: Lens' GetFindingsStatisticsResponse Int
Creating a Request
getFindingsStatistics Source #
Creates a value of GetFindingsStatistics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfsFindingStatisticTypes
- Types of finding statistics to retrieve.gfsFindingCriteria
- Represents the criteria used for querying findings.gfsDetectorId
- The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.
data GetFindingsStatistics Source #
GetFindingsStatistics request body.
See: getFindingsStatistics
smart constructor.
Request Lenses
gfsFindingStatisticTypes :: Lens' GetFindingsStatistics [FindingStatisticType] Source #
Types of finding statistics to retrieve.
gfsFindingCriteria :: Lens' GetFindingsStatistics (Maybe FindingCriteria) Source #
Represents the criteria used for querying findings.
gfsDetectorId :: Lens' GetFindingsStatistics Text Source #
The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.
Destructuring the Response
getFindingsStatisticsResponse Source #
Creates a value of GetFindingsStatisticsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfsrsFindingStatistics
- Finding statistics object.gfsrsResponseStatus
- -- | The response status code.
data GetFindingsStatisticsResponse Source #
See: getFindingsStatisticsResponse
smart constructor.
Response Lenses
gfsrsFindingStatistics :: Lens' GetFindingsStatisticsResponse (Maybe FindingStatistics) Source #
Finding statistics object.
gfsrsResponseStatus :: Lens' GetFindingsStatisticsResponse Int Source #
- - | The response status code.