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: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 */
27export 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> {}
39export const UpdateClassificationScope =
40 Binding.Service<UpdateClassificationScope>(
41 "AWS.Macie2.UpdateClassificationScope",
42 );