@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 41 lines 1.41 KB
Raw
1 import type * as macie2 from "@distilled.cloud/aws/macie2";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
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 */
27 export 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 > {}
39 export const UpdateResourceProfileDetections = Binding.Service<UpdateResourceProfileDetections>(
40 "AWS.Macie2.UpdateResourceProfileDetections",
41 );