@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonTranscribeAsyncClient extends AmazonTranscribeClient implements AmazonTranscribeAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Operations and objects for transcribing speech to text.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createVocabulary, deleteTranscriptionJob, deleteVocabulary, getCachedResponseMetadata, getTranscriptionJob, getVocabulary, listTranscriptionJobs, listVocabularies, startTranscriptionJob, updateVocabulary
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createVocabulary, deleteTranscriptionJob, deleteVocabulary, getCachedResponseMetadata, getTranscriptionJob, getVocabulary, listTranscriptionJobs, listVocabularies, startTranscriptionJob, updateVocabulary
public static AmazonTranscribeAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateVocabularyResult> createVocabularyAsync(CreateVocabularyRequest request)
AmazonTranscribeAsync
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
createVocabularyAsync
in interface AmazonTranscribeAsync
public Future<CreateVocabularyResult> createVocabularyAsync(CreateVocabularyRequest request, AsyncHandler<CreateVocabularyRequest,CreateVocabularyResult> asyncHandler)
AmazonTranscribeAsync
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
createVocabularyAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTranscriptionJobResult> deleteTranscriptionJobAsync(DeleteTranscriptionJobRequest request)
AmazonTranscribeAsync
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
deleteTranscriptionJobAsync
in interface AmazonTranscribeAsync
public Future<DeleteTranscriptionJobResult> deleteTranscriptionJobAsync(DeleteTranscriptionJobRequest request, AsyncHandler<DeleteTranscriptionJobRequest,DeleteTranscriptionJobResult> asyncHandler)
AmazonTranscribeAsync
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
deleteTranscriptionJobAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteVocabularyResult> deleteVocabularyAsync(DeleteVocabularyRequest request)
AmazonTranscribeAsync
Deletes a vocabulary from Amazon Transcribe.
deleteVocabularyAsync
in interface AmazonTranscribeAsync
public Future<DeleteVocabularyResult> deleteVocabularyAsync(DeleteVocabularyRequest request, AsyncHandler<DeleteVocabularyRequest,DeleteVocabularyResult> asyncHandler)
AmazonTranscribeAsync
Deletes a vocabulary from Amazon Transcribe.
deleteVocabularyAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTranscriptionJobResult> getTranscriptionJobAsync(GetTranscriptionJobRequest request)
AmazonTranscribeAsync
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 TranscriptionFileUri
field.
getTranscriptionJobAsync
in interface AmazonTranscribeAsync
public Future<GetTranscriptionJobResult> getTranscriptionJobAsync(GetTranscriptionJobRequest request, AsyncHandler<GetTranscriptionJobRequest,GetTranscriptionJobResult> asyncHandler)
AmazonTranscribeAsync
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 TranscriptionFileUri
field.
getTranscriptionJobAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetVocabularyResult> getVocabularyAsync(GetVocabularyRequest request)
AmazonTranscribeAsync
Gets information about a vocabulary.
getVocabularyAsync
in interface AmazonTranscribeAsync
public Future<GetVocabularyResult> getVocabularyAsync(GetVocabularyRequest request, AsyncHandler<GetVocabularyRequest,GetVocabularyResult> asyncHandler)
AmazonTranscribeAsync
Gets information about a vocabulary.
getVocabularyAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTranscriptionJobsResult> listTranscriptionJobsAsync(ListTranscriptionJobsRequest request)
AmazonTranscribeAsync
Lists transcription jobs with the specified status.
listTranscriptionJobsAsync
in interface AmazonTranscribeAsync
public Future<ListTranscriptionJobsResult> listTranscriptionJobsAsync(ListTranscriptionJobsRequest request, AsyncHandler<ListTranscriptionJobsRequest,ListTranscriptionJobsResult> asyncHandler)
AmazonTranscribeAsync
Lists transcription jobs with the specified status.
listTranscriptionJobsAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListVocabulariesResult> listVocabulariesAsync(ListVocabulariesRequest request)
AmazonTranscribeAsync
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
listVocabulariesAsync
in interface AmazonTranscribeAsync
public Future<ListVocabulariesResult> listVocabulariesAsync(ListVocabulariesRequest request, AsyncHandler<ListVocabulariesRequest,ListVocabulariesResult> asyncHandler)
AmazonTranscribeAsync
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
listVocabulariesAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartTranscriptionJobResult> startTranscriptionJobAsync(StartTranscriptionJobRequest request)
AmazonTranscribeAsync
Starts an asynchronous job to transcribe speech to text.
startTranscriptionJobAsync
in interface AmazonTranscribeAsync
public Future<StartTranscriptionJobResult> startTranscriptionJobAsync(StartTranscriptionJobRequest request, AsyncHandler<StartTranscriptionJobRequest,StartTranscriptionJobResult> asyncHandler)
AmazonTranscribeAsync
Starts an asynchronous job to transcribe speech to text.
startTranscriptionJobAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateVocabularyResult> updateVocabularyAsync(UpdateVocabularyRequest request)
AmazonTranscribeAsync
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.
updateVocabularyAsync
in interface AmazonTranscribeAsync
public Future<UpdateVocabularyResult> updateVocabularyAsync(UpdateVocabularyRequest request, AsyncHandler<UpdateVocabularyRequest,UpdateVocabularyResult> asyncHandler)
AmazonTranscribeAsync
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.
updateVocabularyAsync
in interface AmazonTranscribeAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonTranscribe
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.