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