GetResourcePolicies
Source:
src/AWS/RAM/GetResourcePolicies.ts
Runtime binding for ram:GetResourcePolicies.
Retrieves the RAM-generated resource policies attached to resources that you own and have shared.
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.GetResourcePoliciesHttp).
Discovering Shares & Shared Resources
Section titled “Discovering Shares & Shared Resources”// init — account-level binding, no resource argumentconst getResourcePolicies = yield* AWS.RAM.GetResourcePolicies();
// runtimeconst { policies } = yield* getResourcePolicies({ resourceArns: [subnetArn],});