Skip to content

UpdateResourceProfileDetections

Source: src/AWS/Macie2/UpdateResourceProfileDetections.ts

Runtime binding for macie2:UpdateResourceProfileDetections.

Updates the sensitivity scoring settings for an S3 bucket. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.UpdateResourceProfileDetectionsHttp).

// init — account-level binding, no resource argument
const updateResourceProfileDetections = yield* AWS.Macie2.UpdateResourceProfileDetections();
// runtime
yield* updateResourceProfileDetections({
resourceArn: bucketArn,
suppressDataIdentifiers: [{ id: identifierId, type: "MANAGED" }],
});