sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ BCMDataExports/ GetTableHttp.ts

import * as bcm from "@distilled.cloud/aws/bcm-data-exports";
import * as Layer from "effect/Layer";
import { makeDataExportsAccountHttpBinding } from "./BindingHttp.ts";
import { GetTable } from "./GetTable.ts";

export const GetTableHttp = Layer.effect(
  GetTable,
  makeDataExportsAccountHttpBinding({
    capability: "GetTable",
    iamActions: ["bcm-data-exports:GetTable"],
    operation: bcm.getTable,
  }),
);