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

main
ts 36 lines 1.21 KB
Raw
1 import type * as guardduty from "@distilled.cloud/aws/guardduty";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `guardduty:GetInvitationsCount`.
7 *
8 * Counts the membership invitations received by this account, excluding deleted ones.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.GuardDuty.GetInvitationsCountHttp)`.
12 * ### Administrator & Invitations
13 * **Example:** Count Invitations
14 * ```typescript
15 * // init
16 * // init — account-level binding, no resource argument
17 * const getInvitationsCount = yield* AWS.GuardDuty.GetInvitationsCount();
18 *
19 * // runtime
20 * const { InvitationsCount } = yield* getInvitationsCount();
21 * ```
22 *
23 * @binding
24 */
25 export interface GetInvitationsCount extends Binding.Service<
26 GetInvitationsCount,
27 "AWS.GuardDuty.GetInvitationsCount",
28 () => Effect.Effect<
29 (
30 request?: guardduty.GetInvitationsCountRequest,
31 ) => Effect.Effect<guardduty.GetInvitationsCountResponse, guardduty.GetInvitationsCountError>
32 >
33 > {}
34 export const GetInvitationsCount = Binding.Service<GetInvitationsCount>(
35 "AWS.GuardDuty.GetInvitationsCount",
36 );