#[non_exhaustive]pub struct UpdateMedicalVocabularyInput { /* private fields */ }Implementations§
source§impl UpdateMedicalVocabularyInput
impl UpdateMedicalVocabularyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateMedicalVocabulary, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateMedicalVocabulary, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateMedicalVocabulary>
Examples found in repository?
src/client.rs (line 4837)
4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateMedicalVocabulary,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateMedicalVocabularyError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateMedicalVocabularyOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateMedicalVocabularyError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateMedicalVocabularyInput.
source§impl UpdateMedicalVocabularyInput
impl UpdateMedicalVocabularyInput
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
The name of the custom medical vocabulary you want to update. Vocabulary names are case sensitive.
sourcepub fn language_code(&self) -> Option<&LanguageCode>
pub fn language_code(&self) -> Option<&LanguageCode>
The language code that represents the language of the entries in the custom vocabulary you want to update. US English (en-US) is the only language supported with Amazon Transcribe Medical.
sourcepub fn vocabulary_file_uri(&self) -> Option<&str>
pub fn vocabulary_file_uri(&self) -> Option<&str>
The Amazon S3 location of the text file that contains your custom medical vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you're calling.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
Trait Implementations§
source§impl Clone for UpdateMedicalVocabularyInput
impl Clone for UpdateMedicalVocabularyInput
source§fn clone(&self) -> UpdateMedicalVocabularyInput
fn clone(&self) -> UpdateMedicalVocabularyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more