[][src]Struct rusoto_transcribe::CreateVocabularyRequest

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: String

The 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: String

The 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

impl Clone for CreateVocabularyRequest[src]

impl Debug for CreateVocabularyRequest[src]

impl Default for CreateVocabularyRequest[src]

impl PartialEq<CreateVocabularyRequest> for CreateVocabularyRequest[src]

impl Serialize for CreateVocabularyRequest[src]

impl StructuralPartialEq for CreateVocabularyRequest[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> 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.