1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMedicalVocabulary`](crate::operation::get_medical_vocabulary::builders::GetMedicalVocabularyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`vocabulary_name(impl Into<String>)`](crate::operation::get_medical_vocabulary::builders::GetMedicalVocabularyFluentBuilder::vocabulary_name) / [`set_vocabulary_name(Option<String>)`](crate::operation::get_medical_vocabulary::builders::GetMedicalVocabularyFluentBuilder::set_vocabulary_name): <p>The name of the custom medical vocabulary you want information about. Custom medical vocabulary names are case sensitive.</p>
    /// - On success, responds with [`GetMedicalVocabularyOutput`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput) with field(s):
    ///   - [`vocabulary_name(Option<String>)`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput::vocabulary_name): <p>The name of the custom medical vocabulary you requested information about.</p>
    ///   - [`language_code(Option<LanguageCode>)`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput::language_code): <p>The language code you selected for your custom medical vocabulary. US English (<code>en-US</code>) is the only language supported with Amazon Transcribe Medical.</p>
    ///   - [`vocabulary_state(Option<VocabularyState>)`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput::vocabulary_state): <p>The processing state of your custom medical vocabulary. If the state is <code>READY</code>, you can use the custom vocabulary in a <code>StartMedicalTranscriptionJob</code> request.</p>
    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput::last_modified_time): <p>The date and time the specified custom medical vocabulary was last modified.</p>  <p>Timestamps are in the format <code>YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC</code>. For example, <code>2022-05-04T12:32:58.761000-07:00</code> represents 12:32 PM UTC-7 on May 4, 2022.</p>
    ///   - [`failure_reason(Option<String>)`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput::failure_reason): <p>If <code>VocabularyState</code> is <code>FAILED</code>, <code>FailureReason</code> contains information about why the custom medical vocabulary request failed. See also: <a href="https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html">Common Errors</a>.</p>
    ///   - [`download_uri(Option<String>)`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyOutput::download_uri): <p>The S3 location where the specified custom medical vocabulary is stored; use this URI to view or download the custom vocabulary.</p>
    /// - On failure, responds with [`SdkError<GetMedicalVocabularyError>`](crate::operation::get_medical_vocabulary::GetMedicalVocabularyError)
    pub fn get_medical_vocabulary(&self) -> crate::operation::get_medical_vocabulary::builders::GetMedicalVocabularyFluentBuilder {
        crate::operation::get_medical_vocabulary::builders::GetMedicalVocabularyFluentBuilder::new(self.handle.clone())
    }
}