Struct aws_sdk_transcribe::client::fluent_builders::CreateVocabulary
source · [−]pub struct CreateVocabulary<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateVocabulary
.
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
Implementations
impl<C, M, R> CreateVocabulary<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateVocabulary<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateVocabularyOutput, SdkError<CreateVocabularyError>> where
R::Policy: SmithyRetryPolicy<CreateVocabularyInputOperationOutputAlias, CreateVocabularyOutput, CreateVocabularyError, CreateVocabularyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateVocabularyOutput, SdkError<CreateVocabularyError>> where
R::Policy: SmithyRetryPolicy<CreateVocabularyInputOperationOutputAlias, CreateVocabularyOutput, CreateVocabularyError, CreateVocabularyInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the vocabulary. The name must be unique within an Amazon Web Services 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.
The name of the vocabulary. The name must be unique within an Amazon Web Services 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.
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix
.
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix
.
Appends an item to Phrases
.
To override the contents of this collection use set_phrases
.
An array of strings that contains the vocabulary entries.
An array of strings that contains the vocabulary entries.
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:
https://s3.
For example:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
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.
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:
https://s3.
For example:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
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.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateVocabulary<C, M, R>
impl<C, M, R> Send for CreateVocabulary<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateVocabulary<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateVocabulary<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateVocabulary<C, M, R>
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