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