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