Struct aws_sdk_transcribe::types::VocabularyInfo
source · #[non_exhaustive]pub struct VocabularyInfo {
pub vocabulary_name: Option<String>,
pub language_code: Option<LanguageCode>,
pub last_modified_time: Option<DateTime>,
pub vocabulary_state: Option<VocabularyState>,
}
Expand description
Provides information about a custom vocabulary, including the language of the custom vocabulary, when it was last modified, its name, and the processing state.
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.vocabulary_name: Option<String>
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
language_code: Option<LanguageCode>
The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US
), you can only apply this custom vocabulary to files that contain English audio.
last_modified_time: Option<DateTime>
The date and time the specified custom vocabulary was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
vocabulary_state: Option<VocabularyState>
The processing state of your custom vocabulary. If the state is READY
, you can use the custom vocabulary in a StartTranscriptionJob
request.
Implementations§
source§impl VocabularyInfo
impl VocabularyInfo
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
sourcepub fn language_code(&self) -> Option<&LanguageCode>
pub fn language_code(&self) -> Option<&LanguageCode>
The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US
), you can only apply this custom vocabulary to files that contain English audio.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The date and time the specified custom vocabulary was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
sourcepub fn vocabulary_state(&self) -> Option<&VocabularyState>
pub fn vocabulary_state(&self) -> Option<&VocabularyState>
The processing state of your custom vocabulary. If the state is READY
, you can use the custom vocabulary in a StartTranscriptionJob
request.
source§impl VocabularyInfo
impl VocabularyInfo
sourcepub fn builder() -> VocabularyInfoBuilder
pub fn builder() -> VocabularyInfoBuilder
Creates a new builder-style object to manufacture VocabularyInfo
.
Trait Implementations§
source§impl Clone for VocabularyInfo
impl Clone for VocabularyInfo
source§fn clone(&self) -> VocabularyInfo
fn clone(&self) -> VocabularyInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VocabularyInfo
impl Debug for VocabularyInfo
source§impl PartialEq for VocabularyInfo
impl PartialEq for VocabularyInfo
source§fn eq(&self, other: &VocabularyInfo) -> bool
fn eq(&self, other: &VocabularyInfo) -> bool
self
and other
values to be equal, and is used
by ==
.