sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Bedrock/ IngestKnowledgeBaseDocumentsHttp.ts

import * as bedrock from "@distilled.cloud/aws/bedrock-agent";
import * as Layer from "effect/Layer";
import { makeDataSourceScopedHttpBinding } from "./BindingHttp.ts";
import { IngestKnowledgeBaseDocuments } from "./IngestKnowledgeBaseDocuments.ts";

export const IngestKnowledgeBaseDocumentsHttp = Layer.effect(
  IngestKnowledgeBaseDocuments,
  makeDataSourceScopedHttpBinding({
    tag: "AWS.Bedrock.IngestKnowledgeBaseDocuments",
    operation: bedrock.ingestKnowledgeBaseDocuments,
    actions: ["bedrock:IngestKnowledgeBaseDocuments"],
  }),
);