UpdateInvestigationState
Source:
src/AWS/Detective/UpdateInvestigationState.ts
Runtime binding for detective:UpdateInvestigationState.
Moves an investigation between ACTIVE and ARCHIVED — close out a
triaged investigation from the same function that opened it. The graph
ARN is injected from the bound Graph.
Provide the implementation with
Effect.provide(AWS.Detective.UpdateInvestigationStateHttp).
Running Investigations
Section titled “Running Investigations”// initconst updateInvestigationState = yield* AWS.Detective.UpdateInvestigationState(graph);
// runtimeyield* updateInvestigationState({ InvestigationId: id, State: "ARCHIVED" });