GetResourceShareAssociations
Source:
src/AWS/RAM/GetResourceShareAssociations.ts
Runtime binding for ram:GetResourceShareAssociations.
Retrieves the principal and resource associations of your resource shares — who has access, and to what.
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.GetResourceShareAssociationsHttp).
Discovering Shares & Shared Resources
Section titled “Discovering Shares & Shared Resources”// init — account-level binding, no resource argumentconst getResourceShareAssociations = yield* AWS.RAM.GetResourceShareAssociations();
// runtimeconst { resourceShareAssociations } = yield* getResourceShareAssociations({ associationType: "PRINCIPAL" });