Skip to content

ListInvitations

Source: src/AWS/Detective/ListInvitations.ts

Runtime binding for detective:ListInvitations.

Lists open behavior-graph invitations received by this account — the member-account side of the Detective handshake, ready for an automation that auto-accepts invitations from the security account. Provide the implementation with Effect.provide(AWS.Detective.ListInvitationsHttp).

// init — account-level binding, no resource argument
const listInvitations = yield* AWS.Detective.ListInvitations();
// runtime
const { Invitations } = yield* listInvitations();