@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.39 KB
Raw
1 import type * as inspector2 from "@distilled.cloud/aws/inspector2";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `inspector2:UpdateEc2DeepInspectionConfiguration`.
7 *
8 * Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
9 *
10 * Provide the implementation with
11 * `Effect.provide(AWS.Inspector2.UpdateEc2DeepInspectionConfigurationHttp)`.
12 * ### Account Settings & Usage
13 * **Example:** Activate Deep Inspection
14 * ```typescript
15 * // init
16 * const updateEc2DeepInspectionConfiguration = yield* AWS.Inspector2.UpdateEc2DeepInspectionConfiguration();
17 *
18 * // runtime
19 * const { status } = yield* updateEc2DeepInspectionConfiguration({ activateDeepInspection: true });
20 * ```
21 *
22 * @binding
23 */
24 export interface UpdateEc2DeepInspectionConfiguration extends Binding.Service<
25 UpdateEc2DeepInspectionConfiguration,
26 "AWS.Inspector2.UpdateEc2DeepInspectionConfiguration",
27 () => Effect.Effect<
28 (
29 request?: inspector2.UpdateEc2DeepInspectionConfigurationRequest,
30 ) => Effect.Effect<
31 inspector2.UpdateEc2DeepInspectionConfigurationResponse,
32 inspector2.UpdateEc2DeepInspectionConfigurationError
33 >
34 >
35 > {}
36 export const UpdateEc2DeepInspectionConfiguration =
37 Binding.Service<UpdateEc2DeepInspectionConfiguration>(
38 "AWS.Inspector2.UpdateEc2DeepInspectionConfiguration",
39 );