Skip to content

ArchiveFindings

Source: src/AWS/GuardDuty/ArchiveFindings.ts

Runtime binding for guardduty:ArchiveFindings.

Archives triaged findings so they stop surfacing in the active queue. Only the administrator account owning the detector can archive. The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.ArchiveFindingsHttp).

// init
const archiveFindings = yield* AWS.GuardDuty.ArchiveFindings(detector);
// runtime
yield* archiveFindings({ FindingIds: findingIds });