Skip to content

GetAnalyzedResource

Source: src/AWS/AccessAnalyzer/GetAnalyzedResource.ts

Runtime binding for access-analyzer:GetAnalyzedResource.

Retrieves the analysis status and sharing summary for a resource the analyzer has scanned. Provide the implementation with Effect.provide(AWS.AccessAnalyzer.GetAnalyzedResourceHttp).

const getResource =
yield* AWS.AccessAnalyzer.GetAnalyzedResource(analyzer);
const analyzed = yield* getResource({ resourceArn: bucket.bucketArn });