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 |
Archives GuardDuty findings that are specified by the list of finding IDs.
Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.
Synopsis
- data ArchiveFindings = ArchiveFindings' {
- detectorId :: Text
- findingIds :: [Text]
- newArchiveFindings :: Text -> ArchiveFindings
- archiveFindings_detectorId :: Lens' ArchiveFindings Text
- archiveFindings_findingIds :: Lens' ArchiveFindings [Text]
- data ArchiveFindingsResponse = ArchiveFindingsResponse' {
- httpStatus :: Int
- newArchiveFindingsResponse :: Int -> ArchiveFindingsResponse
- archiveFindingsResponse_httpStatus :: Lens' ArchiveFindingsResponse Int
Creating a Request
data ArchiveFindings Source #
See: newArchiveFindings
smart constructor.
ArchiveFindings' | |
|
Instances
Create a value of ArchiveFindings
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:detectorId:ArchiveFindings'
, archiveFindings_detectorId
- The ID of the detector that specifies the GuardDuty service whose
findings you want to archive.
$sel:findingIds:ArchiveFindings'
, archiveFindings_findingIds
- The IDs of the findings that you want to archive.
Request Lenses
archiveFindings_detectorId :: Lens' ArchiveFindings Text Source #
The ID of the detector that specifies the GuardDuty service whose findings you want to archive.
archiveFindings_findingIds :: Lens' ArchiveFindings [Text] Source #
The IDs of the findings that you want to archive.
Destructuring the Response
data ArchiveFindingsResponse Source #
See: newArchiveFindingsResponse
smart constructor.
ArchiveFindingsResponse' | |
|
Instances
newArchiveFindingsResponse Source #
Create a value of ArchiveFindingsResponse
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:ArchiveFindingsResponse'
, archiveFindingsResponse_httpStatus
- The response's http status code.
Response Lenses
archiveFindingsResponse_httpStatus :: Lens' ArchiveFindingsResponse Int Source #
The response's http status code.