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

main
ts 40 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:UpdateRevealConfiguration`.
7 *
8 * Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.UpdateRevealConfigurationHttp)`.
12 * ### Retrieving Sensitive Data Samples
13 * **Example:** Enable Sample Retrieval
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const updateRevealConfiguration = yield* AWS.Macie2.UpdateRevealConfiguration();
17 *
18 * // runtime
19 * yield* updateRevealConfiguration({
20 * configuration: { status: "ENABLED" },
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface UpdateRevealConfiguration extends Binding.Service<
27 UpdateRevealConfiguration,
28 "AWS.Macie2.UpdateRevealConfiguration",
29 () => Effect.Effect<
30 (
31 request?: macie2.UpdateRevealConfigurationRequest,
32 ) => Effect.Effect<
33 macie2.UpdateRevealConfigurationResponse,
34 macie2.UpdateRevealConfigurationError
35 >
36 >
37 > {}
38 export const UpdateRevealConfiguration = Binding.Service<UpdateRevealConfiguration>(
39 "AWS.Macie2.UpdateRevealConfiguration",
40 );