Struct rusoto_transcribe::TranscribeClient
source · [−]pub struct TranscribeClient { /* private fields */ }
Expand description
A client for the Amazon Transcribe Service API.
Implementations
sourceimpl TranscribeClient
impl TranscribeClient
sourcepub fn new(region: Region) -> TranscribeClient
pub fn new(region: Region) -> TranscribeClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> TranscribeClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> TranscribeClient
Trait Implementations
sourceimpl Clone for TranscribeClient
impl Clone for TranscribeClient
sourcefn clone(&self) -> TranscribeClient
fn clone(&self) -> TranscribeClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Transcribe for TranscribeClient
impl Transcribe for TranscribeClient
sourcefn create_language_model<'life0, 'async_trait>(
&'life0 self,
input: CreateLanguageModelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLanguageModelResponse, RusotoError<CreateLanguageModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_language_model<'life0, 'async_trait>(
&'life0 self,
input: CreateLanguageModelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLanguageModelResponse, RusotoError<CreateLanguageModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.
sourcefn create_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: CreateMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<CreateMedicalVocabularyResponse, RusotoError<CreateMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: CreateMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<CreateMedicalVocabularyResponse, RusotoError<CreateMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new custom vocabulary that you can use to change how Amazon Transcribe Medical transcribes your audio file.
sourcefn create_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: CreateVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<CreateVocabularyResponse, RusotoError<CreateVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: CreateVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<CreateVocabularyResponse, RusotoError<CreateVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
sourcefn create_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: CreateVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateVocabularyFilterResponse, RusotoError<CreateVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: CreateVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateVocabularyFilterResponse, RusotoError<CreateVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.
sourcefn delete_language_model<'life0, 'async_trait>(
&'life0 self,
input: DeleteLanguageModelRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteLanguageModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_language_model<'life0, 'async_trait>(
&'life0 self,
input: DeleteLanguageModelRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteLanguageModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a custom language model using its name.
sourcefn delete_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: DeleteMedicalTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteMedicalTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: DeleteMedicalTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteMedicalTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a transcription job generated by Amazon Transcribe Medical and any related information.
sourcefn delete_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a vocabulary from Amazon Transcribe Medical.
sourcefn delete_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: DeleteTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: DeleteTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
sourcefn delete_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a vocabulary from Amazon Transcribe.
sourcefn delete_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes a vocabulary filter.
sourcefn describe_language_model<'life0, 'async_trait>(
&'life0 self,
input: DescribeLanguageModelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLanguageModelResponse, RusotoError<DescribeLanguageModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_language_model<'life0, 'async_trait>(
&'life0 self,
input: DescribeLanguageModelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLanguageModelResponse, RusotoError<DescribeLanguageModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about a single custom language model. Use this information to see details about the language model in your AWS account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it.
sourcefn get_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: GetMedicalTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetMedicalTranscriptionJobResponse, RusotoError<GetMedicalTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: GetMedicalTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetMedicalTranscriptionJobResponse, RusotoError<GetMedicalTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus
field. If the status is COMPLETED
, the job is finished. You find the results of the completed job in the TranscriptFileUri
field.
sourcefn get_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: GetMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<GetMedicalVocabularyResponse, RusotoError<GetMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: GetMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<GetMedicalVocabularyResponse, RusotoError<GetMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves information about a medical vocabulary.
sourcefn get_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: GetTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetTranscriptionJobResponse, RusotoError<GetTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: GetTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetTranscriptionJobResponse, RusotoError<GetTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about a transcription job. To see the status of the job, check the TranscriptionJobStatus
field. If the status is COMPLETED
, the job is finished and you can find the results at the location specified in the TranscriptFileUri
field. If you enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri
.
sourcefn get_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: GetVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<GetVocabularyResponse, RusotoError<GetVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: GetVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<GetVocabularyResponse, RusotoError<GetVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about a vocabulary.
sourcefn get_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: GetVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<GetVocabularyFilterResponse, RusotoError<GetVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: GetVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<GetVocabularyFilterResponse, RusotoError<GetVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about a vocabulary filter.
sourcefn list_language_models<'life0, 'async_trait>(
&'life0 self,
input: ListLanguageModelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLanguageModelsResponse, RusotoError<ListLanguageModelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_language_models<'life0, 'async_trait>(
&'life0 self,
input: ListLanguageModelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLanguageModelsResponse, RusotoError<ListLanguageModelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provides more information about the custom language models you've created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.
sourcefn list_medical_transcription_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListMedicalTranscriptionJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListMedicalTranscriptionJobsResponse, RusotoError<ListMedicalTranscriptionJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_medical_transcription_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListMedicalTranscriptionJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListMedicalTranscriptionJobsResponse, RusotoError<ListMedicalTranscriptionJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists medical transcription jobs with a specified status or substring that matches their names.
sourcefn list_medical_vocabularies<'life0, 'async_trait>(
&'life0 self,
input: ListMedicalVocabulariesRequest
) -> Pin<Box<dyn Future<Output = Result<ListMedicalVocabulariesResponse, RusotoError<ListMedicalVocabulariesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_medical_vocabularies<'life0, 'async_trait>(
&'life0 self,
input: ListMedicalVocabulariesRequest
) -> Pin<Box<dyn Future<Output = Result<ListMedicalVocabulariesResponse, RusotoError<ListMedicalVocabulariesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of vocabularies that match the specified criteria. If you don't enter a value in any of the request parameters, returns the entire list of vocabularies.
sourcefn list_transcription_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListTranscriptionJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTranscriptionJobsResponse, RusotoError<ListTranscriptionJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_transcription_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListTranscriptionJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTranscriptionJobsResponse, RusotoError<ListTranscriptionJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists transcription jobs with the specified status.
sourcefn list_vocabularies<'life0, 'async_trait>(
&'life0 self,
input: ListVocabulariesRequest
) -> Pin<Box<dyn Future<Output = Result<ListVocabulariesResponse, RusotoError<ListVocabulariesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_vocabularies<'life0, 'async_trait>(
&'life0 self,
input: ListVocabulariesRequest
) -> Pin<Box<dyn Future<Output = Result<ListVocabulariesResponse, RusotoError<ListVocabulariesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
sourcefn list_vocabulary_filters<'life0, 'async_trait>(
&'life0 self,
input: ListVocabularyFiltersRequest
) -> Pin<Box<dyn Future<Output = Result<ListVocabularyFiltersResponse, RusotoError<ListVocabularyFiltersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_vocabulary_filters<'life0, 'async_trait>(
&'life0 self,
input: ListVocabularyFiltersRequest
) -> Pin<Box<dyn Future<Output = Result<ListVocabularyFiltersResponse, RusotoError<ListVocabularyFiltersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about vocabulary filters.
sourcefn start_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: StartMedicalTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartMedicalTranscriptionJobResponse, RusotoError<StartMedicalTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: StartMedicalTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartMedicalTranscriptionJobResponse, RusotoError<StartMedicalTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Starts a batch job to transcribe medical speech to text.
sourcefn start_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: StartTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartTranscriptionJobResponse, RusotoError<StartTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: StartTranscriptionJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartTranscriptionJobResponse, RusotoError<StartTranscriptionJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Starts an asynchronous job to transcribe speech to text.
sourcefn update_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: UpdateMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateMedicalVocabularyResponse, RusotoError<UpdateMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: UpdateMedicalVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateMedicalVocabularyResponse, RusotoError<UpdateMedicalVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a vocabulary with new values that you provide in a different text file from the one you used to create the vocabulary. The UpdateMedicalVocabulary
operation overwrites all of the existing information with the values that you provide in the request.
sourcefn update_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: UpdateVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateVocabularyResponse, RusotoError<UpdateVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: UpdateVocabularyRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateVocabularyResponse, RusotoError<UpdateVocabularyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: UpdateVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateVocabularyFilterResponse, RusotoError<UpdateVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: UpdateVocabularyFilterRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateVocabularyFilterResponse, RusotoError<UpdateVocabularyFilterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a vocabulary filter with a new list of filtered words.
Auto Trait Implementations
impl !RefUnwindSafe for TranscribeClient
impl Send for TranscribeClient
impl Sync for TranscribeClient
impl Unpin for TranscribeClient
impl !UnwindSafe for TranscribeClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more