Skip to content
TypeScript
419 B
Raw Blame
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,
  }),
);