Skip to content

GetResourceProfile

Source: src/AWS/Macie2/GetResourceProfile.ts

Runtime binding for macie2:GetResourceProfile.

Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.GetResourceProfileHttp).

// init — account-level binding, no resource argument
const getResourceProfile = yield* AWS.Macie2.GetResourceProfile();
// runtime
const profile = yield* getResourceProfile({ resourceArn: bucketArn });