| 1 | import * as TSQ from "@distilled.cloud/aws/timestream-query"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeQueryTableHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { Query } from "./Query.ts"; |
| 5 | |
| 6 | export const QueryHttp = Layer.effect( |
| 7 | Query, |
| 8 | makeQueryTableHttpBinding({ |
| 9 | tag: "AWS.Timestream.Query", |
| 10 | operation: TSQ.query, |
| 11 | actions: ["timestream:Select"], |
| 12 | }), |
| 13 | ); |