sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Polly/ ListLexiconsHttp.ts

import * as polly from "@distilled.cloud/aws/polly";
import * as Layer from "effect/Layer";
import { makePollyHttpBinding } from "./BindingHttp.ts";
import { ListLexicons } from "./ListLexicons.ts";

export const ListLexiconsHttp = Layer.effect(
  ListLexicons,
  makePollyHttpBinding({
    capability: "ListLexicons",
    iamActions: ["polly:ListLexicons"],
    operation: polly.listLexicons,
  }),
);