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