Skip to content

ListResourceProfileDetections

Source: src/AWS/Macie2/ListResourceProfileDetections.ts

Runtime binding for macie2:ListResourceProfileDetections.

Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.ListResourceProfileDetectionsHttp).

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