Struct aws_sdk_transcribe::model::TranscriptionJob
source · [−]#[non_exhaustive]pub struct TranscriptionJob {Show 21 fields
pub transcription_job_name: Option<String>,
pub transcription_job_status: Option<TranscriptionJobStatus>,
pub language_code: Option<LanguageCode>,
pub media_sample_rate_hertz: Option<i32>,
pub media_format: Option<MediaFormat>,
pub media: Option<Media>,
pub transcript: Option<Transcript>,
pub start_time: Option<DateTime>,
pub creation_time: Option<DateTime>,
pub completion_time: Option<DateTime>,
pub failure_reason: Option<String>,
pub settings: Option<Settings>,
pub model_settings: Option<ModelSettings>,
pub job_execution_settings: Option<JobExecutionSettings>,
pub content_redaction: Option<ContentRedaction>,
pub identify_language: Option<bool>,
pub language_options: Option<Vec<LanguageCode>>,
pub identified_language_score: Option<f32>,
pub tags: Option<Vec<Tag>>,
pub subtitles: Option<SubtitlesOutput>,
pub language_id_settings: Option<HashMap<LanguageCode, LanguageIdSettings>>,
}
Expand description
Describes an asynchronous transcription job that was created with the StartTranscriptionJob
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.transcription_job_name: Option<String>
The name of the transcription job.
transcription_job_status: Option<TranscriptionJobStatus>
The status of the transcription job.
language_code: Option<LanguageCode>
The language code for the input speech.
media_sample_rate_hertz: Option<i32>
The sample rate, in Hertz (Hz), of the audio track in the input media file.
media_format: Option<MediaFormat>
The format of the input media file.
media: Option<Media>
An object that describes the input media for the transcription job.
transcript: Option<Transcript>
An object that describes the output of the transcription job.
start_time: Option<DateTime>
A timestamp that shows when the job started processing.
creation_time: Option<DateTime>
A timestamp that shows when the job was created.
completion_time: Option<DateTime>
A timestamp that shows when the job completed.
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 theMediaFormat
field of the request isn't valid. See the description of theMediaFormat
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 theMediaFormat
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 theMediaSampleRateHertz
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 theMediaSampleRateHertz
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.
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.
model_settings: Option<ModelSettings>
An object containing the details of your custom language model.
job_execution_settings: Option<JobExecutionSettings>
Provides information about how a transcription job is executed.
content_redaction: Option<ContentRedaction>
An object that describes content redaction settings for the transcription job.
identify_language: Option<bool>
A value that shows if automatic language identification was enabled for a transcription job.
language_options: Option<Vec<LanguageCode>>
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
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.
A key:value pair assigned to a given transcription job.
subtitles: Option<SubtitlesOutput>
Generate subtitles for your batch transcription job.
language_id_settings: Option<HashMap<LanguageCode, LanguageIdSettings>>
Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName
, VocabularyFilterName
, and LanguageModelName
.
Implementations
The name of the transcription job.
The status of the transcription job.
The language code for the input speech.
The sample rate, in Hertz (Hz), of the audio track in the input media file.
The format of the input media file.
An object that describes the input media for the transcription job.
An object that describes the output of the transcription job.
A timestamp that shows when the job started processing.
A timestamp that shows when the job was created.
A timestamp that shows when the job completed.
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 theMediaFormat
field of the request isn't valid. See the description of theMediaFormat
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 theMediaFormat
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 theMediaSampleRateHertz
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 theMediaSampleRateHertz
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.
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.
An object containing the details of your custom language model.
Provides information about how a transcription job is executed.
An object that describes content redaction settings for the transcription job.
A value that shows if automatic language identification was enabled for a transcription job.
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
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.
A key:value pair assigned to a given transcription job.
Generate subtitles for your batch transcription job.
Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName
, VocabularyFilterName
, and LanguageModelName
.
Creates a new builder-style object to manufacture TranscriptionJob
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TranscriptionJob
impl Send for TranscriptionJob
impl Sync for TranscriptionJob
impl Unpin for TranscriptionJob
impl UnwindSafe for TranscriptionJob
Blanket Implementations
Mutably borrows from an owned value. Read more
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