Struct aws_sdk_transcribe::client::fluent_builders::UpdateVocabulary [−][src]
pub struct UpdateVocabulary<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateVocabulary
.
Updates an existing vocabulary with new values. The UpdateVocabulary
operation overwrites
all of the existing information with the values that you provide in the request.
Implementations
impl<C, M, R> UpdateVocabulary<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateVocabulary<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateVocabularyOutput, SdkError<UpdateVocabularyError>> where
R::Policy: SmithyRetryPolicy<UpdateVocabularyInputOperationOutputAlias, UpdateVocabularyOutput, UpdateVocabularyError, UpdateVocabularyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateVocabularyOutput, SdkError<UpdateVocabularyError>> where
R::Policy: SmithyRetryPolicy<UpdateVocabularyInputOperationOutputAlias, UpdateVocabularyOutput, UpdateVocabularyError, UpdateVocabularyInputOperationRetryAlias>,
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 to update. The name is case sensitive. If you try to update a vocabulary with the
same name as a previous vocabulary you will receive a ConflictException
error.
The name of the vocabulary to update. The name is case sensitive. If you try to update 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 transcribe-whatis.
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis.
Appends an item to Phrases
.
To override the contents of this collection use set_phrases
.
An array of strings containing the vocabulary entries.
An array of strings containing 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
For example:
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
For example:
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateVocabulary<C, M, R>
impl<C, M, R> Send for UpdateVocabulary<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateVocabulary<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateVocabulary<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateVocabulary<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