| 1 | import * as ram from "@distilled.cloud/aws/ram"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRAMHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetResourceShares } from "./GetResourceShares.ts"; |
| 5 | |
| 6 | export const GetResourceSharesHttp = Layer.effect( |
| 7 | GetResourceShares, |
| 8 | makeRAMHttpBinding({ |
| 9 | capability: "GetResourceShares", |
| 10 | iamActions: ["ram:GetResourceShares"], |
| 11 | operation: ram.getResourceShares, |
| 12 | }), |
| 13 | ); |