1import type * as transcribe from "@distilled.cloud/aws/transcribe";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `transcribe:ListVocabularies` — list the custom vocabularies in the account.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:ListVocabularies` on `*`.
10 *
11 * ### Custom Vocabularies
12 * **Example:** List Custom Vocabularies
13 * ```typescript
14 * // init
15 * const listVocabularies = yield* AWS.Transcribe.ListVocabularies();
16 *
17 * // runtime
18 * const { Vocabularies } = yield* listVocabularies({ MaxResults: 10 });
19 * ```
20 *
21 * @binding
22 */
23export interface ListVocabularies extends Binding.Service<
24 ListVocabularies,
25 "AWS.Transcribe.ListVocabularies",
26 () => Effect.Effect<
27 (
28 request?: transcribe.ListVocabulariesRequest,
29 ) => Effect.Effect<
30 transcribe.ListVocabulariesResponse,
31 transcribe.ListVocabulariesError
32 >
33 >
34> {}
35export const ListVocabularies = Binding.Service<ListVocabularies>(
36 "AWS.Transcribe.ListVocabularies",
37);