@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, 06:00 UTC

main
ts 39 lines 1.2 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:GetDelegatedAdminAccount`.
7 *
8 * Retrieves information about the Amazon Inspector delegated administrator for your
9 * organization.
10 *
11 * Provide the implementation with
12 * `Effect.provide(AWS.Inspector2.GetDelegatedAdminAccountHttp)`.
13 * ### Organization & Members
14 * **Example:** Get the Delegated Administrator
15 * ```typescript
16 * // init
17 * const getDelegatedAdminAccount = yield* AWS.Inspector2.GetDelegatedAdminAccount();
18 *
19 * // runtime
20 * const { delegatedAdmin } = yield* getDelegatedAdminAccount();
21 * ```
22 *
23 * @binding
24 */
25 export interface GetDelegatedAdminAccount extends Binding.Service<
26 GetDelegatedAdminAccount,
27 "AWS.Inspector2.GetDelegatedAdminAccount",
28 () => Effect.Effect<
29 (
30 request: inspector2.GetDelegatedAdminAccountRequest,
31 ) => Effect.Effect<
32 inspector2.GetDelegatedAdminAccountResponse,
33 inspector2.GetDelegatedAdminAccountError
34 >
35 >
36 > {}
37 export const GetDelegatedAdminAccount = Binding.Service<GetDelegatedAdminAccount>(
38 "AWS.Inspector2.GetDelegatedAdminAccount",
39 );