Skip to content

GetFindingV2

Source: src/AWS/AccessAnalyzer/GetFindingV2.ts

Runtime binding for the GetFindingV2 operation (IAM action access-analyzer:GetFinding — shared with the V1 API).

Retrieves a single finding with its typed findingDetails (external-access or unused-access). Provide the implementation with Effect.provide(AWS.AccessAnalyzer.GetFindingV2Http).

const getFinding = yield* AWS.AccessAnalyzer.GetFindingV2(analyzer);
const finding = yield* getFinding({ id: findingId });