Skip to content

GetGeneratedPolicy

Source: src/AWS/AccessAnalyzer/GetGeneratedPolicy.ts

Runtime binding for access-analyzer:GetGeneratedPolicy.

Retrieves the status and result of a policy-generation job started with StartPolicyGeneration. Provide the implementation with Effect.provide(AWS.AccessAnalyzer.GetGeneratedPolicyHttp).

const getGenerated = yield* AWS.AccessAnalyzer.GetGeneratedPolicy();
const generated = yield* getGenerated({ jobId });