sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Transcribe/ CreateVocabularyHttp.ts

import * as transcribe from "@distilled.cloud/aws/transcribe";
import * as Layer from "effect/Layer";
import { makeTranscribeHttpBinding } from "./BindingHttp.ts";
import { CreateVocabulary } from "./CreateVocabulary.ts";

export const CreateVocabularyHttp = Layer.effect(
  CreateVocabulary,
  makeTranscribeHttpBinding({
    tag: "AWS.Transcribe.CreateVocabulary",
    operation: transcribe.createVocabulary,
    actions: ["transcribe:CreateVocabulary"],
  }),
);