| 1 | import * as bedrock from "@distilled.cloud/aws/bedrock-agent"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeDataSourceScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetKnowledgeBaseDocuments } from "./GetKnowledgeBaseDocuments.ts"; |
| 5 | |
| 6 | export const GetKnowledgeBaseDocumentsHttp = Layer.effect( |
| 7 | GetKnowledgeBaseDocuments, |
| 8 | makeDataSourceScopedHttpBinding({ |
| 9 | tag: "AWS.Bedrock.GetKnowledgeBaseDocuments", |
| 10 | operation: bedrock.getKnowledgeBaseDocuments, |
| 11 | actions: ["bedrock:GetKnowledgeBaseDocuments"], |
| 12 | }), |
| 13 | ); |