1import * as sagemaker from "@distilled.cloud/aws/sagemaker-runtime";
2import * as Layer from "effect/Layer";
3import { makeEndpointInvocationHttpBinding } from "./BindingHttp.ts";
4import { InvokeEndpoint } from "./InvokeEndpoint.ts";
5
6export const InvokeEndpointHttp = Layer.effect(
7 InvokeEndpoint,
8 makeEndpointInvocationHttpBinding({
9 tag: "AWS.SageMakerRuntime.InvokeEndpoint",
10 operation: sagemaker.invokeEndpoint,
11 actions: ["sagemaker:InvokeEndpoint"],
12 }),
13);