@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonComprehendAsyncClient extends AmazonComprehendClient implements AmazonComprehendAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Amazon Comprehend is an AWS service for gaining insight into the content of documents. Use these actions to determine the topics contained in your documents, the topics they discuss, the predominant sentiment expressed in them, the predominant language used, and more.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, builder, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectSentiment, getCachedResponseMetadata, listTopicsDetectionJobs, startTopicsDetectionJobaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectSentiment, getCachedResponseMetadata, listTopicsDetectionJobs, startTopicsDetectionJobpublic static AmazonComprehendAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request)
AmazonComprehendAsyncDetermines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request, AsyncHandler<BatchDetectDominantLanguageRequest,BatchDetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsyncDetermines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageAsync in interface AmazonComprehendAsyncasyncHandler - 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<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request)
AmazonComprehendAsyncInspects the text of a batch of documents and returns information about them. For more information about entities, see how-entities
batchDetectEntitiesAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request, AsyncHandler<BatchDetectEntitiesRequest,BatchDetectEntitiesResult> asyncHandler)
AmazonComprehendAsyncInspects the text of a batch of documents and returns information about them. For more information about entities, see how-entities
batchDetectEntitiesAsync in interface AmazonComprehendAsyncasyncHandler - 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<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request)
AmazonComprehendAsyncDetects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request, AsyncHandler<BatchDetectKeyPhrasesRequest,BatchDetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsyncDetects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync in interface AmazonComprehendAsyncasyncHandler - 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<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest request)
AmazonComprehendAsync
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE,
NEUTRAL, MIXED, or NEGATIVE, in each one.
batchDetectSentimentAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest request, AsyncHandler<BatchDetectSentimentRequest,BatchDetectSentimentResult> asyncHandler)
AmazonComprehendAsync
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE,
NEUTRAL, MIXED, or NEGATIVE, in each one.
batchDetectSentimentAsync in interface AmazonComprehendAsyncasyncHandler - 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<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request, AsyncHandler<DescribeTopicsDetectionJobRequest,DescribeTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - 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<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request)
AmazonComprehendAsyncDetermines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageAsync in interface AmazonComprehendAsyncpublic Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request, AsyncHandler<DetectDominantLanguageRequest,DetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsyncDetermines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageAsync in interface AmazonComprehendAsyncasyncHandler - 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<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request)
AmazonComprehendAsyncInspects text for entities, and returns information about them. For more information, about entities, see how-entities.
detectEntitiesAsync in interface AmazonComprehendAsyncpublic Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request, AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
AmazonComprehendAsyncInspects text for entities, and returns information about them. For more information, about entities, see how-entities.
detectEntitiesAsync in interface AmazonComprehendAsyncasyncHandler - 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<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request)
AmazonComprehendAsyncDetects the key noun phrases found in the text.
detectKeyPhrasesAsync in interface AmazonComprehendAsyncpublic Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request, AsyncHandler<DetectKeyPhrasesRequest,DetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsyncDetects the key noun phrases found in the text.
detectKeyPhrasesAsync in interface AmazonComprehendAsyncasyncHandler - 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<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL,
MIXED, or NEGATIVE).
detectSentimentAsync in interface AmazonComprehendAsyncpublic Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request, AsyncHandler<DetectSentimentRequest,DetectSentimentResult> asyncHandler)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL,
MIXED, or NEGATIVE).
detectSentimentAsync in interface AmazonComprehendAsyncasyncHandler - 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<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request, AsyncHandler<ListTopicsDetectionJobsRequest,ListTopicsDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - 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<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the
status of a job.
startTopicsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest request, AsyncHandler<StartTopicsDetectionJobRequest,StartTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the
status of a job.
startTopicsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - 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 AmazonComprehendshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.