@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 37 lines 1.2 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:DeleteTranscriptionJob` — delete a batch transcription job and its transcript from the service-managed output location.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:DeleteTranscriptionJob` on `*`.
10 *
11 * ### Batch Transcription Jobs
12 * **Example:** Delete a Transcription Job
13 * ```typescript
14 * // init
15 * const deleteTranscriptionJob = yield* AWS.Transcribe.DeleteTranscriptionJob();
16 *
17 * // runtime
18 * yield* deleteTranscriptionJob({ TranscriptionJobName: "my-job" });
19 * ```
20 *
21 * @binding
22 */
23 export interface DeleteTranscriptionJob extends Binding.Service<
24 DeleteTranscriptionJob,
25 "AWS.Transcribe.DeleteTranscriptionJob",
26 () => Effect.Effect<
27 (
28 request: transcribe.DeleteTranscriptionJobRequest,
29 ) => Effect.Effect<
30 transcribe.DeleteTranscriptionJobResponse,
31 transcribe.DeleteTranscriptionJobError
32 >
33 >
34 > {}
35 export const DeleteTranscriptionJob = Binding.Service<DeleteTranscriptionJob>(
36 "AWS.Transcribe.DeleteTranscriptionJob",
37 );