| 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 { InvokeEndpointAsync } from "./InvokeEndpointAsync.ts"; |
| 5 | |
| 6 | export const InvokeEndpointAsyncHttp = Layer.effect( |
| 7 | InvokeEndpointAsync, |
| 8 | makeEndpointInvocationHttpBinding({ |
| 9 | tag: "AWS.SageMakerRuntime.InvokeEndpointAsync", |
| 10 | operation: sagemaker.invokeEndpointAsync, |
| 11 | actions: ["sagemaker:InvokeEndpointAsync"], |
| 12 | }), |
| 13 | ); |