StartTranscriptionJob
Source:
src/AWS/Transcribe/StartTranscriptionJob.ts
Runtime binding for transcribe:StartTranscriptionJob — kick off an
asynchronous batch transcription of an audio/video file stored in S3.
Transcribe batch jobs are account-scoped (no resource to manage): the
binding takes no arguments and grants the function
transcribe:StartTranscriptionJob (the action has no resource-level IAM).
The input Media.MediaFileUri and the output bucket are S3 locations —
grant the function S3 access to those buckets separately. Poll the job to
completion with GetTranscriptionJob.
Starting a Transcription Job
Section titled “Starting a Transcription Job”// initconst startJob = yield* AWS.Transcribe.StartTranscriptionJob();
// runtimeconst { TranscriptionJob } = yield* startJob({ TranscriptionJobName: "my-job", LanguageCode: "en-US", Media: { MediaFileUri: "s3://my-bucket/audio/sample.wav" }, OutputBucketName: "my-output-bucket",});