Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

CreateBatchInferenceJobHttp.ts

14 lines556 Bytes

1import * as personalize from "@distilled.cloud/aws/personalize";
2import * as Layer from "effect/Layer";
3import { makePersonalizeAccountHttpBinding } from "./BindingHttp.ts";
4import { CreateBatchInferenceJob } from "./CreateBatchInferenceJob.ts";
5​
6export const CreateBatchInferenceJobHttp = Layer.effect(
7 CreateBatchInferenceJob,
8 makePersonalizeAccountHttpBinding({
9 tag: "AWS.Personalize.CreateBatchInferenceJob",
10 operation: personalize.createBatchInferenceJob,
11 actions: ["personalize:CreateBatchInferenceJob"],
12 passRole: true,
13 }),
14);