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 |
Lists Amazon GuardDuty findings statistics for the specified detector ID.
Synopsis
- data GetFindingsStatistics = GetFindingsStatistics' {}
- newGetFindingsStatistics :: Text -> GetFindingsStatistics
- getFindingsStatistics_findingCriteria :: Lens' GetFindingsStatistics (Maybe FindingCriteria)
- getFindingsStatistics_detectorId :: Lens' GetFindingsStatistics Text
- getFindingsStatistics_findingStatisticTypes :: Lens' GetFindingsStatistics [FindingStatisticType]
- data GetFindingsStatisticsResponse = GetFindingsStatisticsResponse' {}
- newGetFindingsStatisticsResponse :: Int -> FindingStatistics -> GetFindingsStatisticsResponse
- getFindingsStatisticsResponse_httpStatus :: Lens' GetFindingsStatisticsResponse Int
- getFindingsStatisticsResponse_findingStatistics :: Lens' GetFindingsStatisticsResponse FindingStatistics
Creating a Request
data GetFindingsStatistics Source #
See: newGetFindingsStatistics
smart constructor.
GetFindingsStatistics' | |
|
Instances
newGetFindingsStatistics Source #
Create a value of GetFindingsStatistics
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:findingCriteria:GetFindingsStatistics'
, getFindingsStatistics_findingCriteria
- Represents the criteria that is used for querying findings.
$sel:detectorId:GetFindingsStatistics'
, getFindingsStatistics_detectorId
- The ID of the detector that specifies the GuardDuty service whose
findings' statistics you want to retrieve.
$sel:findingStatisticTypes:GetFindingsStatistics'
, getFindingsStatistics_findingStatisticTypes
- The types of finding statistics to retrieve.
Request Lenses
getFindingsStatistics_findingCriteria :: Lens' GetFindingsStatistics (Maybe FindingCriteria) Source #
Represents the criteria that is used for querying findings.
getFindingsStatistics_detectorId :: Lens' GetFindingsStatistics Text Source #
The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.
getFindingsStatistics_findingStatisticTypes :: Lens' GetFindingsStatistics [FindingStatisticType] Source #
The types of finding statistics to retrieve.
Destructuring the Response
data GetFindingsStatisticsResponse Source #
See: newGetFindingsStatisticsResponse
smart constructor.
GetFindingsStatisticsResponse' | |
|
Instances
newGetFindingsStatisticsResponse Source #
Create a value of GetFindingsStatisticsResponse
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:httpStatus:GetFindingsStatisticsResponse'
, getFindingsStatisticsResponse_httpStatus
- The response's http status code.
$sel:findingStatistics:GetFindingsStatisticsResponse'
, getFindingsStatisticsResponse_findingStatistics
- The finding statistics object.
Response Lenses
getFindingsStatisticsResponse_httpStatus :: Lens' GetFindingsStatisticsResponse Int Source #
The response's http status code.
getFindingsStatisticsResponse_findingStatistics :: Lens' GetFindingsStatisticsResponse FindingStatistics Source #
The finding statistics object.