@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 39 lines 1.18 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:GetMedicalVocabulary` — read a medical vocabulary's processing state and download URI.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:GetMedicalVocabulary` on `*`.
10 *
11 * ### Medical Vocabularies
12 * **Example:** Poll a Medical Vocabulary
13 * ```typescript
14 * // init
15 * const getMedicalVocabulary = yield* AWS.Transcribe.GetMedicalVocabulary();
16 *
17 * // runtime
18 * const { VocabularyState } = yield* getMedicalVocabulary({
19 * VocabularyName: "clinic-vocabulary",
20 * });
21 * ```
22 *
23 * @binding
24 */
25 export interface GetMedicalVocabulary extends Binding.Service<
26 GetMedicalVocabulary,
27 "AWS.Transcribe.GetMedicalVocabulary",
28 () => Effect.Effect<
29 (
30 request: transcribe.GetMedicalVocabularyRequest,
31 ) => Effect.Effect<
32 transcribe.GetMedicalVocabularyResponse,
33 transcribe.GetMedicalVocabularyError
34 >
35 >
36 > {}
37 export const GetMedicalVocabulary = Binding.Service<GetMedicalVocabulary>(
38 "AWS.Transcribe.GetMedicalVocabulary",
39 );