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 |
Describes Amazon GuardDuty findings specified by finding IDs.
Synopsis
- data GetFindings = GetFindings' {
- sortCriteria :: Maybe SortCriteria
- detectorId :: Text
- findingIds :: [Text]
- newGetFindings :: Text -> GetFindings
- getFindings_sortCriteria :: Lens' GetFindings (Maybe SortCriteria)
- getFindings_detectorId :: Lens' GetFindings Text
- getFindings_findingIds :: Lens' GetFindings [Text]
- data GetFindingsResponse = GetFindingsResponse' {
- httpStatus :: Int
- findings :: [Finding]
- newGetFindingsResponse :: Int -> GetFindingsResponse
- getFindingsResponse_httpStatus :: Lens' GetFindingsResponse Int
- getFindingsResponse_findings :: Lens' GetFindingsResponse [Finding]
Creating a Request
data GetFindings Source #
See: newGetFindings
smart constructor.
GetFindings' | |
|
Instances
Create a value of GetFindings
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:sortCriteria:GetFindings'
, getFindings_sortCriteria
- Represents the criteria used for sorting findings.
$sel:detectorId:GetFindings'
, getFindings_detectorId
- The ID of the detector that specifies the GuardDuty service whose
findings you want to retrieve.
$sel:findingIds:GetFindings'
, getFindings_findingIds
- The IDs of the findings that you want to retrieve.
Request Lenses
getFindings_sortCriteria :: Lens' GetFindings (Maybe SortCriteria) Source #
Represents the criteria used for sorting findings.
getFindings_detectorId :: Lens' GetFindings Text Source #
The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
getFindings_findingIds :: Lens' GetFindings [Text] Source #
The IDs of the findings that you want to retrieve.
Destructuring the Response
data GetFindingsResponse Source #
See: newGetFindingsResponse
smart constructor.
GetFindingsResponse' | |
|
Instances
newGetFindingsResponse Source #
Create a value of GetFindingsResponse
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:GetFindingsResponse'
, getFindingsResponse_httpStatus
- The response's http status code.
$sel:findings:GetFindingsResponse'
, getFindingsResponse_findings
- A list of findings.
Response Lenses
getFindingsResponse_httpStatus :: Lens' GetFindingsResponse Int Source #
The response's http status code.
getFindingsResponse_findings :: Lens' GetFindingsResponse [Finding] Source #
A list of findings.