| 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 { StopIngestionJob } from "./StopIngestionJob.ts"; |
| 5 | |
| 6 | export const StopIngestionJobHttp = Layer.effect( |
| 7 | StopIngestionJob, |
| 8 | makeDataSourceScopedHttpBinding({ |
| 9 | tag: "AWS.Bedrock.StopIngestionJob", |
| 10 | operation: bedrock.stopIngestionJob, |
| 11 | actions: ["bedrock:StopIngestionJob"], |
| 12 | }), |
| 13 | ); |