1import type * as securityhub from "@distilled.cloud/aws/securityhub";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `securityhub:ListInvitations`.
7 *
8 * Lists the Security Hub membership invitations received by this account.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.ListInvitationsHttp)`.
12 * ### Members & Organization
13 * **Example:** List Invitations
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listInvitations = yield* AWS.SecurityHub.ListInvitations();
17 *
18 * // runtime
19 * const { Invitations } = yield* listInvitations();
20 * ```
21 *
22 * @binding
23 */
24export interface ListInvitations extends Binding.Service<
25 ListInvitations,
26 "AWS.SecurityHub.ListInvitations",
27 () => Effect.Effect<
28 (
29 request?: securityhub.ListInvitationsRequest,
30 ) => Effect.Effect<
31 securityhub.ListInvitationsResponse,
32 securityhub.ListInvitationsError
33 >
34 >
35> {}
36export const ListInvitations = Binding.Service<ListInvitations>(
37 "AWS.SecurityHub.ListInvitations",
38);