public class AmazonComprehendAsyncClient extends AmazonComprehendClient implements AmazonComprehendAsync
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
Constructor and Description |
---|
AmazonComprehendAsyncClient()
Deprecated.
|
AmazonComprehendAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials.
|
AmazonComprehendAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials, executor service,
and client configuration options.
|
AmazonComprehendAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials and executor
service.
|
AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials provider.
|
AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials provider and
client configuration options.
|
AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials provider, executor
service, and client configuration options.
|
AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Comprehend using the specified AWS account credentials provider and
executor service.
|
AmazonComprehendAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<BatchDetectDominantLanguageResult> |
batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest batchDetectDominantLanguageRequest)
Determines the dominant language of the input text for a batch of
documents.
|
java.util.concurrent.Future<BatchDetectDominantLanguageResult> |
batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest batchDetectDominantLanguageRequest,
AsyncHandler<BatchDetectDominantLanguageRequest,BatchDetectDominantLanguageResult> asyncHandler)
Determines the dominant language of the input text for a batch of
documents.
|
java.util.concurrent.Future<BatchDetectEntitiesResult> |
batchDetectEntitiesAsync(BatchDetectEntitiesRequest batchDetectEntitiesRequest)
Inspects the text of a batch of documents for named entities and returns
information about them.
|
java.util.concurrent.Future<BatchDetectEntitiesResult> |
batchDetectEntitiesAsync(BatchDetectEntitiesRequest batchDetectEntitiesRequest,
AsyncHandler<BatchDetectEntitiesRequest,BatchDetectEntitiesResult> asyncHandler)
Inspects the text of a batch of documents for named entities and returns
information about them.
|
java.util.concurrent.Future<BatchDetectKeyPhrasesResult> |
batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest batchDetectKeyPhrasesRequest)
Detects the key noun phrases found in a batch of documents.
|
java.util.concurrent.Future<BatchDetectKeyPhrasesResult> |
batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest batchDetectKeyPhrasesRequest,
AsyncHandler<BatchDetectKeyPhrasesRequest,BatchDetectKeyPhrasesResult> asyncHandler)
Detects the key noun phrases found in a batch of documents.
|
java.util.concurrent.Future<BatchDetectSentimentResult> |
batchDetectSentimentAsync(BatchDetectSentimentRequest batchDetectSentimentRequest)
Inspects a batch of documents and returns an inference of the prevailing
sentiment,
POSITIVE , NEUTRAL ,
MIXED , or NEGATIVE , in each one. |
java.util.concurrent.Future<BatchDetectSentimentResult> |
batchDetectSentimentAsync(BatchDetectSentimentRequest batchDetectSentimentRequest,
AsyncHandler<BatchDetectSentimentRequest,BatchDetectSentimentResult> asyncHandler)
Inspects a batch of documents and returns an inference of the prevailing
sentiment,
POSITIVE , NEUTRAL ,
MIXED , or NEGATIVE , in each one. |
java.util.concurrent.Future<BatchDetectSyntaxResult> |
batchDetectSyntaxAsync(BatchDetectSyntaxRequest batchDetectSyntaxRequest)
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.
|
java.util.concurrent.Future<BatchDetectSyntaxResult> |
batchDetectSyntaxAsync(BatchDetectSyntaxRequest batchDetectSyntaxRequest,
AsyncHandler<BatchDetectSyntaxRequest,BatchDetectSyntaxResult> asyncHandler)
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.
|
java.util.concurrent.Future<ClassifyDocumentResult> |
classifyDocumentAsync(ClassifyDocumentRequest classifyDocumentRequest)
Creates a new document classification request to analyze a single
document in real-time, using a previously created and trained custom
model and an endpoint.
|
java.util.concurrent.Future<ClassifyDocumentResult> |
classifyDocumentAsync(ClassifyDocumentRequest classifyDocumentRequest,
AsyncHandler<ClassifyDocumentRequest,ClassifyDocumentResult> asyncHandler)
Creates a new document classification request to analyze a single
document in real-time, using a previously created and trained custom
model and an endpoint.
|
java.util.concurrent.Future<CreateDocumentClassifierResult> |
createDocumentClassifierAsync(CreateDocumentClassifierRequest createDocumentClassifierRequest)
Creates a new document classifier that you can use to categorize
documents.
|
java.util.concurrent.Future<CreateDocumentClassifierResult> |
createDocumentClassifierAsync(CreateDocumentClassifierRequest createDocumentClassifierRequest,
AsyncHandler<CreateDocumentClassifierRequest,CreateDocumentClassifierResult> asyncHandler)
Creates a new document classifier that you can use to categorize
documents.
|
java.util.concurrent.Future<CreateEndpointResult> |
createEndpointAsync(CreateEndpointRequest createEndpointRequest)
Creates a model-specific endpoint for synchronous inference for a
previously trained custom model
|
java.util.concurrent.Future<CreateEndpointResult> |
createEndpointAsync(CreateEndpointRequest createEndpointRequest,
AsyncHandler<CreateEndpointRequest,CreateEndpointResult> asyncHandler)
Creates a model-specific endpoint for synchronous inference for a
previously trained custom model
|
java.util.concurrent.Future<CreateEntityRecognizerResult> |
createEntityRecognizerAsync(CreateEntityRecognizerRequest createEntityRecognizerRequest)
Creates an entity recognizer using submitted files.
|
java.util.concurrent.Future<CreateEntityRecognizerResult> |
createEntityRecognizerAsync(CreateEntityRecognizerRequest createEntityRecognizerRequest,
AsyncHandler<CreateEntityRecognizerRequest,CreateEntityRecognizerResult> asyncHandler)
Creates an entity recognizer using submitted files.
|
java.util.concurrent.Future<DeleteDocumentClassifierResult> |
deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest deleteDocumentClassifierRequest)
Deletes a previously created document classifier
|
java.util.concurrent.Future<DeleteDocumentClassifierResult> |
deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest deleteDocumentClassifierRequest,
AsyncHandler<DeleteDocumentClassifierRequest,DeleteDocumentClassifierResult> asyncHandler)
Deletes a previously created document classifier
|
java.util.concurrent.Future<DeleteEndpointResult> |
deleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest)
Deletes a model-specific endpoint for a previously-trained custom model.
|
java.util.concurrent.Future<DeleteEndpointResult> |
deleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest,
AsyncHandler<DeleteEndpointRequest,DeleteEndpointResult> asyncHandler)
Deletes a model-specific endpoint for a previously-trained custom model.
|
java.util.concurrent.Future<DeleteEntityRecognizerResult> |
deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest deleteEntityRecognizerRequest)
Deletes an entity recognizer.
|
java.util.concurrent.Future<DeleteEntityRecognizerResult> |
deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest deleteEntityRecognizerRequest,
AsyncHandler<DeleteEntityRecognizerRequest,DeleteEntityRecognizerResult> asyncHandler)
Deletes an entity recognizer.
|
java.util.concurrent.Future<DescribeDocumentClassificationJobResult> |
describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest describeDocumentClassificationJobRequest)
Gets the properties associated with a document classification job.
|
java.util.concurrent.Future<DescribeDocumentClassificationJobResult> |
describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest describeDocumentClassificationJobRequest,
AsyncHandler<DescribeDocumentClassificationJobRequest,DescribeDocumentClassificationJobResult> asyncHandler)
Gets the properties associated with a document classification job.
|
java.util.concurrent.Future<DescribeDocumentClassifierResult> |
describeDocumentClassifierAsync(DescribeDocumentClassifierRequest describeDocumentClassifierRequest)
Gets the properties associated with a document classifier.
|
java.util.concurrent.Future<DescribeDocumentClassifierResult> |
describeDocumentClassifierAsync(DescribeDocumentClassifierRequest describeDocumentClassifierRequest,
AsyncHandler<DescribeDocumentClassifierRequest,DescribeDocumentClassifierResult> asyncHandler)
Gets the properties associated with a document classifier.
|
java.util.concurrent.Future<DescribeDominantLanguageDetectionJobResult> |
describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest describeDominantLanguageDetectionJobRequest)
Gets the properties associated with a dominant language detection job.
|
java.util.concurrent.Future<DescribeDominantLanguageDetectionJobResult> |
describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest describeDominantLanguageDetectionJobRequest,
AsyncHandler<DescribeDominantLanguageDetectionJobRequest,DescribeDominantLanguageDetectionJobResult> asyncHandler)
Gets the properties associated with a dominant language detection job.
|
java.util.concurrent.Future<DescribeEndpointResult> |
describeEndpointAsync(DescribeEndpointRequest describeEndpointRequest)
Gets the properties associated with a specific endpoint.
|
java.util.concurrent.Future<DescribeEndpointResult> |
describeEndpointAsync(DescribeEndpointRequest describeEndpointRequest,
AsyncHandler<DescribeEndpointRequest,DescribeEndpointResult> asyncHandler)
Gets the properties associated with a specific endpoint.
|
java.util.concurrent.Future<DescribeEntitiesDetectionJobResult> |
describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest describeEntitiesDetectionJobRequest)
Gets the properties associated with an entities detection job.
|
java.util.concurrent.Future<DescribeEntitiesDetectionJobResult> |
describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest describeEntitiesDetectionJobRequest,
AsyncHandler<DescribeEntitiesDetectionJobRequest,DescribeEntitiesDetectionJobResult> asyncHandler)
Gets the properties associated with an entities detection job.
|
java.util.concurrent.Future<DescribeEntityRecognizerResult> |
describeEntityRecognizerAsync(DescribeEntityRecognizerRequest describeEntityRecognizerRequest)
Provides details about an entity recognizer including status, S3 buckets
containing training data, recognizer metadata, metrics, and so on.
|
java.util.concurrent.Future<DescribeEntityRecognizerResult> |
describeEntityRecognizerAsync(DescribeEntityRecognizerRequest describeEntityRecognizerRequest,
AsyncHandler<DescribeEntityRecognizerRequest,DescribeEntityRecognizerResult> asyncHandler)
Provides details about an entity recognizer including status, S3 buckets
containing training data, recognizer metadata, metrics, and so on.
|
java.util.concurrent.Future<DescribeEventsDetectionJobResult> |
describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest describeEventsDetectionJobRequest)
Gets the status and details of an events detection job.
|
java.util.concurrent.Future<DescribeEventsDetectionJobResult> |
describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest describeEventsDetectionJobRequest,
AsyncHandler<DescribeEventsDetectionJobRequest,DescribeEventsDetectionJobResult> asyncHandler)
Gets the status and details of an events detection job.
|
java.util.concurrent.Future<DescribeKeyPhrasesDetectionJobResult> |
describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest describeKeyPhrasesDetectionJobRequest)
Gets the properties associated with a key phrases detection job.
|
java.util.concurrent.Future<DescribeKeyPhrasesDetectionJobResult> |
describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest describeKeyPhrasesDetectionJobRequest,
AsyncHandler<DescribeKeyPhrasesDetectionJobRequest,DescribeKeyPhrasesDetectionJobResult> asyncHandler)
Gets the properties associated with a key phrases detection job.
|
java.util.concurrent.Future<DescribePiiEntitiesDetectionJobResult> |
describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest describePiiEntitiesDetectionJobRequest)
Gets the properties associated with a PII entities detection job.
|
java.util.concurrent.Future<DescribePiiEntitiesDetectionJobResult> |
describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest describePiiEntitiesDetectionJobRequest,
AsyncHandler<DescribePiiEntitiesDetectionJobRequest,DescribePiiEntitiesDetectionJobResult> asyncHandler)
Gets the properties associated with a PII entities detection job.
|
java.util.concurrent.Future<DescribeSentimentDetectionJobResult> |
describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest describeSentimentDetectionJobRequest)
Gets the properties associated with a sentiment detection job.
|
java.util.concurrent.Future<DescribeSentimentDetectionJobResult> |
describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest describeSentimentDetectionJobRequest,
AsyncHandler<DescribeSentimentDetectionJobRequest,DescribeSentimentDetectionJobResult> asyncHandler)
Gets the properties associated with a sentiment detection job.
|
java.util.concurrent.Future<DescribeTopicsDetectionJobResult> |
describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest describeTopicsDetectionJobRequest)
Gets the properties associated with a topic detection job.
|
java.util.concurrent.Future<DescribeTopicsDetectionJobResult> |
describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest describeTopicsDetectionJobRequest,
AsyncHandler<DescribeTopicsDetectionJobRequest,DescribeTopicsDetectionJobResult> asyncHandler)
Gets the properties associated with a topic detection job.
|
java.util.concurrent.Future<DetectDominantLanguageResult> |
detectDominantLanguageAsync(DetectDominantLanguageRequest detectDominantLanguageRequest)
Determines the dominant language of the input text.
|
java.util.concurrent.Future<DetectDominantLanguageResult> |
detectDominantLanguageAsync(DetectDominantLanguageRequest detectDominantLanguageRequest,
AsyncHandler<DetectDominantLanguageRequest,DetectDominantLanguageResult> asyncHandler)
Determines the dominant language of the input text.
|
java.util.concurrent.Future<DetectEntitiesResult> |
detectEntitiesAsync(DetectEntitiesRequest detectEntitiesRequest)
Inspects text for named entities, and returns information about them.
|
java.util.concurrent.Future<DetectEntitiesResult> |
detectEntitiesAsync(DetectEntitiesRequest detectEntitiesRequest,
AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
Inspects text for named entities, and returns information about them.
|
java.util.concurrent.Future<DetectKeyPhrasesResult> |
detectKeyPhrasesAsync(DetectKeyPhrasesRequest detectKeyPhrasesRequest)
Detects the key noun phrases found in the text.
|
java.util.concurrent.Future<DetectKeyPhrasesResult> |
detectKeyPhrasesAsync(DetectKeyPhrasesRequest detectKeyPhrasesRequest,
AsyncHandler<DetectKeyPhrasesRequest,DetectKeyPhrasesResult> asyncHandler)
Detects the key noun phrases found in the text.
|
java.util.concurrent.Future<DetectPiiEntitiesResult> |
detectPiiEntitiesAsync(DetectPiiEntitiesRequest detectPiiEntitiesRequest)
Inspects the input text for entities that contain personally identifiable
information (PII) and returns information about them.
|
java.util.concurrent.Future<DetectPiiEntitiesResult> |
detectPiiEntitiesAsync(DetectPiiEntitiesRequest detectPiiEntitiesRequest,
AsyncHandler<DetectPiiEntitiesRequest,DetectPiiEntitiesResult> asyncHandler)
Inspects the input text for entities that contain personally identifiable
information (PII) and returns information about them.
|
java.util.concurrent.Future<DetectSentimentResult> |
detectSentimentAsync(DetectSentimentRequest detectSentimentRequest)
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE , NEUTRAL , MIXED , or
NEGATIVE ). |
java.util.concurrent.Future<DetectSentimentResult> |
detectSentimentAsync(DetectSentimentRequest detectSentimentRequest,
AsyncHandler<DetectSentimentRequest,DetectSentimentResult> asyncHandler)
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE , NEUTRAL , MIXED , or
NEGATIVE ). |
java.util.concurrent.Future<DetectSyntaxResult> |
detectSyntaxAsync(DetectSyntaxRequest detectSyntaxRequest)
Inspects text for syntax and the part of speech of words in the document.
|
java.util.concurrent.Future<DetectSyntaxResult> |
detectSyntaxAsync(DetectSyntaxRequest detectSyntaxRequest,
AsyncHandler<DetectSyntaxRequest,DetectSyntaxResult> asyncHandler)
Inspects text for syntax and the part of speech of words in the document.
|
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
java.util.concurrent.Future<ListDocumentClassificationJobsResult> |
listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest listDocumentClassificationJobsRequest)
Gets a list of the documentation classification jobs that you have
submitted.
|
java.util.concurrent.Future<ListDocumentClassificationJobsResult> |
listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest listDocumentClassificationJobsRequest,
AsyncHandler<ListDocumentClassificationJobsRequest,ListDocumentClassificationJobsResult> asyncHandler)
Gets a list of the documentation classification jobs that you have
submitted.
|
java.util.concurrent.Future<ListDocumentClassifiersResult> |
listDocumentClassifiersAsync(ListDocumentClassifiersRequest listDocumentClassifiersRequest)
Gets a list of the document classifiers that you have created.
|
java.util.concurrent.Future<ListDocumentClassifiersResult> |
listDocumentClassifiersAsync(ListDocumentClassifiersRequest listDocumentClassifiersRequest,
AsyncHandler<ListDocumentClassifiersRequest,ListDocumentClassifiersResult> asyncHandler)
Gets a list of the document classifiers that you have created.
|
java.util.concurrent.Future<ListDominantLanguageDetectionJobsResult> |
listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have
submitted.
|
java.util.concurrent.Future<ListDominantLanguageDetectionJobsResult> |
listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest,
AsyncHandler<ListDominantLanguageDetectionJobsRequest,ListDominantLanguageDetectionJobsResult> asyncHandler)
Gets a list of the dominant language detection jobs that you have
submitted.
|
java.util.concurrent.Future<ListEndpointsResult> |
listEndpointsAsync(ListEndpointsRequest listEndpointsRequest)
Gets a list of all existing endpoints that you've created.
|
java.util.concurrent.Future<ListEndpointsResult> |
listEndpointsAsync(ListEndpointsRequest listEndpointsRequest,
AsyncHandler<ListEndpointsRequest,ListEndpointsResult> asyncHandler)
Gets a list of all existing endpoints that you've created.
|
java.util.concurrent.Future<ListEntitiesDetectionJobsResult> |
listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
|
java.util.concurrent.Future<ListEntitiesDetectionJobsResult> |
listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest,
AsyncHandler<ListEntitiesDetectionJobsRequest,ListEntitiesDetectionJobsResult> asyncHandler)
Gets a list of the entity detection jobs that you have submitted.
|
java.util.concurrent.Future<ListEntityRecognizersResult> |
listEntityRecognizersAsync(ListEntityRecognizersRequest listEntityRecognizersRequest)
Gets a list of the properties of all entity recognizers that you created,
including recognizers currently in training.
|
java.util.concurrent.Future<ListEntityRecognizersResult> |
listEntityRecognizersAsync(ListEntityRecognizersRequest listEntityRecognizersRequest,
AsyncHandler<ListEntityRecognizersRequest,ListEntityRecognizersResult> asyncHandler)
Gets a list of the properties of all entity recognizers that you created,
including recognizers currently in training.
|
java.util.concurrent.Future<ListEventsDetectionJobsResult> |
listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest listEventsDetectionJobsRequest)
Gets a list of the events detection jobs that you have submitted.
|
java.util.concurrent.Future<ListEventsDetectionJobsResult> |
listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest listEventsDetectionJobsRequest,
AsyncHandler<ListEventsDetectionJobsRequest,ListEventsDetectionJobsResult> asyncHandler)
Gets a list of the events detection jobs that you have submitted.
|
java.util.concurrent.Future<ListKeyPhrasesDetectionJobsResult> |
listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
|
java.util.concurrent.Future<ListKeyPhrasesDetectionJobsResult> |
listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest,
AsyncHandler<ListKeyPhrasesDetectionJobsRequest,ListKeyPhrasesDetectionJobsResult> asyncHandler)
Get a list of key phrase detection jobs that you have submitted.
|
java.util.concurrent.Future<ListPiiEntitiesDetectionJobsResult> |
listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest listPiiEntitiesDetectionJobsRequest)
Gets a list of the PII entity detection jobs that you have submitted.
|
java.util.concurrent.Future<ListPiiEntitiesDetectionJobsResult> |
listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest listPiiEntitiesDetectionJobsRequest,
AsyncHandler<ListPiiEntitiesDetectionJobsRequest,ListPiiEntitiesDetectionJobsResult> asyncHandler)
Gets a list of the PII entity detection jobs that you have submitted.
|
java.util.concurrent.Future<ListSentimentDetectionJobsResult> |
listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
|
java.util.concurrent.Future<ListSentimentDetectionJobsResult> |
listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest,
AsyncHandler<ListSentimentDetectionJobsRequest,ListSentimentDetectionJobsResult> asyncHandler)
Gets a list of sentiment detection jobs that you have submitted.
|
java.util.concurrent.Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with a given Amazon Comprehend resource.
|
java.util.concurrent.Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists all tags associated with a given Amazon Comprehend resource.
|
java.util.concurrent.Future<ListTopicsDetectionJobsResult> |
listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
|
java.util.concurrent.Future<ListTopicsDetectionJobsResult> |
listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest,
AsyncHandler<ListTopicsDetectionJobsRequest,ListTopicsDetectionJobsResult> asyncHandler)
Gets a list of the topic detection jobs that you have submitted.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
java.util.concurrent.Future<StartDocumentClassificationJobResult> |
startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest startDocumentClassificationJobRequest)
Starts an asynchronous document classification job.
|
java.util.concurrent.Future<StartDocumentClassificationJobResult> |
startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest startDocumentClassificationJobRequest,
AsyncHandler<StartDocumentClassificationJobRequest,StartDocumentClassificationJobResult> asyncHandler)
Starts an asynchronous document classification job.
|
java.util.concurrent.Future<StartDominantLanguageDetectionJobResult> |
startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest)
Starts an asynchronous dominant language detection job for a collection
of documents.
|
java.util.concurrent.Future<StartDominantLanguageDetectionJobResult> |
startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest,
AsyncHandler<StartDominantLanguageDetectionJobRequest,StartDominantLanguageDetectionJobResult> asyncHandler)
Starts an asynchronous dominant language detection job for a collection
of documents.
|
java.util.concurrent.Future<StartEntitiesDetectionJobResult> |
startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest startEntitiesDetectionJobRequest)
Starts an asynchronous entity detection job for a collection of
documents.
|
java.util.concurrent.Future<StartEntitiesDetectionJobResult> |
startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest startEntitiesDetectionJobRequest,
AsyncHandler<StartEntitiesDetectionJobRequest,StartEntitiesDetectionJobResult> asyncHandler)
Starts an asynchronous entity detection job for a collection of
documents.
|
java.util.concurrent.Future<StartEventsDetectionJobResult> |
startEventsDetectionJobAsync(StartEventsDetectionJobRequest startEventsDetectionJobRequest)
Starts an asynchronous event detection job for a collection of documents.
|
java.util.concurrent.Future<StartEventsDetectionJobResult> |
startEventsDetectionJobAsync(StartEventsDetectionJobRequest startEventsDetectionJobRequest,
AsyncHandler<StartEventsDetectionJobRequest,StartEventsDetectionJobResult> asyncHandler)
Starts an asynchronous event detection job for a collection of documents.
|
java.util.concurrent.Future<StartKeyPhrasesDetectionJobResult> |
startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest startKeyPhrasesDetectionJobRequest)
Starts an asynchronous key phrase detection job for a collection of
documents.
|
java.util.concurrent.Future<StartKeyPhrasesDetectionJobResult> |
startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest startKeyPhrasesDetectionJobRequest,
AsyncHandler<StartKeyPhrasesDetectionJobRequest,StartKeyPhrasesDetectionJobResult> asyncHandler)
Starts an asynchronous key phrase detection job for a collection of
documents.
|
java.util.concurrent.Future<StartPiiEntitiesDetectionJobResult> |
startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest startPiiEntitiesDetectionJobRequest)
Starts an asynchronous PII entity detection job for a collection of
documents.
|
java.util.concurrent.Future<StartPiiEntitiesDetectionJobResult> |
startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest startPiiEntitiesDetectionJobRequest,
AsyncHandler<StartPiiEntitiesDetectionJobRequest,StartPiiEntitiesDetectionJobResult> asyncHandler)
Starts an asynchronous PII entity detection job for a collection of
documents.
|
java.util.concurrent.Future<StartSentimentDetectionJobResult> |
startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest startSentimentDetectionJobRequest)
Starts an asynchronous sentiment detection job for a collection of
documents.
|
java.util.concurrent.Future<StartSentimentDetectionJobResult> |
startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest startSentimentDetectionJobRequest,
AsyncHandler<StartSentimentDetectionJobRequest,StartSentimentDetectionJobResult> asyncHandler)
Starts an asynchronous sentiment detection job for a collection of
documents.
|
java.util.concurrent.Future<StartTopicsDetectionJobResult> |
startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest startTopicsDetectionJobRequest)
Starts an asynchronous topic detection job.
|
java.util.concurrent.Future<StartTopicsDetectionJobResult> |
startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest startTopicsDetectionJobRequest,
AsyncHandler<StartTopicsDetectionJobRequest,StartTopicsDetectionJobResult> asyncHandler)
Starts an asynchronous topic detection job.
|
java.util.concurrent.Future<StopDominantLanguageDetectionJobResult> |
stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest)
Stops a dominant language detection job in progress.
|
java.util.concurrent.Future<StopDominantLanguageDetectionJobResult> |
stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest,
AsyncHandler<StopDominantLanguageDetectionJobRequest,StopDominantLanguageDetectionJobResult> asyncHandler)
Stops a dominant language detection job in progress.
|
java.util.concurrent.Future<StopEntitiesDetectionJobResult> |
stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest stopEntitiesDetectionJobRequest)
Stops an entities detection job in progress.
|
java.util.concurrent.Future<StopEntitiesDetectionJobResult> |
stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest stopEntitiesDetectionJobRequest,
AsyncHandler<StopEntitiesDetectionJobRequest,StopEntitiesDetectionJobResult> asyncHandler)
Stops an entities detection job in progress.
|
java.util.concurrent.Future<StopEventsDetectionJobResult> |
stopEventsDetectionJobAsync(StopEventsDetectionJobRequest stopEventsDetectionJobRequest)
Stops an events detection job in progress.
|
java.util.concurrent.Future<StopEventsDetectionJobResult> |
stopEventsDetectionJobAsync(StopEventsDetectionJobRequest stopEventsDetectionJobRequest,
AsyncHandler<StopEventsDetectionJobRequest,StopEventsDetectionJobResult> asyncHandler)
Stops an events detection job in progress.
|
java.util.concurrent.Future<StopKeyPhrasesDetectionJobResult> |
stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest stopKeyPhrasesDetectionJobRequest)
Stops a key phrases detection job in progress.
|
java.util.concurrent.Future<StopKeyPhrasesDetectionJobResult> |
stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest stopKeyPhrasesDetectionJobRequest,
AsyncHandler<StopKeyPhrasesDetectionJobRequest,StopKeyPhrasesDetectionJobResult> asyncHandler)
Stops a key phrases detection job in progress.
|
java.util.concurrent.Future<StopPiiEntitiesDetectionJobResult> |
stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest stopPiiEntitiesDetectionJobRequest)
Stops a PII entities detection job in progress.
|
java.util.concurrent.Future<StopPiiEntitiesDetectionJobResult> |
stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest stopPiiEntitiesDetectionJobRequest,
AsyncHandler<StopPiiEntitiesDetectionJobRequest,StopPiiEntitiesDetectionJobResult> asyncHandler)
Stops a PII entities detection job in progress.
|
java.util.concurrent.Future<StopSentimentDetectionJobResult> |
stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest)
Stops a sentiment detection job in progress.
|
java.util.concurrent.Future<StopSentimentDetectionJobResult> |
stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest,
AsyncHandler<StopSentimentDetectionJobRequest,StopSentimentDetectionJobResult> asyncHandler)
Stops a sentiment detection job in progress.
|
java.util.concurrent.Future<StopTrainingDocumentClassifierResult> |
stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest stopTrainingDocumentClassifierRequest)
Stops a document classifier training job while in progress.
|
java.util.concurrent.Future<StopTrainingDocumentClassifierResult> |
stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest stopTrainingDocumentClassifierRequest,
AsyncHandler<StopTrainingDocumentClassifierRequest,StopTrainingDocumentClassifierResult> asyncHandler)
Stops a document classifier training job while in progress.
|
java.util.concurrent.Future<StopTrainingEntityRecognizerResult> |
stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest stopTrainingEntityRecognizerRequest)
Stops an entity recognizer training job while in progress.
|
java.util.concurrent.Future<StopTrainingEntityRecognizerResult> |
stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest stopTrainingEntityRecognizerRequest,
AsyncHandler<StopTrainingEntityRecognizerRequest,StopTrainingEntityRecognizerResult> asyncHandler)
Stops an entity recognizer training job while in progress.
|
java.util.concurrent.Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest)
Associates a specific tag with an Amazon Comprehend resource.
|
java.util.concurrent.Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Associates a specific tag with an Amazon Comprehend resource.
|
java.util.concurrent.Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes a specific tag associated with an Amazon Comprehend resource.
|
java.util.concurrent.Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes a specific tag associated with an Amazon Comprehend resource.
|
java.util.concurrent.Future<UpdateEndpointResult> |
updateEndpointAsync(UpdateEndpointRequest updateEndpointRequest)
Updates information about the specified endpoint.
|
java.util.concurrent.Future<UpdateEndpointResult> |
updateEndpointAsync(UpdateEndpointRequest updateEndpointRequest,
AsyncHandler<UpdateEndpointRequest,UpdateEndpointResult> asyncHandler)
Updates information about the specified endpoint.
|
batchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, classifyDocument, createDocumentClassifier, createEndpoint, createEntityRecognizer, deleteDocumentClassifier, deleteEndpoint, deleteEntityRecognizer, describeDocumentClassificationJob, describeDocumentClassifier, describeDominantLanguageDetectionJob, describeEndpoint, describeEntitiesDetectionJob, describeEntityRecognizer, describeEventsDetectionJob, describeKeyPhrasesDetectionJob, describePiiEntitiesDetectionJob, describeSentimentDetectionJob, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectPiiEntities, detectSentiment, detectSyntax, getCachedResponseMetadata, listDocumentClassificationJobs, listDocumentClassifiers, listDominantLanguageDetectionJobs, listEndpoints, listEntitiesDetectionJobs, listEntityRecognizers, listEventsDetectionJobs, listKeyPhrasesDetectionJobs, listPiiEntitiesDetectionJobs, listSentimentDetectionJobs, listTagsForResource, listTopicsDetectionJobs, startDocumentClassificationJob, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startEventsDetectionJob, startKeyPhrasesDetectionJob, startPiiEntitiesDetectionJob, startSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopEventsDetectionJob, stopKeyPhrasesDetectionJob, stopPiiEntitiesDetectionJob, stopSentimentDetectionJob, stopTrainingDocumentClassifier, stopTrainingEntityRecognizer, tagResource, untagResource, updateEndpoint
addRequestHandler, addRequestHandler, getEndpoint, getEndpointPrefix, getRegions, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, classifyDocument, createDocumentClassifier, createEndpoint, createEntityRecognizer, deleteDocumentClassifier, deleteEndpoint, deleteEntityRecognizer, describeDocumentClassificationJob, describeDocumentClassifier, describeDominantLanguageDetectionJob, describeEndpoint, describeEntitiesDetectionJob, describeEntityRecognizer, describeEventsDetectionJob, describeKeyPhrasesDetectionJob, describePiiEntitiesDetectionJob, describeSentimentDetectionJob, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectPiiEntities, detectSentiment, detectSyntax, getCachedResponseMetadata, listDocumentClassificationJobs, listDocumentClassifiers, listDominantLanguageDetectionJobs, listEndpoints, listEntitiesDetectionJobs, listEntityRecognizers, listEventsDetectionJobs, listKeyPhrasesDetectionJobs, listPiiEntitiesDetectionJobs, listSentimentDetectionJobs, listTagsForResource, listTopicsDetectionJobs, setEndpoint, setRegion, startDocumentClassificationJob, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startEventsDetectionJob, startKeyPhrasesDetectionJob, startPiiEntitiesDetectionJob, startSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopEventsDetectionJob, stopKeyPhrasesDetectionJob, stopPiiEntitiesDetectionJob, stopSentimentDetectionJob, stopTrainingDocumentClassifier, stopTrainingEntityRecognizer, tagResource, untagResource, updateEndpoint
@Deprecated public AmazonComprehendAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
@Deprecated public AmazonComprehendAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling
how this client connects to Amazon Comprehend (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AmazonComprehendAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.public AmazonComprehendAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous
requests will be executed.public AmazonComprehendAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry
limit, proxy settings, etc).executorService
- The executor service by which all asynchronous
requests will be executed.public AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.public AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.executorService
- The executor service by which all asynchronous
requests will be executed.public AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration
- Client configuration options (ex: max retry
limit, proxy settings, etc).public AmazonComprehendAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration
- Client configuration options (ex: max retry
limit, proxy settings, etc).executorService
- The executor service by which all asynchronous
requests will be executed.public java.util.concurrent.ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonComprehend
shutdown
in class AmazonWebServiceClient
public java.util.concurrent.Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest batchDetectDominantLanguageRequest) throws AmazonServiceException, AmazonClientException
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
batchDetectDominantLanguageRequest
- InvalidRequestException
TextSizeLimitExceededException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest batchDetectDominantLanguageRequest, AsyncHandler<BatchDetectDominantLanguageRequest,BatchDetectDominantLanguageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
batchDetectDominantLanguageRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest batchDetectEntitiesRequest) throws AmazonServiceException, AmazonClientException
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
batchDetectEntitiesRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest batchDetectEntitiesRequest, AsyncHandler<BatchDetectEntitiesRequest,BatchDetectEntitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
batchDetectEntitiesRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest batchDetectKeyPhrasesRequest) throws AmazonServiceException, AmazonClientException
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync
in interface AmazonComprehendAsync
batchDetectKeyPhrasesRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest batchDetectKeyPhrasesRequest, AsyncHandler<BatchDetectKeyPhrasesRequest,BatchDetectKeyPhrasesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync
in interface AmazonComprehendAsync
batchDetectKeyPhrasesRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest batchDetectSentimentRequest) throws AmazonServiceException, AmazonClientException
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
batchDetectSentimentRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest batchDetectSentimentRequest, AsyncHandler<BatchDetectSentimentRequest,BatchDetectSentimentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
batchDetectSentimentRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest batchDetectSyntaxRequest) throws AmazonServiceException, AmazonClientException
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
batchDetectSyntaxRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest batchDetectSyntaxRequest, AsyncHandler<BatchDetectSyntaxRequest,BatchDetectSyntaxResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
batchDetectSyntaxRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
BatchSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ClassifyDocumentResult> classifyDocumentAsync(ClassifyDocumentRequest classifyDocumentRequest) throws AmazonServiceException, AmazonClientException
Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.
classifyDocumentAsync
in interface AmazonComprehendAsync
classifyDocumentRequest
- InvalidRequestException
ResourceUnavailableException
TextSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ClassifyDocumentResult> classifyDocumentAsync(ClassifyDocumentRequest classifyDocumentRequest, AsyncHandler<ClassifyDocumentRequest,ClassifyDocumentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.
classifyDocumentAsync
in interface AmazonComprehendAsync
classifyDocumentRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceUnavailableException
TextSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<CreateDocumentClassifierResult> createDocumentClassifierAsync(CreateDocumentClassifierRequest createDocumentClassifierRequest) throws AmazonServiceException, AmazonClientException
Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see how-document-classification.
createDocumentClassifierAsync
in interface AmazonComprehendAsync
createDocumentClassifierRequest
- InvalidRequestException
ResourceInUseException
TooManyTagsException
TooManyRequestsException
ResourceLimitExceededException
UnsupportedLanguageException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<CreateDocumentClassifierResult> createDocumentClassifierAsync(CreateDocumentClassifierRequest createDocumentClassifierRequest, AsyncHandler<CreateDocumentClassifierRequest,CreateDocumentClassifierResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see how-document-classification.
createDocumentClassifierAsync
in interface AmazonComprehendAsync
createDocumentClassifierRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceInUseException
TooManyTagsException
TooManyRequestsException
ResourceLimitExceededException
UnsupportedLanguageException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest createEndpointRequest) throws AmazonServiceException, AmazonClientException
Creates a model-specific endpoint for synchronous inference for a previously trained custom model
createEndpointAsync
in interface AmazonComprehendAsync
createEndpointRequest
- InvalidRequestException
ResourceInUseException
ResourceLimitExceededException
ResourceNotFoundException
ResourceUnavailableException
TooManyRequestsException
TooManyTagsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest createEndpointRequest, AsyncHandler<CreateEndpointRequest,CreateEndpointResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a model-specific endpoint for synchronous inference for a previously trained custom model
createEndpointAsync
in interface AmazonComprehendAsync
createEndpointRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceInUseException
ResourceLimitExceededException
ResourceNotFoundException
ResourceUnavailableException
TooManyRequestsException
TooManyTagsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<CreateEntityRecognizerResult> createEntityRecognizerAsync(CreateEntityRecognizerRequest createEntityRecognizerRequest) throws AmazonServiceException, AmazonClientException
Creates an entity recognizer using submitted files. After your
CreateEntityRecognizer
request is submitted, you can check
job status using the API.
createEntityRecognizerAsync
in interface AmazonComprehendAsync
createEntityRecognizerRequest
- InvalidRequestException
ResourceInUseException
TooManyTagsException
TooManyRequestsException
ResourceLimitExceededException
UnsupportedLanguageException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<CreateEntityRecognizerResult> createEntityRecognizerAsync(CreateEntityRecognizerRequest createEntityRecognizerRequest, AsyncHandler<CreateEntityRecognizerRequest,CreateEntityRecognizerResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an entity recognizer using submitted files. After your
CreateEntityRecognizer
request is submitted, you can check
job status using the API.
createEntityRecognizerAsync
in interface AmazonComprehendAsync
createEntityRecognizerRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceInUseException
TooManyTagsException
TooManyRequestsException
ResourceLimitExceededException
UnsupportedLanguageException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DeleteDocumentClassifierResult> deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest deleteDocumentClassifierRequest) throws AmazonServiceException, AmazonClientException
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED)
will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
deleteDocumentClassifierAsync
in interface AmazonComprehendAsync
deleteDocumentClassifierRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
ResourceInUseException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DeleteDocumentClassifierResult> deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest deleteDocumentClassifierRequest, AsyncHandler<DeleteDocumentClassifierRequest,DeleteDocumentClassifierResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED)
will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
deleteDocumentClassifierAsync
in interface AmazonComprehendAsync
deleteDocumentClassifierRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
ResourceInUseException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest) throws AmazonServiceException, AmazonClientException
Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted.
deleteEndpointAsync
in interface AmazonComprehendAsync
deleteEndpointRequest
- InvalidRequestException
ResourceInUseException
ResourceNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest, AsyncHandler<DeleteEndpointRequest,DeleteEndpointResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted.
deleteEndpointAsync
in interface AmazonComprehendAsync
deleteEndpointRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceInUseException
ResourceNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DeleteEntityRecognizerResult> deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest deleteEntityRecognizerRequest) throws AmazonServiceException, AmazonClientException
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED)
will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
deleteEntityRecognizerAsync
in interface AmazonComprehendAsync
deleteEntityRecognizerRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
ResourceInUseException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DeleteEntityRecognizerResult> deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest deleteEntityRecognizerRequest, AsyncHandler<DeleteEntityRecognizerRequest,DeleteEntityRecognizerResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED)
will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
deleteEntityRecognizerAsync
in interface AmazonComprehendAsync
deleteEntityRecognizerRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
ResourceInUseException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeDocumentClassificationJobResult> describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest describeDocumentClassificationJobRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobAsync
in interface AmazonComprehendAsync
describeDocumentClassificationJobRequest
- InvalidRequestException
TooManyRequestsException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeDocumentClassificationJobResult> describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest describeDocumentClassificationJobRequest, AsyncHandler<DescribeDocumentClassificationJobRequest,DescribeDocumentClassificationJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobAsync
in interface AmazonComprehendAsync
describeDocumentClassificationJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeDocumentClassifierResult> describeDocumentClassifierAsync(DescribeDocumentClassifierRequest describeDocumentClassifierRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a document classifier.
describeDocumentClassifierAsync
in interface AmazonComprehendAsync
describeDocumentClassifierRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeDocumentClassifierResult> describeDocumentClassifierAsync(DescribeDocumentClassifierRequest describeDocumentClassifierRequest, AsyncHandler<DescribeDocumentClassifierRequest,DescribeDocumentClassifierResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a document classifier.
describeDocumentClassifierAsync
in interface AmazonComprehendAsync
describeDocumentClassifierRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest describeDominantLanguageDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
describeDominantLanguageDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest describeDominantLanguageDetectionJobRequest, AsyncHandler<DescribeDominantLanguageDetectionJobRequest,DescribeDominantLanguageDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
describeDominantLanguageDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest describeEndpointRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.
describeEndpointAsync
in interface AmazonComprehendAsync
describeEndpointRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest describeEndpointRequest, AsyncHandler<DescribeEndpointRequest,DescribeEndpointResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.
describeEndpointAsync
in interface AmazonComprehendAsync
describeEndpointRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest describeEntitiesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
describeEntitiesDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest describeEntitiesDetectionJobRequest, AsyncHandler<DescribeEntitiesDetectionJobRequest,DescribeEntitiesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
describeEntitiesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEntityRecognizerResult> describeEntityRecognizerAsync(DescribeEntityRecognizerRequest describeEntityRecognizerRequest) throws AmazonServiceException, AmazonClientException
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerAsync
in interface AmazonComprehendAsync
describeEntityRecognizerRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEntityRecognizerResult> describeEntityRecognizerAsync(DescribeEntityRecognizerRequest describeEntityRecognizerRequest, AsyncHandler<DescribeEntityRecognizerRequest,DescribeEntityRecognizerResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerAsync
in interface AmazonComprehendAsync
describeEntityRecognizerRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEventsDetectionJobResult> describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest describeEventsDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Gets the status and details of an events detection job.
describeEventsDetectionJobAsync
in interface AmazonComprehendAsync
describeEventsDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeEventsDetectionJobResult> describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest describeEventsDetectionJobRequest, AsyncHandler<DescribeEventsDetectionJobRequest,DescribeEventsDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the status and details of an events detection job.
describeEventsDetectionJobAsync
in interface AmazonComprehendAsync
describeEventsDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest describeKeyPhrasesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
describeKeyPhrasesDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest describeKeyPhrasesDetectionJobRequest, AsyncHandler<DescribeKeyPhrasesDetectionJobRequest,DescribeKeyPhrasesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
describeKeyPhrasesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribePiiEntitiesDetectionJobResult> describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest describePiiEntitiesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
describePiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
describePiiEntitiesDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribePiiEntitiesDetectionJobResult> describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest describePiiEntitiesDetectionJobRequest, AsyncHandler<DescribePiiEntitiesDetectionJobRequest,DescribePiiEntitiesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
describePiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
describePiiEntitiesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest describeSentimentDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync
in interface AmazonComprehendAsync
describeSentimentDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest describeSentimentDetectionJobRequest, AsyncHandler<DescribeSentimentDetectionJobRequest,DescribeSentimentDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync
in interface AmazonComprehendAsync
describeSentimentDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest describeTopicsDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync
in interface AmazonComprehendAsync
describeTopicsDetectionJobRequest
- InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest describeTopicsDetectionJobRequest, AsyncHandler<DescribeTopicsDetectionJobRequest,DescribeTopicsDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync
in interface AmazonComprehendAsync
describeTopicsDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest detectDominantLanguageRequest) throws AmazonServiceException, AmazonClientException
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
detectDominantLanguageRequest
- InvalidRequestException
TextSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest detectDominantLanguageRequest, AsyncHandler<DetectDominantLanguageRequest,DetectDominantLanguageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
detectDominantLanguageRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest detectEntitiesRequest) throws AmazonServiceException, AmazonClientException
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesAsync
in interface AmazonComprehendAsync
detectEntitiesRequest
- InvalidRequestException
ResourceUnavailableException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest detectEntitiesRequest, AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesAsync
in interface AmazonComprehendAsync
detectEntitiesRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceUnavailableException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest detectKeyPhrasesRequest) throws AmazonServiceException, AmazonClientException
Detects the key noun phrases found in the text.
detectKeyPhrasesAsync
in interface AmazonComprehendAsync
detectKeyPhrasesRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest detectKeyPhrasesRequest, AsyncHandler<DetectKeyPhrasesRequest,DetectKeyPhrasesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Detects the key noun phrases found in the text.
detectKeyPhrasesAsync
in interface AmazonComprehendAsync
detectKeyPhrasesRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectPiiEntitiesResult> detectPiiEntitiesAsync(DetectPiiEntitiesRequest detectPiiEntitiesRequest) throws AmazonServiceException, AmazonClientException
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detectPiiEntitiesAsync
in interface AmazonComprehendAsync
detectPiiEntitiesRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectPiiEntitiesResult> detectPiiEntitiesAsync(DetectPiiEntitiesRequest detectPiiEntitiesRequest, AsyncHandler<DetectPiiEntitiesRequest,DetectPiiEntitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detectPiiEntitiesAsync
in interface AmazonComprehendAsync
detectPiiEntitiesRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest detectSentimentRequest) throws AmazonServiceException, AmazonClientException
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE
, NEUTRAL
, MIXED
, or
NEGATIVE
).
detectSentimentAsync
in interface AmazonComprehendAsync
detectSentimentRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest detectSentimentRequest, AsyncHandler<DetectSentimentRequest,DetectSentimentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE
, NEUTRAL
, MIXED
, or
NEGATIVE
).
detectSentimentAsync
in interface AmazonComprehendAsync
detectSentimentRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest detectSyntaxRequest) throws AmazonServiceException, AmazonClientException
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxAsync
in interface AmazonComprehendAsync
detectSyntaxRequest
- InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest detectSyntaxRequest, AsyncHandler<DetectSyntaxRequest,DetectSyntaxResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxAsync
in interface AmazonComprehendAsync
detectSyntaxRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TextSizeLimitExceededException
UnsupportedLanguageException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListDocumentClassificationJobsResult> listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest listDocumentClassificationJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsAsync
in interface AmazonComprehendAsync
listDocumentClassificationJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListDocumentClassificationJobsResult> listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest listDocumentClassificationJobsRequest, AsyncHandler<ListDocumentClassificationJobsRequest,ListDocumentClassificationJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsAsync
in interface AmazonComprehendAsync
listDocumentClassificationJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListDocumentClassifiersResult> listDocumentClassifiersAsync(ListDocumentClassifiersRequest listDocumentClassifiersRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the document classifiers that you have created.
listDocumentClassifiersAsync
in interface AmazonComprehendAsync
listDocumentClassifiersRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListDocumentClassifiersResult> listDocumentClassifiersAsync(ListDocumentClassifiersRequest listDocumentClassifiersRequest, AsyncHandler<ListDocumentClassifiersRequest,ListDocumentClassifiersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the document classifiers that you have created.
listDocumentClassifiersAsync
in interface AmazonComprehendAsync
listDocumentClassifiersRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync
in interface AmazonComprehendAsync
listDominantLanguageDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest, AsyncHandler<ListDominantLanguageDetectionJobsRequest,ListDominantLanguageDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync
in interface AmazonComprehendAsync
listDominantLanguageDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEndpointsResult> listEndpointsAsync(ListEndpointsRequest listEndpointsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of all existing endpoints that you've created.
listEndpointsAsync
in interface AmazonComprehendAsync
listEndpointsRequest
- InvalidRequestException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEndpointsResult> listEndpointsAsync(ListEndpointsRequest listEndpointsRequest, AsyncHandler<ListEndpointsRequest,ListEndpointsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of all existing endpoints that you've created.
listEndpointsAsync
in interface AmazonComprehendAsync
listEndpointsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
listEntitiesDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest, AsyncHandler<ListEntitiesDetectionJobsRequest,ListEntitiesDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
listEntitiesDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEntityRecognizersResult> listEntityRecognizersAsync(ListEntityRecognizersRequest listEntityRecognizersRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
listEntityRecognizersAsync
in interface AmazonComprehendAsync
listEntityRecognizersRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEntityRecognizersResult> listEntityRecognizersAsync(ListEntityRecognizersRequest listEntityRecognizersRequest, AsyncHandler<ListEntityRecognizersRequest,ListEntityRecognizersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
listEntityRecognizersAsync
in interface AmazonComprehendAsync
listEntityRecognizersRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEventsDetectionJobsResult> listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest listEventsDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the events detection jobs that you have submitted.
listEventsDetectionJobsAsync
in interface AmazonComprehendAsync
listEventsDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListEventsDetectionJobsResult> listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest listEventsDetectionJobsRequest, AsyncHandler<ListEventsDetectionJobsRequest,ListEventsDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the events detection jobs that you have submitted.
listEventsDetectionJobsAsync
in interface AmazonComprehendAsync
listEventsDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync
in interface AmazonComprehendAsync
listKeyPhrasesDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest, AsyncHandler<ListKeyPhrasesDetectionJobsRequest,ListKeyPhrasesDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync
in interface AmazonComprehendAsync
listKeyPhrasesDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListPiiEntitiesDetectionJobsResult> listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest listPiiEntitiesDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the PII entity detection jobs that you have submitted.
listPiiEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
listPiiEntitiesDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListPiiEntitiesDetectionJobsResult> listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest listPiiEntitiesDetectionJobsRequest, AsyncHandler<ListPiiEntitiesDetectionJobsRequest,ListPiiEntitiesDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the PII entity detection jobs that you have submitted.
listPiiEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
listPiiEntitiesDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync
in interface AmazonComprehendAsync
listSentimentDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest, AsyncHandler<ListSentimentDetectionJobsRequest,ListSentimentDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync
in interface AmazonComprehendAsync
listSentimentDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonServiceException, AmazonClientException
Lists all tags associated with a given Amazon Comprehend resource.
listTagsForResourceAsync
in interface AmazonComprehendAsync
listTagsForResourceRequest
- InvalidRequestException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists all tags associated with a given Amazon Comprehend resource.
listTagsForResourceAsync
in interface AmazonComprehendAsync
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync
in interface AmazonComprehendAsync
listTopicsDetectionJobsRequest
- InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest, AsyncHandler<ListTopicsDetectionJobsRequest,ListTopicsDetectionJobsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync
in interface AmazonComprehendAsync
listTopicsDetectionJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
InvalidFilterException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartDocumentClassificationJobResult> startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest startDocumentClassificationJobRequest) throws AmazonServiceException, AmazonClientException
Starts an asynchronous document classification job. Use the operation to track the progress of the job.
startDocumentClassificationJobAsync
in interface AmazonComprehendAsync
startDocumentClassificationJobRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartDocumentClassificationJobResult> startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest startDocumentClassificationJobRequest, AsyncHandler<StartDocumentClassificationJobRequest,StartDocumentClassificationJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts an asynchronous document classification job. Use the operation to track the progress of the job.
startDocumentClassificationJobAsync
in interface AmazonComprehendAsync
startDocumentClassificationJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
startDominantLanguageDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest, AsyncHandler<StartDominantLanguageDetectionJobRequest,StartDominantLanguageDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
startDominantLanguageDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest startEntitiesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom
entity recognition. In order to be used for custom entity recognition,
the optional EntityRecognizerArn
must be used in order to
provide access to the recognizer being used to detect the custom entity.
startEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
startEntitiesDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest startEntitiesDetectionJobRequest, AsyncHandler<StartEntitiesDetectionJobRequest,StartEntitiesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom
entity recognition. In order to be used for custom entity recognition,
the optional EntityRecognizerArn
must be used in order to
provide access to the recognizer being used to detect the custom entity.
startEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
startEntitiesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
ResourceUnavailableException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartEventsDetectionJobResult> startEventsDetectionJobAsync(StartEventsDetectionJobRequest startEventsDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Starts an asynchronous event detection job for a collection of documents.
startEventsDetectionJobAsync
in interface AmazonComprehendAsync
startEventsDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartEventsDetectionJobResult> startEventsDetectionJobAsync(StartEventsDetectionJobRequest startEventsDetectionJobRequest, AsyncHandler<StartEventsDetectionJobRequest,StartEventsDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts an asynchronous event detection job for a collection of documents.
startEventsDetectionJobAsync
in interface AmazonComprehendAsync
startEventsDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest startKeyPhrasesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
startKeyPhrasesDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest startKeyPhrasesDetectionJobRequest, AsyncHandler<StartKeyPhrasesDetectionJobRequest,StartKeyPhrasesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
startKeyPhrasesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartPiiEntitiesDetectionJobResult> startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest startPiiEntitiesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Starts an asynchronous PII entity detection job for a collection of documents.
startPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
startPiiEntitiesDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartPiiEntitiesDetectionJobResult> startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest startPiiEntitiesDetectionJobRequest, AsyncHandler<StartPiiEntitiesDetectionJobRequest,StartPiiEntitiesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts an asynchronous PII entity detection job for a collection of documents.
startPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
startPiiEntitiesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest startSentimentDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
startSentimentDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest startSentimentDetectionJobRequest, AsyncHandler<StartSentimentDetectionJobRequest,StartSentimentDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
startSentimentDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest startTopicsDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Starts an asynchronous topic detection job. Use the
DescribeTopicDetectionJob
operation to track the status of a
job.
startTopicsDetectionJobAsync
in interface AmazonComprehendAsync
startTopicsDetectionJobRequest
- InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest startTopicsDetectionJobRequest, AsyncHandler<StartTopicsDetectionJobRequest,StartTopicsDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts an asynchronous topic detection job. Use the
DescribeTopicDetectionJob
operation to track the status of a
job.
startTopicsDetectionJobAsync
in interface AmazonComprehendAsync
startTopicsDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
KmsKeyValidationException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
stopDominantLanguageDetectionJobRequest
- InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest, AsyncHandler<StopDominantLanguageDetectionJobRequest,StopDominantLanguageDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
stopDominantLanguageDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest stopEntitiesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
stopEntitiesDetectionJobRequest
- InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest stopEntitiesDetectionJobRequest, AsyncHandler<StopEntitiesDetectionJobRequest,StopEntitiesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
stopEntitiesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest stopEventsDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Stops an events detection job in progress.
stopEventsDetectionJobAsync
in interface AmazonComprehendAsync
stopEventsDetectionJobRequest
- InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest stopEventsDetectionJobRequest, AsyncHandler<StopEventsDetectionJobRequest,StopEventsDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops an events detection job in progress.
stopEventsDetectionJobAsync
in interface AmazonComprehendAsync
stopEventsDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest stopKeyPhrasesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
stopKeyPhrasesDetectionJobRequest
- InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest stopKeyPhrasesDetectionJobRequest, AsyncHandler<StopKeyPhrasesDetectionJobRequest,StopKeyPhrasesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
stopKeyPhrasesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopPiiEntitiesDetectionJobResult> stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest stopPiiEntitiesDetectionJobRequest) throws AmazonServiceException, AmazonClientException
Stops a PII entities detection job in progress.
stopPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
stopPiiEntitiesDetectionJobRequest
- InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopPiiEntitiesDetectionJobResult> stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest stopPiiEntitiesDetectionJobRequest, AsyncHandler<StopPiiEntitiesDetectionJobRequest,StopPiiEntitiesDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops a PII entities detection job in progress.
stopPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
stopPiiEntitiesDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest) throws AmazonServiceException, AmazonClientException
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
stopSentimentDetectionJobRequest
- InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest, AsyncHandler<StopSentimentDetectionJobRequest,StopSentimentDetectionJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
stopSentimentDetectionJobRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
JobNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest stopTrainingDocumentClassifierRequest) throws AmazonServiceException, AmazonClientException
Stops a document classifier training job while in progress.
If the training job state is TRAINING
, the job is marked for
termination and put into the STOP_REQUESTED
state. If the
training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and put into
the STOPPED
state and the service sends back an HTTP 200
response with an empty HTTP body.
stopTrainingDocumentClassifierAsync
in interface AmazonComprehendAsync
stopTrainingDocumentClassifierRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest stopTrainingDocumentClassifierRequest, AsyncHandler<StopTrainingDocumentClassifierRequest,StopTrainingDocumentClassifierResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops a document classifier training job while in progress.
If the training job state is TRAINING
, the job is marked for
termination and put into the STOP_REQUESTED
state. If the
training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and put into
the STOPPED
state and the service sends back an HTTP 200
response with an empty HTTP body.
stopTrainingDocumentClassifierAsync
in interface AmazonComprehendAsync
stopTrainingDocumentClassifierRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest stopTrainingEntityRecognizerRequest) throws AmazonServiceException, AmazonClientException
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING
, the job is marked for
termination and put into the STOP_REQUESTED
state. If the
training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and putted
into the STOPPED
state and the service sends back an HTTP
200 response with an empty HTTP body.
stopTrainingEntityRecognizerAsync
in interface AmazonComprehendAsync
stopTrainingEntityRecognizerRequest
- InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest stopTrainingEntityRecognizerRequest, AsyncHandler<StopTrainingEntityRecognizerRequest,StopTrainingEntityRecognizerResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING
, the job is marked for
termination and put into the STOP_REQUESTED
state. If the
training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and putted
into the STOPPED
state and the service sends back an HTTP
200 response with an empty HTTP body.
stopTrainingEntityRecognizerAsync
in interface AmazonComprehendAsync
stopTrainingEntityRecognizerRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest) throws AmazonServiceException, AmazonClientException
Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tagResourceAsync
in interface AmazonComprehendAsync
tagResourceRequest
- InvalidRequestException
ConcurrentModificationException
ResourceNotFoundException
TooManyTagsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tagResourceAsync
in interface AmazonComprehendAsync
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
ConcurrentModificationException
ResourceNotFoundException
TooManyTagsException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest) throws AmazonServiceException, AmazonClientException
Removes a specific tag associated with an Amazon Comprehend resource.
untagResourceAsync
in interface AmazonComprehendAsync
untagResourceRequest
- TooManyTagKeysException
InvalidRequestException
ConcurrentModificationException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes a specific tag associated with an Amazon Comprehend resource.
untagResourceAsync
in interface AmazonComprehendAsync
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.TooManyTagKeysException
InvalidRequestException
ConcurrentModificationException
ResourceNotFoundException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest updateEndpointRequest) throws AmazonServiceException, AmazonClientException
Updates information about the specified endpoint.
updateEndpointAsync
in interface AmazonComprehendAsync
updateEndpointRequest
- InvalidRequestException
TooManyRequestsException
ResourceInUseException
ResourceLimitExceededException
ResourceNotFoundException
ResourceUnavailableException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.public java.util.concurrent.Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest updateEndpointRequest, AsyncHandler<UpdateEndpointRequest,UpdateEndpointResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates information about the specified endpoint.
updateEndpointAsync
in interface AmazonComprehendAsync
updateEndpointRequest
- asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the
implementation of the four callback methods in this interface
to process the operation result or handle the exception.InvalidRequestException
TooManyRequestsException
ResourceInUseException
ResourceLimitExceededException
ResourceNotFoundException
ResourceUnavailableException
InternalServerException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by Amazon
Comprehend indicating either a problem with the data in the
request, or a server side issue.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.