@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, getCachedResponseMetadata, getTranscriptionJob, listTranscriptionJobs, startTranscriptionJob
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, 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
getCachedResponseMetadata, getTranscriptionJob, listTranscriptionJobs, startTranscriptionJob
public static AmazonTranscribeAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetTranscriptionJobResult> getTranscriptionJobAsync(GetTranscriptionJobRequest request)
AmazonTranscribeAsync
Returns information about a transcription job. To see the status of the job, check the Status
field.
If the status is COMPLETE
, 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 Status
field.
If the status is COMPLETE
, 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<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<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 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.