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

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