| 1 | import * as bcm from "@distilled.cloud/aws/bcm-data-exports"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeExportHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetExport } from "./GetExport.ts"; |
| 5 | |
| 6 | export const GetExportHttp = Layer.effect( |
| 7 | GetExport, |
| 8 | makeExportHttpBinding({ |
| 9 | capability: "GetExport", |
| 10 | iamActions: ["bcm-data-exports:GetExport"], |
| 11 | operation: bcm.getExport, |
| 12 | }), |
| 13 | ); |