@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 39 lines 1.47 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:UpdateAutomatedDiscoveryConfiguration`.
7 *
8 * Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.UpdateAutomatedDiscoveryConfigurationHttp)`.
12 * ### Automated Discovery
13 * **Example:** Enable Automated Discovery
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const updateAutomatedDiscoveryConfiguration = yield* AWS.Macie2.UpdateAutomatedDiscoveryConfiguration();
17 *
18 * // runtime
19 * yield* updateAutomatedDiscoveryConfiguration({ status: "ENABLED" });
20 * ```
21 *
22 * @binding
23 */
24 export interface UpdateAutomatedDiscoveryConfiguration extends Binding.Service<
25 UpdateAutomatedDiscoveryConfiguration,
26 "AWS.Macie2.UpdateAutomatedDiscoveryConfiguration",
27 () => Effect.Effect<
28 (
29 request?: macie2.UpdateAutomatedDiscoveryConfigurationRequest,
30 ) => Effect.Effect<
31 macie2.UpdateAutomatedDiscoveryConfigurationResponse,
32 macie2.UpdateAutomatedDiscoveryConfigurationError
33 >
34 >
35 > {}
36 export const UpdateAutomatedDiscoveryConfiguration =
37 Binding.Service<UpdateAutomatedDiscoveryConfiguration>(
38 "AWS.Macie2.UpdateAutomatedDiscoveryConfiguration",
39 );