Skip to content

ListInvestigations

Source: src/AWS/Detective/ListInvestigations.ts

Runtime binding for detective:ListInvestigations.

Enumerates the behavior graph’s investigations with optional filter and sort criteria — list everything triaged in the last week, or every investigation still ACTIVE. The graph ARN is injected from the bound Graph. Provide the implementation with Effect.provide(AWS.Detective.ListInvestigationsHttp).

// init
const listInvestigations = yield* AWS.Detective.ListInvestigations(graph);
// runtime
const { InvestigationDetails } = yield* listInvestigations();