Skip to content

GetInvitationsCount

Source: src/AWS/SecurityHub/GetInvitationsCount.ts

Runtime binding for securityhub:GetInvitationsCount.

Returns the count of membership invitations received by this account (excluding accepted ones). Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.GetInvitationsCountHttp).

// init — account-level binding, no resource argument
const getInvitationsCount = yield* AWS.SecurityHub.GetInvitationsCount();
// runtime
const { InvitationsCount } = yield* getInvitationsCount();