| 1 | import * as s3tables from "@distilled.cloud/aws/s3tables"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeS3TablesTableBucketHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListNamespaces } from "./ListNamespaces.ts"; |
| 5 | |
| 6 | export const ListNamespacesHttp = Layer.effect( |
| 7 | ListNamespaces, |
| 8 | makeS3TablesTableBucketHttpBinding({ |
| 9 | tag: "AWS.S3Tables.ListNamespaces", |
| 10 | operation: s3tables.listNamespaces, |
| 11 | actions: ["s3tables:ListNamespaces"], |
| 12 | }), |
| 13 | ); |