Skip to content

RejectInvitation

Source: src/AWS/Detective/RejectInvitation.ts

Runtime binding for detective:RejectInvitation.

Rejects an open invitation into an administrator account’s behavior graph — the decline path of the member-account invitation flow. Provide the implementation with Effect.provide(AWS.Detective.RejectInvitationHttp).

// init — account-level binding, no resource argument
const rejectInvitation = yield* AWS.Detective.RejectInvitation();
// runtime
yield* rejectInvitation({ GraphArn: invitation.GraphArn! });