pub struct CreateVocabularyRequest {
pub language_code: String,
pub phrases: Option<Vec<String>>,
pub vocabulary_file_uri: Option<String>,
pub vocabulary_name: String,
}Fields§
§language_code: StringThe language code of the vocabulary entries.
phrases: Option<Vec<String>>An array of strings that contains the vocabulary entries.
vocabulary_file_uri: Option<String>The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Custom Vocabularies.
vocabulary_name: StringThe name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.
Trait Implementations§
Source§impl Clone for CreateVocabularyRequest
impl Clone for CreateVocabularyRequest
Source§fn clone(&self) -> CreateVocabularyRequest
fn clone(&self) -> CreateVocabularyRequest
Returns a duplicate 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 moreSource§impl Debug for CreateVocabularyRequest
impl Debug for CreateVocabularyRequest
Source§impl Default for CreateVocabularyRequest
impl Default for CreateVocabularyRequest
Source§fn default() -> CreateVocabularyRequest
fn default() -> CreateVocabularyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateVocabularyRequest
impl PartialEq for CreateVocabularyRequest
Source§impl Serialize for CreateVocabularyRequest
impl Serialize for CreateVocabularyRequest
impl StructuralPartialEq for CreateVocabularyRequest
Auto Trait Implementations§
impl Freeze for CreateVocabularyRequest
impl RefUnwindSafe for CreateVocabularyRequest
impl Send for CreateVocabularyRequest
impl Sync for CreateVocabularyRequest
impl Unpin for CreateVocabularyRequest
impl UnwindSafe for CreateVocabularyRequest
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
Mutably borrows from an owned value. Read more