Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TranscriptionJob

import type { TranscriptionJob } from "https://aws-api.deno.dev/v0.3/services/transcribeservice.ts?docs=full";

Describes an asynchronous transcription job that was created with the StartTranscriptionJob operation.

interface TranscriptionJob {
CompletionTime?: Date | number | null;
ContentRedaction?: ContentRedaction | null;
CreationTime?: Date | number | null;
FailureReason?: string | null;
IdentifiedLanguageScore?: number | null;
IdentifyLanguage?: boolean | null;
JobExecutionSettings?: JobExecutionSettings | null;
LanguageCode?: LanguageCode | null;
LanguageIdSettings?: [key in LanguageCode]: LanguageIdSettings | null | undefined | null;
LanguageOptions?: LanguageCode[] | null;
Media?: Media | null;
MediaFormat?: MediaFormat | null;
MediaSampleRateHertz?: number | null;
ModelSettings?: ModelSettings | null;
Settings?: Settings | null;
StartTime?: Date | number | null;
Subtitles?: SubtitlesOutput | null;
Tags?: Tag[] | null;
Transcript?: Transcript | null;
TranscriptionJobName?: string | null;
TranscriptionJobStatus?: TranscriptionJobStatus | null;
}

§Properties

§
CompletionTime?: Date | number | null
[src]

A timestamp that shows when the job completed.

§
ContentRedaction?: ContentRedaction | null
[src]

An object that describes content redaction settings for the transcription job.

§
CreationTime?: Date | number | null
[src]

A timestamp that shows when the job was created.

§
FailureReason?: string | null
[src]

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field can contain one of the following values:

  • Unsupported media format - The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values.
  • The media format provided does not match the detected media format - The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure that the two values match.
  • Invalid sample rate for audio file - The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz.
  • The sample rate provided does not match the detected sample rate - The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match.
  • Invalid file size: file size too large - The size of your audio file is larger than Amazon Transcribe can process. For more information, see Limits in the Amazon Transcribe Developer Guide.
  • Invalid number of channels: number of channels too large - Your audio contains more channels than Amazon Transcribe is configured to process. To request additional channels, see Amazon Transcribe Limits in the Amazon Web Services General Reference.
§
IdentifiedLanguageScore?: number | null
[src]

A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.

§
IdentifyLanguage?: boolean | null
[src]

A value that shows if automatic language identification was enabled for a transcription job.

§
JobExecutionSettings?: JobExecutionSettings | null
[src]

Provides information about how a transcription job is executed.

§
LanguageCode?: LanguageCode | null
[src]

The language code for the input speech.

§
LanguageIdSettings?: [key in LanguageCode]: LanguageIdSettings | null | undefined | null
[src]

Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelName.

§
LanguageOptions?: LanguageCode[] | null
[src]

An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.

§
Media?: Media | null
[src]

An object that describes the input media for the transcription job.

§
MediaFormat?: MediaFormat | null
[src]

The format of the input media file.

§
MediaSampleRateHertz?: number | null
[src]

The sample rate, in Hertz (Hz), of the audio track in the input media file.

§
ModelSettings?: ModelSettings | null
[src]

An object containing the details of your custom language model.

§
Settings?: Settings | null
[src]

Optional settings for the transcription job. Use these settings to turn on speaker recognition, to set the maximum number of speakers that should be identified and to specify a custom vocabulary to use when processing the transcription job.

§
StartTime?: Date | number | null
[src]

A timestamp that shows when the job started processing.

§
Subtitles?: SubtitlesOutput | null
[src]

Generate subtitles for your batch transcription job.

§
Tags?: Tag[] | null
[src]

A key:value pair assigned to a given transcription job.

§
Transcript?: Transcript | null
[src]

An object that describes the output of the transcription job.

§
TranscriptionJobName?: string | null
[src]

The name of the transcription job.

§
TranscriptionJobStatus?: TranscriptionJobStatus | null
[src]

The status of the transcription job.