Struct aws_sdk_transcribe::model::VocabularyInfo
source · #[non_exhaustive]pub struct VocabularyInfo { /* private fields */ }Expand description
Provides information about a custom vocabulary, including the language of the vocabulary, when it was last modified, its name, and the processing state.
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 vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For example, if you create a vocabulary using US English (en-US), you can only apply this 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 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 vocabulary in a StartTranscriptionJob request.
source§impl VocabularyInfo
impl VocabularyInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
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 more