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

main
ts 38 lines 1.4 KB
Raw
1 import type * as securityhub from "@distilled.cloud/aws/securityhub";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `securityhub:EnableOrganizationAdminAccount`.
7 *
8 * Designates an organization account as the delegated Security Hub administrator.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.EnableOrganizationAdminAccountHttp)`.
12 * ### Members & Organization
13 * **Example:** Delegate an Organization Administrator
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const enableOrganizationAdminAccount = yield* AWS.SecurityHub.EnableOrganizationAdminAccount();
17 *
18 * // runtime
19 * yield* enableOrganizationAdminAccount({ AdminAccountId: "111122223333" });
20 * ```
21 *
22 * @binding
23 */
24 export interface EnableOrganizationAdminAccount extends Binding.Service<
25 EnableOrganizationAdminAccount,
26 "AWS.SecurityHub.EnableOrganizationAdminAccount",
27 () => Effect.Effect<
28 (
29 request?: securityhub.EnableOrganizationAdminAccountRequest,
30 ) => Effect.Effect<
31 securityhub.EnableOrganizationAdminAccountResponse,
32 securityhub.EnableOrganizationAdminAccountError
33 >
34 >
35 > {}
36 export const EnableOrganizationAdminAccount = Binding.Service<EnableOrganizationAdminAccount>(
37 "AWS.SecurityHub.EnableOrganizationAdminAccount",
38 );