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