GetInvestigationGroup
Source:
src/AWS/AIOps/GetInvestigationGroup.ts
Runtime binding for aiops:GetInvestigationGroup.
Reads the bound InvestigationGroup’s full configuration — the
telemetry-access role, retention period, encryption, tag key boundaries,
chatbot notification channels, and cross-account configurations — so an
ops function can audit or report on the Region’s investigation setup. The
group’s ARN is injected from the binding. Provide the implementation with
Effect.provide(AWS.AIOps.GetInvestigationGroupHttp).
Reading the Investigation Group
Section titled “Reading the Investigation Group”// init — grants aiops:GetInvestigationGroup on the groupconst getInvestigationGroup = yield* AWS.AIOps.GetInvestigationGroup(group);
// runtimeconst detail = yield* getInvestigationGroup();yield* Effect.log( `${detail.name} retains investigations for ${detail.retentionInDays} days`,);