[][src]Struct rusoto_transcribe::CreateVocabularyFilterRequest

pub struct CreateVocabularyFilterRequest {
    pub language_code: String,
    pub vocabulary_filter_file_uri: Option<String>,
    pub vocabulary_filter_name: String,
    pub words: Option<Vec<String>>,
}

Fields

language_code: String

The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.

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 vocabulary filter name. The name must be unique within the account that contains it. If you try to create 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

impl Clone for CreateVocabularyFilterRequest[src]

impl Debug for CreateVocabularyFilterRequest[src]

impl Default for CreateVocabularyFilterRequest[src]

impl PartialEq<CreateVocabularyFilterRequest> for CreateVocabularyFilterRequest[src]

impl Serialize for CreateVocabularyFilterRequest[src]

impl StructuralPartialEq for CreateVocabularyFilterRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.