pub struct UpdateVocabularyFilterRequest {
pub vocabulary_filter_file_uri: Option<String>,
pub vocabulary_filter_name: String,
pub words: Option<Vec<String>>,
}
Fields§
§vocabulary_filter_file_uri: Option<String>
The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri
parameter, you can't use the Words
parameter.
vocabulary_filter_name: String
The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException
error.
words: Option<Vec<String>>
The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the Words
parameter, you can't use the VocabularyFilterFileUri
parameter.
Trait Implementations§
Source§impl Clone for UpdateVocabularyFilterRequest
impl Clone for UpdateVocabularyFilterRequest
Source§fn clone(&self) -> UpdateVocabularyFilterRequest
fn clone(&self) -> UpdateVocabularyFilterRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for UpdateVocabularyFilterRequest
impl Default for UpdateVocabularyFilterRequest
Source§fn default() -> UpdateVocabularyFilterRequest
fn default() -> UpdateVocabularyFilterRequest
Source§impl PartialEq for UpdateVocabularyFilterRequest
impl PartialEq for UpdateVocabularyFilterRequest
Source§fn eq(&self, other: &UpdateVocabularyFilterRequest) -> bool
fn eq(&self, other: &UpdateVocabularyFilterRequest) -> bool
self
and other
values to be equal, and is used by ==
.