@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonComprehendAsync extends AbstractAmazonComprehend implements AmazonComprehendAsync
AmazonComprehendAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
batchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, classifyDocument, containsPiiEntities, 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, listDocumentClassifierSummaries, listDominantLanguageDetectionJobs, listEndpoints, listEntitiesDetectionJobs, listEntityRecognizers, listEntityRecognizerSummaries, listEventsDetectionJobs, listKeyPhrasesDetectionJobs, listPiiEntitiesDetectionJobs, listSentimentDetectionJobs, listTagsForResource, listTopicsDetectionJobs, shutdown, startDocumentClassificationJob, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startEventsDetectionJob, startKeyPhrasesDetectionJob, startPiiEntitiesDetectionJob, startSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopEventsDetectionJob, stopKeyPhrasesDetectionJob, stopPiiEntitiesDetectionJob, stopSentimentDetectionJob, stopTrainingDocumentClassifier, stopTrainingEntityRecognizer, tagResource, untagResource, updateEndpoint
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, classifyDocument, containsPiiEntities, 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, listDocumentClassifierSummaries, listDominantLanguageDetectionJobs, listEndpoints, listEntitiesDetectionJobs, listEntityRecognizers, listEntityRecognizerSummaries, listEventsDetectionJobs, listKeyPhrasesDetectionJobs, listPiiEntitiesDetectionJobs, listSentimentDetectionJobs, listTagsForResource, listTopicsDetectionJobs, shutdown, startDocumentClassificationJob, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startEventsDetectionJob, startKeyPhrasesDetectionJob, startPiiEntitiesDetectionJob, startSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopEventsDetectionJob, stopKeyPhrasesDetectionJob, stopPiiEntitiesDetectionJob, stopSentimentDetectionJob, stopTrainingDocumentClassifier, stopTrainingEntityRecognizer, tagResource, untagResource, updateEndpoint
public Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request)
AmazonComprehendAsync
Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageAsync
in interface AmazonComprehendAsync
public Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request, AsyncHandler<BatchDetectDominantLanguageRequest,BatchDetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsync
Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request)
AmazonComprehendAsync
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities
batchDetectEntitiesAsync
in interface AmazonComprehendAsync
public Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request, AsyncHandler<BatchDetectEntitiesRequest,BatchDetectEntitiesResult> asyncHandler)
AmazonComprehendAsync
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities
batchDetectEntitiesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request)
AmazonComprehendAsync
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync
in interface AmazonComprehendAsync
public Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request, AsyncHandler<BatchDetectKeyPhrasesRequest,BatchDetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsync
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest request)
AmazonComprehendAsync
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE
,
NEUTRAL
, MIXED
, or NEGATIVE
, in each one.
batchDetectSentimentAsync
in interface AmazonComprehendAsync
public Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest request, AsyncHandler<BatchDetectSentimentRequest,BatchDetectSentimentResult> asyncHandler)
AmazonComprehendAsync
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE
,
NEUTRAL
, MIXED
, or NEGATIVE
, in each one.
batchDetectSentimentAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest request)
AmazonComprehendAsync
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
batchDetectSyntaxAsync
in interface AmazonComprehendAsync
public Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest request, AsyncHandler<BatchDetectSyntaxRequest,BatchDetectSyntaxResult> asyncHandler)
AmazonComprehendAsync
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
batchDetectSyntaxAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ClassifyDocumentResult> classifyDocumentAsync(ClassifyDocumentRequest request)
AmazonComprehendAsync
Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.
classifyDocumentAsync
in interface AmazonComprehendAsync
public Future<ClassifyDocumentResult> classifyDocumentAsync(ClassifyDocumentRequest request, AsyncHandler<ClassifyDocumentRequest,ClassifyDocumentResult> asyncHandler)
AmazonComprehendAsync
Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.
classifyDocumentAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ContainsPiiEntitiesResult> containsPiiEntitiesAsync(ContainsPiiEntitiesRequest request)
AmazonComprehendAsync
Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.
containsPiiEntitiesAsync
in interface AmazonComprehendAsync
public Future<ContainsPiiEntitiesResult> containsPiiEntitiesAsync(ContainsPiiEntitiesRequest request, AsyncHandler<ContainsPiiEntitiesRequest,ContainsPiiEntitiesResult> asyncHandler)
AmazonComprehendAsync
Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.
containsPiiEntitiesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDocumentClassifierResult> createDocumentClassifierAsync(CreateDocumentClassifierRequest request)
AmazonComprehendAsync
Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see how-document-classification.
createDocumentClassifierAsync
in interface AmazonComprehendAsync
public Future<CreateDocumentClassifierResult> createDocumentClassifierAsync(CreateDocumentClassifierRequest request, AsyncHandler<CreateDocumentClassifierRequest,CreateDocumentClassifierResult> asyncHandler)
AmazonComprehendAsync
Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see how-document-classification.
createDocumentClassifierAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request)
AmazonComprehendAsync
Creates a model-specific endpoint for synchronous inference for a previously trained custom model
createEndpointAsync
in interface AmazonComprehendAsync
public Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request, AsyncHandler<CreateEndpointRequest,CreateEndpointResult> asyncHandler)
AmazonComprehendAsync
Creates a model-specific endpoint for synchronous inference for a previously trained custom model
createEndpointAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEntityRecognizerResult> createEntityRecognizerAsync(CreateEntityRecognizerRequest request)
AmazonComprehendAsync
Creates an entity recognizer using submitted files. After your CreateEntityRecognizer
request is
submitted, you can check job status using the API.
createEntityRecognizerAsync
in interface AmazonComprehendAsync
public Future<CreateEntityRecognizerResult> createEntityRecognizerAsync(CreateEntityRecognizerRequest request, AsyncHandler<CreateEntityRecognizerRequest,CreateEntityRecognizerResult> asyncHandler)
AmazonComprehendAsync
Creates an entity recognizer using submitted files. After your CreateEntityRecognizer
request is
submitted, you can check job status using the API.
createEntityRecognizerAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDocumentClassifierResult> deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest request)
AmazonComprehendAsync
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
deleteDocumentClassifierAsync
in interface AmazonComprehendAsync
public Future<DeleteDocumentClassifierResult> deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest request, AsyncHandler<DeleteDocumentClassifierRequest,DeleteDocumentClassifierResult> asyncHandler)
AmazonComprehendAsync
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
deleteDocumentClassifierAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request)
AmazonComprehendAsync
Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted.
deleteEndpointAsync
in interface AmazonComprehendAsync
public Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request, AsyncHandler<DeleteEndpointRequest,DeleteEndpointResult> asyncHandler)
AmazonComprehendAsync
Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted.
deleteEndpointAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEntityRecognizerResult> deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest request)
AmazonComprehendAsync
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
deleteEntityRecognizerAsync
in interface AmazonComprehendAsync
public Future<DeleteEntityRecognizerResult> deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest request, AsyncHandler<DeleteEntityRecognizerRequest,DeleteEntityRecognizerResult> asyncHandler)
AmazonComprehendAsync
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
deleteEntityRecognizerAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDocumentClassificationJobResult> describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobAsync
in interface AmazonComprehendAsync
public Future<DescribeDocumentClassificationJobResult> describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest request, AsyncHandler<DescribeDocumentClassificationJobRequest,DescribeDocumentClassificationJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDocumentClassifierResult> describeDocumentClassifierAsync(DescribeDocumentClassifierRequest request)
AmazonComprehendAsync
Gets the properties associated with a document classifier.
describeDocumentClassifierAsync
in interface AmazonComprehendAsync
public Future<DescribeDocumentClassifierResult> describeDocumentClassifierAsync(DescribeDocumentClassifierRequest request, AsyncHandler<DescribeDocumentClassifierRequest,DescribeDocumentClassifierResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a document classifier.
describeDocumentClassifierAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest request, AsyncHandler<DescribeDominantLanguageDetectionJobRequest,DescribeDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request)
AmazonComprehendAsync
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.
describeEndpointAsync
in interface AmazonComprehendAsync
public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request, AsyncHandler<DescribeEndpointRequest,DescribeEndpointResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.
describeEndpointAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest request, AsyncHandler<DescribeEntitiesDetectionJobRequest,DescribeEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEntityRecognizerResult> describeEntityRecognizerAsync(DescribeEntityRecognizerRequest request)
AmazonComprehendAsync
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerAsync
in interface AmazonComprehendAsync
public Future<DescribeEntityRecognizerResult> describeEntityRecognizerAsync(DescribeEntityRecognizerRequest request, AsyncHandler<DescribeEntityRecognizerRequest,DescribeEntityRecognizerResult> asyncHandler)
AmazonComprehendAsync
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventsDetectionJobResult> describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest request)
AmazonComprehendAsync
Gets the status and details of an events detection job.
describeEventsDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeEventsDetectionJobResult> describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest request, AsyncHandler<DescribeEventsDetectionJobRequest,DescribeEventsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the status and details of an events detection job.
describeEventsDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest request, AsyncHandler<DescribeKeyPhrasesDetectionJobRequest,DescribeKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribePiiEntitiesDetectionJobResult> describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
describePiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribePiiEntitiesDetectionJobResult> describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest request, AsyncHandler<DescribePiiEntitiesDetectionJobRequest,DescribePiiEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
describePiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest request, AsyncHandler<DescribeSentimentDetectionJobRequest,DescribeSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request)
AmazonComprehendAsync
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync
in interface AmazonComprehendAsync
public Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request, AsyncHandler<DescribeTopicsDetectionJobRequest,DescribeTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request)
AmazonComprehendAsync
Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageAsync
in interface AmazonComprehendAsync
public Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request, AsyncHandler<DetectDominantLanguageRequest,DetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsync
Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request)
AmazonComprehendAsync
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesAsync
in interface AmazonComprehendAsync
public Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request, AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
AmazonComprehendAsync
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request)
AmazonComprehendAsync
Detects the key noun phrases found in the text.
detectKeyPhrasesAsync
in interface AmazonComprehendAsync
public Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request, AsyncHandler<DetectKeyPhrasesRequest,DetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsync
Detects the key noun phrases found in the text.
detectKeyPhrasesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectPiiEntitiesResult> detectPiiEntitiesAsync(DetectPiiEntitiesRequest request)
AmazonComprehendAsync
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detectPiiEntitiesAsync
in interface AmazonComprehendAsync
public Future<DetectPiiEntitiesResult> detectPiiEntitiesAsync(DetectPiiEntitiesRequest request, AsyncHandler<DetectPiiEntitiesRequest,DetectPiiEntitiesResult> asyncHandler)
AmazonComprehendAsync
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detectPiiEntitiesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
,
MIXED
, or NEGATIVE
).
detectSentimentAsync
in interface AmazonComprehendAsync
public Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request, AsyncHandler<DetectSentimentRequest,DetectSentimentResult> asyncHandler)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
,
MIXED
, or NEGATIVE
).
detectSentimentAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest request)
AmazonComprehendAsync
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxAsync
in interface AmazonComprehendAsync
public Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest request, AsyncHandler<DetectSyntaxRequest,DetectSyntaxResult> asyncHandler)
AmazonComprehendAsync
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDocumentClassificationJobsResult> listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest request)
AmazonComprehendAsync
Gets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsAsync
in interface AmazonComprehendAsync
public Future<ListDocumentClassificationJobsResult> listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest request, AsyncHandler<ListDocumentClassificationJobsRequest,ListDocumentClassificationJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDocumentClassifierSummariesResult> listDocumentClassifierSummariesAsync(ListDocumentClassifierSummariesRequest request)
AmazonComprehendAsync
Gets a list of summaries of the document classifiers that you have created
listDocumentClassifierSummariesAsync
in interface AmazonComprehendAsync
public Future<ListDocumentClassifierSummariesResult> listDocumentClassifierSummariesAsync(ListDocumentClassifierSummariesRequest request, AsyncHandler<ListDocumentClassifierSummariesRequest,ListDocumentClassifierSummariesResult> asyncHandler)
AmazonComprehendAsync
Gets a list of summaries of the document classifiers that you have created
listDocumentClassifierSummariesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDocumentClassifiersResult> listDocumentClassifiersAsync(ListDocumentClassifiersRequest request)
AmazonComprehendAsync
Gets a list of the document classifiers that you have created.
listDocumentClassifiersAsync
in interface AmazonComprehendAsync
public Future<ListDocumentClassifiersResult> listDocumentClassifiersAsync(ListDocumentClassifiersRequest request, AsyncHandler<ListDocumentClassifiersRequest,ListDocumentClassifiersResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the document classifiers that you have created.
listDocumentClassifiersAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest request, AsyncHandler<ListDominantLanguageDetectionJobsRequest,ListDominantLanguageDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEndpointsResult> listEndpointsAsync(ListEndpointsRequest request)
AmazonComprehendAsync
Gets a list of all existing endpoints that you've created.
listEndpointsAsync
in interface AmazonComprehendAsync
public Future<ListEndpointsResult> listEndpointsAsync(ListEndpointsRequest request, AsyncHandler<ListEndpointsRequest,ListEndpointsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of all existing endpoints that you've created.
listEndpointsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest request, AsyncHandler<ListEntitiesDetectionJobsRequest,ListEntitiesDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntityRecognizerSummariesResult> listEntityRecognizerSummariesAsync(ListEntityRecognizerSummariesRequest request)
AmazonComprehendAsync
Gets a list of summaries for the entity recognizers that you have created.
listEntityRecognizerSummariesAsync
in interface AmazonComprehendAsync
public Future<ListEntityRecognizerSummariesResult> listEntityRecognizerSummariesAsync(ListEntityRecognizerSummariesRequest request, AsyncHandler<ListEntityRecognizerSummariesRequest,ListEntityRecognizerSummariesResult> asyncHandler)
AmazonComprehendAsync
Gets a list of summaries for the entity recognizers that you have created.
listEntityRecognizerSummariesAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntityRecognizersResult> listEntityRecognizersAsync(ListEntityRecognizersRequest request)
AmazonComprehendAsync
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
listEntityRecognizersAsync
in interface AmazonComprehendAsync
public Future<ListEntityRecognizersResult> listEntityRecognizersAsync(ListEntityRecognizersRequest request, AsyncHandler<ListEntityRecognizersRequest,ListEntityRecognizersResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
listEntityRecognizersAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEventsDetectionJobsResult> listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the events detection jobs that you have submitted.
listEventsDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListEventsDetectionJobsResult> listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest request, AsyncHandler<ListEventsDetectionJobsRequest,ListEventsDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the events detection jobs that you have submitted.
listEventsDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest request)
AmazonComprehendAsync
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest request, AsyncHandler<ListKeyPhrasesDetectionJobsRequest,ListKeyPhrasesDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPiiEntitiesDetectionJobsResult> listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the PII entity detection jobs that you have submitted.
listPiiEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListPiiEntitiesDetectionJobsResult> listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest request, AsyncHandler<ListPiiEntitiesDetectionJobsRequest,ListPiiEntitiesDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the PII entity detection jobs that you have submitted.
listPiiEntitiesDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest request, AsyncHandler<ListSentimentDetectionJobsRequest,ListSentimentDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonComprehendAsync
Lists all tags associated with a given Amazon Comprehend resource.
listTagsForResourceAsync
in interface AmazonComprehendAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonComprehendAsync
Lists all tags associated with a given Amazon Comprehend resource.
listTagsForResourceAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request)
AmazonComprehendAsync
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync
in interface AmazonComprehendAsync
public Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request, AsyncHandler<ListTopicsDetectionJobsRequest,ListTopicsDetectionJobsResult> asyncHandler)
AmazonComprehendAsync
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDocumentClassificationJobResult> startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest request)
AmazonComprehendAsync
Starts an asynchronous document classification job. Use the operation to track the progress of the job.
startDocumentClassificationJobAsync
in interface AmazonComprehendAsync
public Future<StartDocumentClassificationJobResult> startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest request, AsyncHandler<StartDocumentClassificationJobRequest,StartDocumentClassificationJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous document classification job. Use the operation to track the progress of the job.
startDocumentClassificationJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest request, AsyncHandler<StartDominantLanguageDetectionJobRequest,StartDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom entity recognition. In order to be used for
custom entity recognition, the optional EntityRecognizerArn
must be used in order to provide access
to the recognizer being used to detect the custom entity.
startEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest request, AsyncHandler<StartEntitiesDetectionJobRequest,StartEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom entity recognition. In order to be used for
custom entity recognition, the optional EntityRecognizerArn
must be used in order to provide access
to the recognizer being used to detect the custom entity.
startEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartEventsDetectionJobResult> startEventsDetectionJobAsync(StartEventsDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous event detection job for a collection of documents.
startEventsDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartEventsDetectionJobResult> startEventsDetectionJobAsync(StartEventsDetectionJobRequest request, AsyncHandler<StartEventsDetectionJobRequest,StartEventsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous event detection job for a collection of documents.
startEventsDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest request, AsyncHandler<StartKeyPhrasesDetectionJobRequest,StartKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartPiiEntitiesDetectionJobResult> startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous PII entity detection job for a collection of documents.
startPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartPiiEntitiesDetectionJobResult> startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest request, AsyncHandler<StartPiiEntitiesDetectionJobRequest,StartPiiEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous PII entity detection job for a collection of documents.
startPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.
startSentimentDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest request, AsyncHandler<StartSentimentDetectionJobRequest,StartSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.
startSentimentDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob
operation to track the
status of a job.
startTopicsDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest request, AsyncHandler<StartTopicsDetectionJobRequest,StartTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob
operation to track the
status of a job.
startTopicsDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest request)
AmazonComprehendAsync
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest request, AsyncHandler<StopDominantLanguageDetectionJobRequest,StopDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopDominantLanguageDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest request, AsyncHandler<StopEntitiesDetectionJobRequest,StopEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest request)
AmazonComprehendAsync
Stops an events detection job in progress.
stopEventsDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest request, AsyncHandler<StopEventsDetectionJobRequest,StopEventsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops an events detection job in progress.
stopEventsDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsync
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest request, AsyncHandler<StopKeyPhrasesDetectionJobRequest,StopKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopKeyPhrasesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopPiiEntitiesDetectionJobResult> stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest request)
AmazonComprehendAsync
Stops a PII entities detection job in progress.
stopPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopPiiEntitiesDetectionJobResult> stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest request, AsyncHandler<StopPiiEntitiesDetectionJobRequest,StopPiiEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a PII entities detection job in progress.
stopPiiEntitiesDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest request)
AmazonComprehendAsync
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is be stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopSentimentDetectionJobAsync
in interface AmazonComprehendAsync
public Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest request, AsyncHandler<StopSentimentDetectionJobRequest,StopSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is be stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopSentimentDetectionJobAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest request)
AmazonComprehendAsync
Stops a document classifier training job while in progress.
If the training job state is TRAINING
, the job is marked for termination and put into the
STOP_REQUESTED
state. If the training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and put into the STOPPED
state and the
service sends back an HTTP 200 response with an empty HTTP body.
stopTrainingDocumentClassifierAsync
in interface AmazonComprehendAsync
public Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest request, AsyncHandler<StopTrainingDocumentClassifierRequest,StopTrainingDocumentClassifierResult> asyncHandler)
AmazonComprehendAsync
Stops a document classifier training job while in progress.
If the training job state is TRAINING
, the job is marked for termination and put into the
STOP_REQUESTED
state. If the training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and put into the STOPPED
state and the
service sends back an HTTP 200 response with an empty HTTP body.
stopTrainingDocumentClassifierAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest request)
AmazonComprehendAsync
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING
, the job is marked for termination and put into the
STOP_REQUESTED
state. If the training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and putted into the STOPPED
state and
the service sends back an HTTP 200 response with an empty HTTP body.
stopTrainingEntityRecognizerAsync
in interface AmazonComprehendAsync
public Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest request, AsyncHandler<StopTrainingEntityRecognizerRequest,StopTrainingEntityRecognizerResult> asyncHandler)
AmazonComprehendAsync
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING
, the job is marked for termination and put into the
STOP_REQUESTED
state. If the training job completes before it can be stopped, it is put into the
TRAINED
; otherwise the training job is stopped and putted into the STOPPED
state and
the service sends back an HTTP 200 response with an empty HTTP body.
stopTrainingEntityRecognizerAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonComprehendAsync
Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tagResourceAsync
in interface AmazonComprehendAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonComprehendAsync
Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tagResourceAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonComprehendAsync
Removes a specific tag associated with an Amazon Comprehend resource.
untagResourceAsync
in interface AmazonComprehendAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonComprehendAsync
Removes a specific tag associated with an Amazon Comprehend resource.
untagResourceAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest request)
AmazonComprehendAsync
Updates information about the specified endpoint.
updateEndpointAsync
in interface AmazonComprehendAsync
public Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest request, AsyncHandler<UpdateEndpointRequest,UpdateEndpointResult> asyncHandler)
AmazonComprehendAsync
Updates information about the specified endpoint.
updateEndpointAsync
in interface AmazonComprehendAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.