@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 32 lines 1.06 KB
Raw
1 import type * as auditmanager from "@distilled.cloud/aws/auditmanager";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `auditmanager:GetAccountStatus`.
7 *
8 * Gets the registration status of the account in Audit Manager
9 * (`ACTIVE`, `INACTIVE`, or `PENDING_ACTIVATION`). Provide the
10 * implementation with `Effect.provide(AWS.AuditManager.GetAccountStatusHttp)`.
11 * ### Account Status
12 * **Example:** Guard on Audit Manager Registration
13 * ```typescript
14 * const getAccountStatus = yield* AWS.AuditManager.GetAccountStatus();
15 * const result = yield* getAccountStatus();
16 * ```
17 *
18 * @binding
19 */
20 export interface GetAccountStatus extends Binding.Service<
21 GetAccountStatus,
22 "AWS.AuditManager.GetAccountStatus",
23 () => Effect.Effect<
24 (
25 request?: auditmanager.GetAccountStatusRequest,
26 ) => Effect.Effect<auditmanager.GetAccountStatusResponse, auditmanager.GetAccountStatusError>
27 >
28 > {}
29
30 export const GetAccountStatus = Binding.Service<GetAccountStatus>(
31 "AWS.AuditManager.GetAccountStatus",
32 );