The best way to control Claude Code, Codex and more from any computer or phone

main
ts 34 lines 1.04 KB
Raw
1 import type * as transcribe from "@distilled.cloud/aws/transcribe";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `transcribe:DeleteVocabulary` — delete a custom vocabulary.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:DeleteVocabulary` on `*`.
10 *
11 * ### Custom Vocabularies
12 * **Example:** Delete a Custom Vocabulary
13 * ```typescript
14 * // init
15 * const deleteVocabulary = yield* AWS.Transcribe.DeleteVocabulary();
16 *
17 * // runtime
18 * yield* deleteVocabulary({ VocabularyName: "tenant-123-vocabulary" });
19 * ```
20 *
21 * @binding
22 */
23 export interface DeleteVocabulary extends Binding.Service<
24 DeleteVocabulary,
25 "AWS.Transcribe.DeleteVocabulary",
26 () => Effect.Effect<
27 (
28 request: transcribe.DeleteVocabularyRequest,
29 ) => Effect.Effect<transcribe.DeleteVocabularyResponse, transcribe.DeleteVocabularyError>
30 >
31 > {}
32 export const DeleteVocabulary = Binding.Service<DeleteVocabulary>(
33 "AWS.Transcribe.DeleteVocabulary",
34 );