1import type * as macie2 from "@distilled.cloud/aws/macie2";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `macie2:UpdateResourceProfileDetections`.
7 *
8 * Updates the sensitivity scoring settings for an S3 bucket.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.UpdateResourceProfileDetectionsHttp)`.
12 * ### Automated Discovery
13 * **Example:** Suppress a Detection on a Bucket
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const updateResourceProfileDetections = yield* AWS.Macie2.UpdateResourceProfileDetections();
17 *
18 * // runtime
19 * yield* updateResourceProfileDetections({
20 * resourceArn: bucketArn,
21 * suppressDataIdentifiers: [{ id: identifierId, type: "MANAGED" }],
22 * });
23 * ```
24 *
25 * @binding
26 */
27export interface UpdateResourceProfileDetections extends Binding.Service<
28 UpdateResourceProfileDetections,
29 "AWS.Macie2.UpdateResourceProfileDetections",
30 () => Effect.Effect<
31 (
32 request?: macie2.UpdateResourceProfileDetectionsRequest,
33 ) => Effect.Effect<
34 macie2.UpdateResourceProfileDetectionsResponse,
35 macie2.UpdateResourceProfileDetectionsError
36 >
37 >
38> {}
39export const UpdateResourceProfileDetections =
40 Binding.Service<UpdateResourceProfileDetections>(
41 "AWS.Macie2.UpdateResourceProfileDetections",
42 );