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

main
ts 38 lines 1.23 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:EnableDelegatedAdminAccount`.
7 *
8 * Enables the Amazon Inspector delegated administrator for your Organizations organization.
9 *
10 * Provide the implementation with
11 * `Effect.provide(AWS.Inspector2.EnableDelegatedAdminAccountHttp)`.
12 * ### Organization & Members
13 * **Example:** Enable a Delegated Administrator
14 * ```typescript
15 * // init
16 * const enableDelegatedAdminAccount = yield* AWS.Inspector2.EnableDelegatedAdminAccount();
17 *
18 * // runtime
19 * yield* enableDelegatedAdminAccount({ delegatedAdminAccountId });
20 * ```
21 *
22 * @binding
23 */
24 export interface EnableDelegatedAdminAccount extends Binding.Service<
25 EnableDelegatedAdminAccount,
26 "AWS.Inspector2.EnableDelegatedAdminAccount",
27 () => Effect.Effect<
28 (
29 request: inspector2.EnableDelegatedAdminAccountRequest,
30 ) => Effect.Effect<
31 inspector2.EnableDelegatedAdminAccountResponse,
32 inspector2.EnableDelegatedAdminAccountError
33 >
34 >
35 > {}
36 export const EnableDelegatedAdminAccount = Binding.Service<EnableDelegatedAdminAccount>(
37 "AWS.Inspector2.EnableDelegatedAdminAccount",
38 );