sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Bedrock/ InvokeModelHttp.ts
import * as bedrock from "@distilled.cloud/aws/bedrock-runtime";
import * as Layer from "effect/Layer";
import { makeModelScopedHttpBinding } from "./BindingHttp.ts";
import { InvokeModel } from "./InvokeModel.ts";
export const InvokeModelHttp = Layer.effect(
InvokeModel,
makeModelScopedHttpBinding({
tag: "AWS.Bedrock.InvokeModel",
operation: bedrock.invokeModel,
actions: ["bedrock:InvokeModel"],
}),
);