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