Struct TranscribeClient

Source
pub struct TranscribeClient { /* private fields */ }
Expand description

A client for the Amazon Transcribe Service API.

Implementations§

Source§

impl TranscribeClient

Source

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.

Source

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,

Source

pub fn new_with_client(client: Client, region: Region) -> TranscribeClient

Trait Implementations§

Source§

impl Clone for TranscribeClient

Source§

fn clone(&self) -> TranscribeClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

Updates a vocabulary filter with a new list of filtered words.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more