Skip to content

CreateInvestigation

Source: src/AWS/GuardDuty/CreateInvestigation.ts

Runtime binding for guardduty:CreateInvestigation.

Starts a GuardDuty Extended Threat Detection investigation from a natural-language trigger prompt. The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.CreateInvestigationHttp).

// init
const createInvestigation = yield* AWS.GuardDuty.CreateInvestigation(detector);
// runtime
const { InvestigationId } = yield* createInvestigation({
TriggerPrompt: "Investigate the port probe findings on my web tier",
});