logo
pub struct TranscriptionJob {
Show 18 fields pub completion_time: Option<f64>, pub content_redaction: Option<ContentRedaction>, pub creation_time: Option<f64>, pub failure_reason: Option<String>, pub identified_language_score: Option<f32>, pub identify_language: Option<bool>, pub job_execution_settings: Option<JobExecutionSettings>, pub language_code: Option<String>, pub language_options: Option<Vec<String>>, pub media: Option<Media>, pub media_format: Option<String>, pub media_sample_rate_hertz: Option<i64>, pub model_settings: Option<ModelSettings>, pub settings: Option<Settings>, pub start_time: Option<f64>, pub transcript: Option<Transcript>, pub transcription_job_name: Option<String>, pub transcription_job_status: Option<String>,
}
Expand description

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

Fields

completion_time: Option<f64>

A timestamp that shows when the job was completed.

content_redaction: Option<ContentRedaction>

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

creation_time: Option<f64>

A timestamp that shows when the job was created.

failure_reason: Option<String>

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 8000 and 48000 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.

identified_language_score: Option<f32>

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.

identify_language: Option<bool>

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

job_execution_settings: Option<JobExecutionSettings>

Provides information about how a transcription job is executed.

language_code: Option<String>

The language code for the input speech.

language_options: Option<Vec<String>>

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

media: Option<Media>

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

media_format: Option<String>

The format of the input media file.

media_sample_rate_hertz: Option<i64>

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

model_settings: Option<ModelSettings>

An object containing the details of your custom language model.

settings: Option<Settings>

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.

start_time: Option<f64>

A timestamp that shows with the job was started processing.

transcript: Option<Transcript>

An object that describes the output of the transcription job.

transcription_job_name: Option<String>

The name of the transcription job.

transcription_job_status: Option<String>

The status of the transcription job.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more