| 1 | import * as DynamoDB from "@distilled.cloud/aws/dynamodb"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListTables } from "./ListTables.ts"; |
| 5 | |
| 6 | export const ListTablesHttp = Layer.effect( |
| 7 | ListTables, |
| 8 | makeAccountHttpBinding({ |
| 9 | tag: "AWS.DynamoDB.ListTables", |
| 10 | operation: DynamoDB.listTables, |
| 11 | actions: ["dynamodb:ListTables"], |
| 12 | }), |
| 13 | ); |