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