#[non_exhaustive]pub struct CreateVocabularyOutput {
pub vocabulary_name: Option<String>,
pub language_code: Option<LanguageCode>,
pub vocabulary_state: Option<VocabularyState>,
pub last_modified_time: Option<DateTime>,
pub failure_reason: Option<String>,
/* private fields */
}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>The name you chose for your custom vocabulary.
language_code: Option<LanguageCode>The language code you selected for your custom vocabulary.
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.
last_modified_time: Option<DateTime>The date and time you created your custom vocabulary.
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.
failure_reason: Option<String>If VocabularyState is FAILED, FailureReason contains information about why the custom vocabulary request failed. See also: Common Errors.
Implementations§
source§impl CreateVocabularyOutput
impl CreateVocabularyOutput
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
The name you chose for your custom vocabulary.
sourcepub fn language_code(&self) -> Option<&LanguageCode>
pub fn language_code(&self) -> Option<&LanguageCode>
The language code you selected for your custom vocabulary.
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.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The date and time you created your custom vocabulary.
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 failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If VocabularyState is FAILED, FailureReason contains information about why the custom vocabulary request failed. See also: Common Errors.
source§impl CreateVocabularyOutput
impl CreateVocabularyOutput
sourcepub fn builder() -> CreateVocabularyOutputBuilder
pub fn builder() -> CreateVocabularyOutputBuilder
Creates a new builder-style object to manufacture CreateVocabularyOutput.
Trait Implementations§
source§impl Clone for CreateVocabularyOutput
impl Clone for CreateVocabularyOutput
source§fn clone(&self) -> CreateVocabularyOutput
fn clone(&self) -> CreateVocabularyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateVocabularyOutput
impl Debug for CreateVocabularyOutput
source§impl PartialEq<CreateVocabularyOutput> for CreateVocabularyOutput
impl PartialEq<CreateVocabularyOutput> for CreateVocabularyOutput
source§fn eq(&self, other: &CreateVocabularyOutput) -> bool
fn eq(&self, other: &CreateVocabularyOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateVocabularyOutput
impl RequestId for CreateVocabularyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.