Skip to content

GetInvestigation

Source: src/AWS/GuardDuty/GetInvestigation.ts

Runtime binding for guardduty:GetInvestigation.

Reads an investigation’s status, risk details, and results by investigation id. The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.GetInvestigationHttp).

// init
const getInvestigation = yield* AWS.GuardDuty.GetInvestigation(detector);
// runtime
const { Investigation } = yield* getInvestigation({
InvestigationId: investigationId,
});