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, updateEndpointaddRequestHandler, addRequestHandler, getEndpoint, getEndpointPrefix, getRegions, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDetectDominantLanguage, 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.).DefaultAWSCredentialsProviderChainpublic 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 AmazonComprehendshutdown in class AmazonWebServiceClientpublic 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 AmazonComprehendAsyncbatchDetectDominantLanguageRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectDominantLanguageRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectEntitiesRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectEntitiesRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectKeyPhrasesRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectKeyPhrasesRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectSentimentRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectSentimentRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectSyntaxRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncbatchDetectSyntaxRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionBatchSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncclassifyDocumentRequest - InvalidRequestExceptionResourceUnavailableExceptionTextSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncclassifyDocumentRequest - 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.InvalidRequestExceptionResourceUnavailableExceptionTextSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynccreateDocumentClassifierRequest - InvalidRequestExceptionResourceInUseExceptionTooManyTagsExceptionTooManyRequestsExceptionResourceLimitExceededExceptionUnsupportedLanguageExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynccreateDocumentClassifierRequest - 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.InvalidRequestExceptionResourceInUseExceptionTooManyTagsExceptionTooManyRequestsExceptionResourceLimitExceededExceptionUnsupportedLanguageExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynccreateEndpointRequest - InvalidRequestExceptionResourceInUseExceptionResourceLimitExceededExceptionResourceNotFoundExceptionResourceUnavailableExceptionTooManyRequestsExceptionTooManyTagsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynccreateEndpointRequest - 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.InvalidRequestExceptionResourceInUseExceptionResourceLimitExceededExceptionResourceNotFoundExceptionResourceUnavailableExceptionTooManyRequestsExceptionTooManyTagsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynccreateEntityRecognizerRequest - InvalidRequestExceptionResourceInUseExceptionTooManyTagsExceptionTooManyRequestsExceptionResourceLimitExceededExceptionUnsupportedLanguageExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynccreateEntityRecognizerRequest - 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.InvalidRequestExceptionResourceInUseExceptionTooManyTagsExceptionTooManyRequestsExceptionResourceLimitExceededExceptionUnsupportedLanguageExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdeleteDocumentClassifierRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionResourceInUseExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdeleteDocumentClassifierRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionResourceInUseExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdeleteEndpointRequest - InvalidRequestExceptionResourceInUseExceptionResourceNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdeleteEndpointRequest - 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.InvalidRequestExceptionResourceInUseExceptionResourceNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdeleteEntityRecognizerRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionResourceInUseExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdeleteEntityRecognizerRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionResourceInUseExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeDocumentClassificationJobRequest - InvalidRequestExceptionTooManyRequestsExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeDocumentClassificationJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeDocumentClassifierRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeDocumentClassifierRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeDominantLanguageDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeDominantLanguageDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEndpointRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEndpointRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEntitiesDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEntitiesDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEntityRecognizerRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEntityRecognizerRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEventsDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeEventsDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeKeyPhrasesDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeKeyPhrasesDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribePiiEntitiesDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribePiiEntitiesDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeSentimentDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeSentimentDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeTopicsDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdescribeTopicsDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectDominantLanguageRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectDominantLanguageRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectEntitiesRequest - InvalidRequestExceptionResourceUnavailableExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectEntitiesRequest - 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.InvalidRequestExceptionResourceUnavailableExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectKeyPhrasesRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectKeyPhrasesRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectPiiEntitiesRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectPiiEntitiesRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectSentimentRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectSentimentRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectSyntaxRequest - InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncdetectSyntaxRequest - 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.InvalidRequestExceptionTextSizeLimitExceededExceptionUnsupportedLanguageExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistDocumentClassificationJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistDocumentClassificationJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistDocumentClassifiersRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistDocumentClassifiersRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistDominantLanguageDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistDominantLanguageDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEndpointsRequest - InvalidRequestExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEndpointsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEntitiesDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEntitiesDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEntityRecognizersRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEntityRecognizersRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEventsDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistEventsDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistKeyPhrasesDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistKeyPhrasesDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistPiiEntitiesDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistPiiEntitiesDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistSentimentDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistSentimentDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistTagsForResourceRequest - InvalidRequestExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistTagsForResourceRequest - 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.InvalidRequestExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistTopicsDetectionJobsRequest - InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynclistTopicsDetectionJobsRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionInvalidFilterExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartDocumentClassificationJobRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartDocumentClassificationJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartDominantLanguageDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartDominantLanguageDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartEntitiesDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartEntitiesDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionResourceUnavailableExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartEventsDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartEventsDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartKeyPhrasesDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartKeyPhrasesDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartPiiEntitiesDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartPiiEntitiesDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartSentimentDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartSentimentDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartTopicsDetectionJobRequest - InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstartTopicsDetectionJobRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionKmsKeyValidationExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopDominantLanguageDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopDominantLanguageDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopEntitiesDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopEntitiesDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopEventsDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopEventsDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopKeyPhrasesDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopKeyPhrasesDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopPiiEntitiesDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopPiiEntitiesDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopSentimentDetectionJobRequest - InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopSentimentDetectionJobRequest - 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.InvalidRequestExceptionJobNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopTrainingDocumentClassifierRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopTrainingDocumentClassifierRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopTrainingEntityRecognizerRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncstopTrainingEntityRecognizerRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynctagResourceRequest - InvalidRequestExceptionConcurrentModificationExceptionResourceNotFoundExceptionTooManyTagsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsynctagResourceRequest - 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.InvalidRequestExceptionConcurrentModificationExceptionResourceNotFoundExceptionTooManyTagsExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncuntagResourceRequest - TooManyTagKeysExceptionInvalidRequestExceptionConcurrentModificationExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncuntagResourceRequest - 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.TooManyTagKeysExceptionInvalidRequestExceptionConcurrentModificationExceptionResourceNotFoundExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncupdateEndpointRequest - InvalidRequestExceptionTooManyRequestsExceptionResourceInUseExceptionResourceLimitExceededExceptionResourceNotFoundExceptionResourceUnavailableExceptionInternalServerExceptionAmazonClientException - 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 AmazonComprehendAsyncupdateEndpointRequest - 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.InvalidRequestExceptionTooManyRequestsExceptionResourceInUseExceptionResourceLimitExceededExceptionResourceNotFoundExceptionResourceUnavailableExceptionInternalServerExceptionAmazonClientException - 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.