1import type * as auditmanager from "@distilled.cloud/aws/auditmanager";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
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 */
20export interface GetAccountStatus extends Binding.Service<
21 GetAccountStatus,
22 "AWS.AuditManager.GetAccountStatus",
23 () => Effect.Effect<
24 (
25 request?: auditmanager.GetAccountStatusRequest,
26 ) => Effect.Effect<
27 auditmanager.GetAccountStatusResponse,
28 auditmanager.GetAccountStatusError
29 >
30 >
31> {}
32
33export const GetAccountStatus = Binding.Service<GetAccountStatus>(
34 "AWS.AuditManager.GetAccountStatus",
35);