@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_METRIC
ENDPOINT_PREFIX
batchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, builder, describeDominantLanguageDetectionJob, describeEntitiesDetectionJob, describeKeyPhrasesDetectionJob, describeSentimentDetectionJob, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectSentiment, detectSyntax, getCachedResponseMetadata, listDominantLanguageDetectionJobs, listEntitiesDetectionJobs, listKeyPhrasesDetectionJobs, listSentimentDetectionJobs, listTopicsDetectionJobs, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startKeyPhrasesDetectionJob, startSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopKeyPhrasesDetectionJob, stopSentimentDetectionJob
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, 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
batchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, describeDominantLanguageDetectionJob, describeEntitiesDetectionJob, describeKeyPhrasesDetectionJob, describeSentimentDetectionJob, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectSentiment, detectSyntax, getCachedResponseMetadata, listDominantLanguageDetectionJobs, listEntitiesDetectionJobs, listKeyPhrasesDetectionJobs, listSentimentDetectionJobs, listTopicsDetectionJobs, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startKeyPhrasesDetectionJob, startSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopKeyPhrasesDetectionJob, stopSentimentDetectionJob
public static AmazonComprehendAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request)
AmazonComprehendAsync
Determines 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 AmazonComprehendAsync
public Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request, AsyncHandler<BatchDetectDominantLanguageRequest,BatchDetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsync
Determines 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 AmazonComprehendAsync
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<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request)
AmazonComprehendAsync
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities
batchDetectEntitiesAsync
in interface AmazonComprehendAsync
public Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request, AsyncHandler<BatchDetectEntitiesRequest,BatchDetectEntitiesResult> asyncHandler)
AmazonComprehendAsync
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities
batchDetectEntitiesAsync
in interface AmazonComprehendAsync
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<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request)
AmazonComprehendAsync
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync
in interface AmazonComprehendAsync
public Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request, AsyncHandler<BatchDetectKeyPhrasesRequest,BatchDetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsync
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync
in interface AmazonComprehendAsync
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<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 AmazonComprehendAsync
public 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 AmazonComprehendAsync
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<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest request)
AmazonComprehendAsync
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
batchDetectSyntaxAsync
in interface AmazonComprehendAsync
public Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest request, AsyncHandler<BatchDetectSyntaxRequest,BatchDetectSyntaxResult> asyncHandler)
AmazonComprehendAsync
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
batchDetectSyntaxAsync
in interface AmazonComprehendAsync
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<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest request, AsyncHandler<DescribeDominantLanguageDetectionJobRequest,DescribeDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
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<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest request, AsyncHandler<DescribeEntitiesDetectionJobRequest,DescribeEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
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<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest request, AsyncHandler<DescribeKeyPhrasesDetectionJobRequest,DescribeKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
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<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest request, AsyncHandler<DescribeSentimentDetectionJobRequest,DescribeSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync
in interface AmazonComprehendAsync
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<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request, AsyncHandler<DescribeTopicsDetectionJobRequest,DescribeTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync
in interface AmazonComprehendAsync
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<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request)
AmazonComprehendAsync
Determines 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 AmazonComprehendAsync
public Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request, AsyncHandler<DetectDominantLanguageRequest,DetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsync
Determines 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 AmazonComprehendAsync
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<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request)
AmazonComprehendAsync
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesAsync
in interface AmazonComprehendAsync
public Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request, AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
AmazonComprehendAsync
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesAsync
in interface AmazonComprehendAsync
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<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request)
AmazonComprehendAsync
Detects the key noun phrases found in the text.
detectKeyPhrasesAsync
in interface AmazonComprehendAsync
public Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request, AsyncHandler<DetectKeyPhrasesRequest,DetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsync
Detects the key noun phrases found in the text.
detectKeyPhrasesAsync
in interface AmazonComprehendAsync
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<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
,
MIXED
, or NEGATIVE
).
detectSentimentAsync
in interface AmazonComprehendAsync
public 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 AmazonComprehendAsync
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<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest request)
AmazonComprehendAsync
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxAsync
in interface AmazonComprehendAsync
public Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest request, AsyncHandler<DetectSyntaxRequest,DetectSyntaxResult> asyncHandler)
AmazonComprehendAsync
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxAsync
in interface AmazonComprehendAsync
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<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest request, AsyncHandler<ListDominantLanguageDetectionJobsRequest,ListDominantLanguageDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync
in interface AmazonComprehendAsync
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<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest request, AsyncHandler<ListEntitiesDetectionJobsRequest,ListEntitiesDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
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<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest request)
AmazonComprehendAsync
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest request, AsyncHandler<ListKeyPhrasesDetectionJobsRequest,ListKeyPhrasesDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync
in interface AmazonComprehendAsync
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<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest request, AsyncHandler<ListSentimentDetectionJobsRequest,ListSentimentDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync
in interface AmazonComprehendAsync
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<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request, AsyncHandler<ListTopicsDetectionJobsRequest,ListTopicsDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync
in interface AmazonComprehendAsync
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<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest request, AsyncHandler<StartDominantLanguageDetectionJobRequest,StartDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
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<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
startEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest request, AsyncHandler<StartEntitiesDetectionJobRequest,StartEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
startEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
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<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest request, AsyncHandler<StartKeyPhrasesDetectionJobRequest,StartKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
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<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.
startSentimentDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest request, AsyncHandler<StartSentimentDetectionJobRequest,StartSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.
startSentimentDetectionJobAsync
in interface AmazonComprehendAsync
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<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 AmazonComprehendAsync
public 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 AmazonComprehendAsync
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<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest request)
AmazonComprehendAsync
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest request, AsyncHandler<StopDominantLanguageDetectionJobRequest,StopDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
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<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest request, AsyncHandler<StopEntitiesDetectionJobRequest,StopEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
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<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsync
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest request, AsyncHandler<StopKeyPhrasesDetectionJobRequest,StopKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
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<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest request)
AmazonComprehendAsync
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is be stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopSentimentDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest request, AsyncHandler<StopSentimentDetectionJobRequest,StopSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is be stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopSentimentDetectionJobAsync
in interface AmazonComprehendAsync
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 AmazonComprehend
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.