Skip to content

GetTranscriptionJob

Source: src/AWS/Transcribe/GetTranscriptionJob.ts

Runtime binding for transcribe:GetTranscriptionJob — read the status and result of a batch transcription job started with StartTranscriptionJob.

Account-scoped (no resource to manage): the binding takes no arguments and grants the function transcribe:GetTranscriptionJob (the action has no resource-level IAM). Poll TranscriptionJob.TranscriptionJobStatus until it reaches COMPLETED or FAILED.

// init
const getJob = yield* AWS.Transcribe.GetTranscriptionJob();
// runtime
const { TranscriptionJob } = yield* getJob({
TranscriptionJobName: "my-job",
});
const status = TranscriptionJob?.TranscriptionJobStatus;