Skip to content

ListResourceSharePermissions

Source: src/AWS/RAM/ListResourceSharePermissions.ts

Runtime binding for ram:ListResourceSharePermissions.

Lists the RAM permissions that are associated with a resource share. 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.ListResourceSharePermissionsHttp).

// init — account-level binding, no resource argument
const listResourceSharePermissions = yield* AWS.RAM.ListResourceSharePermissions();
// runtime
const { permissions } = yield* listResourceSharePermissions({
resourceShareArn: share.resourceShareArn,
});