pub struct CreateMedicalVocabularyRequest {
pub language_code: String,
pub vocabulary_file_uri: String,
pub vocabulary_name: String,
}
Fields
language_code: String
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
vocabulary_file_uri: String
The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same AWS Region as the resource that you're calling. Enter information about your VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
vocabulary_name: String
The name of the custom vocabulary. This case-sensitive name must be unique within an AWS account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException
error.
Trait Implementations
sourceimpl Clone for CreateMedicalVocabularyRequest
impl Clone for CreateMedicalVocabularyRequest
sourcefn clone(&self) -> CreateMedicalVocabularyRequest
fn clone(&self) -> CreateMedicalVocabularyRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for CreateMedicalVocabularyRequest
impl Default for CreateMedicalVocabularyRequest
sourcefn default() -> CreateMedicalVocabularyRequest
fn default() -> CreateMedicalVocabularyRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateMedicalVocabularyRequest> for CreateMedicalVocabularyRequest
impl PartialEq<CreateMedicalVocabularyRequest> for CreateMedicalVocabularyRequest
sourcefn eq(&self, other: &CreateMedicalVocabularyRequest) -> bool
fn eq(&self, other: &CreateMedicalVocabularyRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateMedicalVocabularyRequest) -> bool
fn ne(&self, other: &CreateMedicalVocabularyRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateMedicalVocabularyRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateMedicalVocabularyRequest
impl Send for CreateMedicalVocabularyRequest
impl Sync for CreateMedicalVocabularyRequest
impl Unpin for CreateMedicalVocabularyRequest
impl UnwindSafe for CreateMedicalVocabularyRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more