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

main
ts 36 lines 1.16 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:GetCallAnalyticsJob` — read a Call Analytics job's status and, once complete, the transcript location.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:GetCallAnalyticsJob` on `*`.
10 *
11 * ### Call Analytics Jobs
12 * **Example:** Poll a Call Analytics Job
13 * ```typescript
14 * // init
15 * const getCallAnalyticsJob = yield* AWS.Transcribe.GetCallAnalyticsJob();
16 *
17 * // runtime
18 * const { CallAnalyticsJob } = yield* getCallAnalyticsJob({
19 * CallAnalyticsJobName: "my-call",
20 * });
21 * ```
22 *
23 * @binding
24 */
25 export interface GetCallAnalyticsJob extends Binding.Service<
26 GetCallAnalyticsJob,
27 "AWS.Transcribe.GetCallAnalyticsJob",
28 () => Effect.Effect<
29 (
30 request: transcribe.GetCallAnalyticsJobRequest,
31 ) => Effect.Effect<transcribe.GetCallAnalyticsJobResponse, transcribe.GetCallAnalyticsJobError>
32 >
33 > {}
34 export const GetCallAnalyticsJob = Binding.Service<GetCallAnalyticsJob>(
35 "AWS.Transcribe.GetCallAnalyticsJob",
36 );