Skip to content
TypeScript
433 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 { ListTables } from "./ListTables.ts";

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