ListPrincipals
Source:
src/AWS/RAM/ListPrincipals.ts
Runtime binding for ram:ListPrincipals.
Lists the principals that you are sharing resources with or that are sharing resources with 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.ListPrincipalsHttp).
Discovering Shares & Shared Resources
Section titled “Discovering Shares & Shared Resources”// init — account-level binding, no resource argumentconst listPrincipals = yield* AWS.RAM.ListPrincipals();
// runtimeconst { principals } = yield* listPrincipals({ resourceOwner: "SELF" });