Skip to content

GetResourceShareInvitations

Source: src/AWS/RAM/GetResourceShareInvitations.ts

Runtime binding for ram:GetResourceShareInvitations.

Retrieves the invitations to resource shares that other accounts extended to you. Account-level operation — the target shares, invitations, and permissions are chosen per request at runtime, so the binding takes no resource argument. Provide the implementation with Effect.provide(AWS.RAM.GetResourceShareInvitationsHttp).

// init — account-level binding, no resource argument
const getResourceShareInvitations = yield* AWS.RAM.GetResourceShareInvitations();
// runtime
const { resourceShareInvitations } =
yield* getResourceShareInvitations();