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).
Responding to Invitations
Section titled “Responding to Invitations”// init — account-level binding, no resource argumentconst rejectInvitation = yield* AWS.Detective.RejectInvitation();
// runtimeyield* rejectInvitation({ GraphArn: invitation.GraphArn! });