#[non_exhaustive]pub struct GetVocabularyOutput {
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>,
pub download_uri: 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 of the custom vocabulary you requested information about.
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 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.
failure_reason: Option<String>
If VocabularyState
is FAILED
, FailureReason
contains information about why the custom vocabulary request failed. See also: Common Errors.
download_uri: Option<String>
The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.
Implementations§
source§impl GetVocabularyOutput
impl GetVocabularyOutput
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
The name of the custom vocabulary you requested information about.
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 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 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.
sourcepub fn download_uri(&self) -> Option<&str>
pub fn download_uri(&self) -> Option<&str>
The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.
source§impl GetVocabularyOutput
impl GetVocabularyOutput
sourcepub fn builder() -> GetVocabularyOutputBuilder
pub fn builder() -> GetVocabularyOutputBuilder
Creates a new builder-style object to manufacture GetVocabularyOutput
.
Trait Implementations§
source§impl Clone for GetVocabularyOutput
impl Clone for GetVocabularyOutput
source§fn clone(&self) -> GetVocabularyOutput
fn clone(&self) -> GetVocabularyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetVocabularyOutput
impl Debug for GetVocabularyOutput
source§impl PartialEq for GetVocabularyOutput
impl PartialEq for GetVocabularyOutput
source§fn eq(&self, other: &GetVocabularyOutput) -> bool
fn eq(&self, other: &GetVocabularyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetVocabularyOutput
impl RequestId for GetVocabularyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetVocabularyOutput
Auto Trait Implementations§
impl Freeze for GetVocabularyOutput
impl RefUnwindSafe for GetVocabularyOutput
impl Send for GetVocabularyOutput
impl Sync for GetVocabularyOutput
impl Unpin for GetVocabularyOutput
impl UnwindSafe for GetVocabularyOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more