Skip to content

ListSourceAssociations

Source: src/AWS/RAM/ListSourceAssociations.ts

Runtime binding for ram:ListSourceAssociations.

Lists the source associations of your resource shares — the sources that service-managed shares draw resources from. 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.ListSourceAssociationsHttp).

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