Skip to content

DeclineInvitations

Source: src/AWS/GuardDuty/DeclineInvitations.ts

Runtime binding for guardduty:DeclineInvitations.

Declines membership invitations from the given administrator account ids. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.GuardDuty.DeclineInvitationsHttp).

// init
// init — account-level binding, no resource argument
const declineInvitations = yield* AWS.GuardDuty.DeclineInvitations();
// runtime
yield* declineInvitations({ AccountIds: ["111122223333"] });