#[non_exhaustive]pub struct UpdateVocabularyFilterInput {
pub vocabulary_filter_name: Option<String>,
pub words: Option<Vec<String>>,
pub vocabulary_filter_file_uri: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.vocabulary_filter_name: Option<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.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateVocabularyFilter, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateVocabularyFilter, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateVocabularyFilter
>
Creates a new builder-style object to manufacture UpdateVocabularyFilterInput
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.
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.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UpdateVocabularyFilterInput
impl Send for UpdateVocabularyFilterInput
impl Sync for UpdateVocabularyFilterInput
impl Unpin for UpdateVocabularyFilterInput
impl UnwindSafe for UpdateVocabularyFilterInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more