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

main
ts 41 lines 1.33 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:UpdateClassificationScope`.
7 *
8 * Updates the classification scope settings for an account.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.UpdateClassificationScopeHttp)`.
12 * ### Automated Discovery
13 * **Example:** Exclude Buckets from Automated Discovery
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const updateClassificationScope = yield* AWS.Macie2.UpdateClassificationScope();
17 *
18 * // runtime
19 * yield* updateClassificationScope({
20 * id: scopeId,
21 * s3: { excludes: { bucketNames: ["logs-bucket"], operation: "ADD" } },
22 * });
23 * ```
24 *
25 * @binding
26 */
27 export interface UpdateClassificationScope extends Binding.Service<
28 UpdateClassificationScope,
29 "AWS.Macie2.UpdateClassificationScope",
30 () => Effect.Effect<
31 (
32 request: macie2.UpdateClassificationScopeRequest,
33 ) => Effect.Effect<
34 macie2.UpdateClassificationScopeResponse,
35 macie2.UpdateClassificationScopeError
36 >
37 >
38 > {}
39 export const UpdateClassificationScope = Binding.Service<UpdateClassificationScope>(
40 "AWS.Macie2.UpdateClassificationScope",
41 );