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

main
ts 35 lines 1.2 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:UpdateResourceProfile`.
7 *
8 * Updates the sensitivity score 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.UpdateResourceProfileHttp)`.
12 * ### Automated Discovery
13 * **Example:** Override a Bucket's Sensitivity Score
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const updateResourceProfile = yield* AWS.Macie2.UpdateResourceProfile();
17 *
18 * // runtime
19 * yield* updateResourceProfile({ resourceArn: bucketArn, sensitivityScoreOverride: 100 });
20 * ```
21 *
22 * @binding
23 */
24 export interface UpdateResourceProfile extends Binding.Service<
25 UpdateResourceProfile,
26 "AWS.Macie2.UpdateResourceProfile",
27 () => Effect.Effect<
28 (
29 request?: macie2.UpdateResourceProfileRequest,
30 ) => Effect.Effect<macie2.UpdateResourceProfileResponse, macie2.UpdateResourceProfileError>
31 >
32 > {}
33 export const UpdateResourceProfile = Binding.Service<UpdateResourceProfile>(
34 "AWS.Macie2.UpdateResourceProfile",
35 );