AcceptInvitation
Source:
src/AWS/Detective/AcceptInvitation.ts
Runtime binding for detective:AcceptInvitation.
Accepts an invitation into an administrator account’s behavior graph —
the graph belongs to the admin account, so its ARN arrives at runtime
(typically from ListInvitations) rather than from a bound resource.
Provide the implementation with
Effect.provide(AWS.Detective.AcceptInvitationHttp).
Responding to Invitations
Section titled “Responding to Invitations”// init — account-level binding, no resource argumentconst acceptInvitation = yield* AWS.Detective.AcceptInvitation();
// runtimeyield* acceptInvitation({ GraphArn: invitation.GraphArn! });