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