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