pub struct TranscribeClient { /* private fields */ }
Expand description
A client for the Amazon Transcribe Service API.
Implementations§
Source§impl 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,
) -> TranscribeClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> TranscribeClient
Trait Implementations§
Source§impl Clone for TranscribeClient
impl Clone for TranscribeClient
Source§fn clone(&self) -> TranscribeClient
fn clone(&self) -> TranscribeClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Transcribe for TranscribeClient
impl Transcribe for TranscribeClient
Source§fn create_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: CreateMedicalVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateMedicalVocabularyResponse, RusotoError<CreateMedicalVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Creates a new custom vocabulary that you can use to change how Amazon Transcribe Medical transcribes your audio file.
Source§fn create_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: CreateVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateVocabularyResponse, RusotoError<CreateVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
Source§fn create_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: CreateVocabularyFilterRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateVocabularyFilterResponse, RusotoError<CreateVocabularyFilterError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: '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.
Source§fn delete_medical_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: DeleteMedicalTranscriptionJobRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteMedicalTranscriptionJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Deletes a transcription job generated by Amazon Transcribe Medical and any related information.
Source§fn delete_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteMedicalVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteMedicalVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Deletes a vocabulary from Amazon Transcribe Medical.
Source§fn delete_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: DeleteTranscriptionJobRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteTranscriptionJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
Source§fn delete_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes a vocabulary from Amazon Transcribe.
Source§fn delete_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: DeleteVocabularyFilterRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteVocabularyFilterError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Removes a vocabulary filter.
Source§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
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: '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.
Source§fn get_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: GetMedicalVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<GetMedicalVocabularyResponse, RusotoError<GetMedicalVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Retrieve information about a medical vocabulary.
Source§fn get_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: GetTranscriptionJobRequest,
) -> Pin<Box<dyn Future<Output = Result<GetTranscriptionJobResponse, RusotoError<GetTranscriptionJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: '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
.
Source§fn get_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: GetVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<GetVocabularyResponse, RusotoError<GetVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Gets information about a vocabulary.
Source§fn get_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: GetVocabularyFilterRequest,
) -> Pin<Box<dyn Future<Output = Result<GetVocabularyFilterResponse, RusotoError<GetVocabularyFilterError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Returns information about a vocabulary filter.
Source§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
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Lists medical transcription jobs with a specified status or substring that matches their names.
Source§fn list_medical_vocabularies<'life0, 'async_trait>(
&'life0 self,
input: ListMedicalVocabulariesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListMedicalVocabulariesResponse, RusotoError<ListMedicalVocabulariesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Returns a list of vocabularies that match the specified criteria. You get the entire list of vocabularies if you don't enter a value in any of the request parameters.
Source§fn list_transcription_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListTranscriptionJobsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListTranscriptionJobsResponse, RusotoError<ListTranscriptionJobsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Lists transcription jobs with the specified status.
Source§fn list_vocabularies<'life0, 'async_trait>(
&'life0 self,
input: ListVocabulariesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListVocabulariesResponse, RusotoError<ListVocabulariesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
Source§fn list_vocabulary_filters<'life0, 'async_trait>(
&'life0 self,
input: ListVocabularyFiltersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListVocabularyFiltersResponse, RusotoError<ListVocabularyFiltersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Gets information about vocabulary filters.
Source§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
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Start a batch job to transcribe medical speech to text.
Source§fn start_transcription_job<'life0, 'async_trait>(
&'life0 self,
input: StartTranscriptionJobRequest,
) -> Pin<Box<dyn Future<Output = Result<StartTranscriptionJobResponse, RusotoError<StartTranscriptionJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Starts an asynchronous job to transcribe speech to text.
Source§fn update_medical_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: UpdateMedicalVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateMedicalVocabularyResponse, RusotoError<UpdateMedicalVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Updates an existing vocabulary with new values in a different text file. The UpdateMedicalVocabulary
operation overwrites all of the existing information with the values that you provide in the request.
Source§fn update_vocabulary<'life0, 'async_trait>(
&'life0 self,
input: UpdateVocabularyRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateVocabularyResponse, RusotoError<UpdateVocabularyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: '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.
Source§fn update_vocabulary_filter<'life0, 'async_trait>(
&'life0 self,
input: UpdateVocabularyFilterRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateVocabularyFilterResponse, RusotoError<UpdateVocabularyFilterError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Updates a vocabulary filter with a new list of filtered words.