Skip to content

ListInvitations

Source: src/AWS/GuardDuty/ListInvitations.ts

Runtime binding for guardduty:ListInvitations.

Lists GuardDuty membership invitations received by this account — ready for an automation that auto-accepts invitations from the security account. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.GuardDuty.ListInvitationsHttp).

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