@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_PREFIXbatchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, batchDetectTargetedSentiment, classifyDocument, containsPiiEntities, createDataset, createDocumentClassifier, createEndpoint, createEntityRecognizer, createFlywheel, deleteDocumentClassifier, deleteEndpoint, deleteEntityRecognizer, deleteFlywheel, deleteResourcePolicy, describeDataset, describeDocumentClassificationJob, describeDocumentClassifier, describeDominantLanguageDetectionJob, describeEndpoint, describeEntitiesDetectionJob, describeEntityRecognizer, describeEventsDetectionJob, describeFlywheel, describeFlywheelIteration, describeKeyPhrasesDetectionJob, describePiiEntitiesDetectionJob, describeResourcePolicy, describeSentimentDetectionJob, describeTargetedSentimentDetectionJob, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectPiiEntities, detectSentiment, detectSyntax, detectTargetedSentiment, detectToxicContent, getCachedResponseMetadata, importModel, listDatasets, listDocumentClassificationJobs, listDocumentClassifiers, listDocumentClassifierSummaries, listDominantLanguageDetectionJobs, listEndpoints, listEntitiesDetectionJobs, listEntityRecognizers, listEntityRecognizerSummaries, listEventsDetectionJobs, listFlywheelIterationHistory, listFlywheels, listKeyPhrasesDetectionJobs, listPiiEntitiesDetectionJobs, listSentimentDetectionJobs, listTagsForResource, listTargetedSentimentDetectionJobs, listTopicsDetectionJobs, putResourcePolicy, shutdown, startDocumentClassificationJob, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startEventsDetectionJob, startFlywheelIteration, startKeyPhrasesDetectionJob, startPiiEntitiesDetectionJob, startSentimentDetectionJob, startTargetedSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopEventsDetectionJob, stopKeyPhrasesDetectionJob, stopPiiEntitiesDetectionJob, stopSentimentDetectionJob, stopTargetedSentimentDetectionJob, stopTrainingDocumentClassifier, stopTrainingEntityRecognizer, tagResource, untagResource, updateEndpoint, updateFlywheelequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDetectDominantLanguage, batchDetectEntities, batchDetectKeyPhrases, batchDetectSentiment, batchDetectSyntax, batchDetectTargetedSentiment, classifyDocument, containsPiiEntities, createDataset, createDocumentClassifier, createEndpoint, createEntityRecognizer, createFlywheel, deleteDocumentClassifier, deleteEndpoint, deleteEntityRecognizer, deleteFlywheel, deleteResourcePolicy, describeDataset, describeDocumentClassificationJob, describeDocumentClassifier, describeDominantLanguageDetectionJob, describeEndpoint, describeEntitiesDetectionJob, describeEntityRecognizer, describeEventsDetectionJob, describeFlywheel, describeFlywheelIteration, describeKeyPhrasesDetectionJob, describePiiEntitiesDetectionJob, describeResourcePolicy, describeSentimentDetectionJob, describeTargetedSentimentDetectionJob, describeTopicsDetectionJob, detectDominantLanguage, detectEntities, detectKeyPhrases, detectPiiEntities, detectSentiment, detectSyntax, detectTargetedSentiment, detectToxicContent, getCachedResponseMetadata, importModel, listDatasets, listDocumentClassificationJobs, listDocumentClassifiers, listDocumentClassifierSummaries, listDominantLanguageDetectionJobs, listEndpoints, listEntitiesDetectionJobs, listEntityRecognizers, listEntityRecognizerSummaries, listEventsDetectionJobs, listFlywheelIterationHistory, listFlywheels, listKeyPhrasesDetectionJobs, listPiiEntitiesDetectionJobs, listSentimentDetectionJobs, listTagsForResource, listTargetedSentimentDetectionJobs, listTopicsDetectionJobs, putResourcePolicy, shutdown, startDocumentClassificationJob, startDominantLanguageDetectionJob, startEntitiesDetectionJob, startEventsDetectionJob, startFlywheelIteration, startKeyPhrasesDetectionJob, startPiiEntitiesDetectionJob, startSentimentDetectionJob, startTargetedSentimentDetectionJob, startTopicsDetectionJob, stopDominantLanguageDetectionJob, stopEntitiesDetectionJob, stopEventsDetectionJob, stopKeyPhrasesDetectionJob, stopPiiEntitiesDetectionJob, stopSentimentDetectionJob, stopTargetedSentimentDetectionJob, stopTrainingDocumentClassifier, stopTrainingEntityRecognizer, tagResource, untagResource, updateEndpoint, updateFlywheelpublic Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request)
AmazonComprehendAsyncDetermines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectDominantLanguageResult> batchDetectDominantLanguageAsync(BatchDetectDominantLanguageRequest request, AsyncHandler<BatchDetectDominantLanguageRequest,BatchDetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsyncDetermines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request)
AmazonComprehendAsyncInspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.
batchDetectEntitiesAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectEntitiesResult> batchDetectEntitiesAsync(BatchDetectEntitiesRequest request, AsyncHandler<BatchDetectEntitiesRequest,BatchDetectEntitiesResult> asyncHandler)
AmazonComprehendAsyncInspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.
batchDetectEntitiesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request)
AmazonComprehendAsyncDetects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectKeyPhrasesResult> batchDetectKeyPhrasesAsync(BatchDetectKeyPhrasesRequest request, AsyncHandler<BatchDetectKeyPhrasesRequest,BatchDetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsyncDetects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest request)
AmazonComprehendAsync
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE,
NEUTRAL, MIXED, or NEGATIVE, in each one.
batchDetectSentimentAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectSentimentResult> batchDetectSentimentAsync(BatchDetectSentimentRequest request, AsyncHandler<BatchDetectSentimentRequest,BatchDetectSentimentResult> asyncHandler)
AmazonComprehendAsync
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE,
NEUTRAL, MIXED, or NEGATIVE, in each one.
batchDetectSentimentAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest request)
AmazonComprehendAsyncInspects 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 Syntax in the Comprehend Developer Guide.
batchDetectSyntaxAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectSyntaxResult> batchDetectSyntaxAsync(BatchDetectSyntaxRequest request, AsyncHandler<BatchDetectSyntaxRequest,BatchDetectSyntaxResult> asyncHandler)
AmazonComprehendAsyncInspects 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 Syntax in the Comprehend Developer Guide.
batchDetectSyntaxAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDetectTargetedSentimentResult> batchDetectTargetedSentimentAsync(BatchDetectTargetedSentimentRequest request)
AmazonComprehendAsyncInspects a batch of documents and returns a sentiment analysis for each entity identified in the documents.
For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
batchDetectTargetedSentimentAsync in interface AmazonComprehendAsyncpublic Future<BatchDetectTargetedSentimentResult> batchDetectTargetedSentimentAsync(BatchDetectTargetedSentimentRequest request, AsyncHandler<BatchDetectTargetedSentimentRequest,BatchDetectTargetedSentimentResult> asyncHandler)
AmazonComprehendAsyncInspects a batch of documents and returns a sentiment analysis for each entity identified in the documents.
For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
batchDetectTargetedSentimentAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ClassifyDocumentResult> classifyDocumentAsync(ClassifyDocumentRequest request)
AmazonComprehendAsync
Creates a classification request to analyze a single document in real-time. ClassifyDocument
supports the following model types:
Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide.
Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for
generative AI applications. For input, you provide English plain text input. For prompt safety classification,
the response includes only the Classes field. For more information about prompt safety classifiers,
see Prompt
safety classification in the Amazon Comprehend Developer Guide.
If the system detects errors while processing a page in the input document, the API response includes an
Errors field that describes the errors.
If the system detects a document-level error in your input document, the API returns an
InvalidRequestException error response. For details about this exception, see Errors in semi-structured
documents in the Comprehend Developer Guide.
classifyDocumentAsync in interface AmazonComprehendAsyncpublic Future<ClassifyDocumentResult> classifyDocumentAsync(ClassifyDocumentRequest request, AsyncHandler<ClassifyDocumentRequest,ClassifyDocumentResult> asyncHandler)
AmazonComprehendAsync
Creates a classification request to analyze a single document in real-time. ClassifyDocument
supports the following model types:
Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide.
Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for
generative AI applications. For input, you provide English plain text input. For prompt safety classification,
the response includes only the Classes field. For more information about prompt safety classifiers,
see Prompt
safety classification in the Amazon Comprehend Developer Guide.
If the system detects errors while processing a page in the input document, the API response includes an
Errors field that describes the errors.
If the system detects a document-level error in your input document, the API returns an
InvalidRequestException error response. For details about this exception, see Errors in semi-structured
documents in the Comprehend Developer Guide.
classifyDocumentAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ContainsPiiEntitiesResult> containsPiiEntitiesAsync(ContainsPiiEntitiesRequest request)
AmazonComprehendAsyncAnalyzes 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 AmazonComprehendAsyncpublic Future<ContainsPiiEntitiesResult> containsPiiEntitiesAsync(ContainsPiiEntitiesRequest request, AsyncHandler<ContainsPiiEntitiesRequest,ContainsPiiEntitiesResult> asyncHandler)
AmazonComprehendAsyncAnalyzes 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest request)
AmazonComprehendAsyncCreates a dataset to upload training or test data for a model associated with a flywheel. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
createDatasetAsync in interface AmazonComprehendAsyncpublic Future<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest request, AsyncHandler<CreateDatasetRequest,CreateDatasetResult> asyncHandler)
AmazonComprehendAsyncCreates a dataset to upload training or test data for a model associated with a flywheel. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
createDatasetAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDocumentClassifierResult> createDocumentClassifierAsync(CreateDocumentClassifierRequest request)
AmazonComprehendAsyncCreates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that are labeled with the categories that you want to use. For more information, see Training classifier models in the Comprehend Developer Guide.
createDocumentClassifierAsync in interface AmazonComprehendAsyncpublic Future<CreateDocumentClassifierResult> createDocumentClassifierAsync(CreateDocumentClassifierRequest request, AsyncHandler<CreateDocumentClassifierRequest,CreateDocumentClassifierResult> asyncHandler)
AmazonComprehendAsyncCreates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that are labeled with the categories that you want to use. For more information, see Training classifier models in the Comprehend Developer Guide.
createDocumentClassifierAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request)
AmazonComprehendAsyncCreates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.
createEndpointAsync in interface AmazonComprehendAsyncpublic Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request, AsyncHandler<CreateEndpointRequest,CreateEndpointResult> asyncHandler)
AmazonComprehendAsyncCreates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.
createEndpointAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<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 DescribeEntityRecognizer API.
createEntityRecognizerAsync in interface AmazonComprehendAsyncpublic 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 DescribeEntityRecognizer API.
createEntityRecognizerAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFlywheelResult> createFlywheelAsync(CreateFlywheelRequest request)
AmazonComprehendAsyncA flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition. You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model.
When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training data and test data for all versions of the model.
To use a flywheel with an existing trained model, you specify the active model version. Comprehend copies the model's training data and test data into the flywheel's data lake.
To use the flywheel with a new model, you need to provide a dataset for training data (and optional test data) when you create the flywheel.
For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
createFlywheelAsync in interface AmazonComprehendAsyncpublic Future<CreateFlywheelResult> createFlywheelAsync(CreateFlywheelRequest request, AsyncHandler<CreateFlywheelRequest,CreateFlywheelResult> asyncHandler)
AmazonComprehendAsyncA flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition. You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model.
When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training data and test data for all versions of the model.
To use a flywheel with an existing trained model, you specify the active model version. Comprehend copies the model's training data and test data into the flywheel's data lake.
To use the flywheel with a new model, you need to provide a dataset for training data (and optional test data) when you create the flywheel.
For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
createFlywheelAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDocumentClassifierResult> deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest request)
AmazonComprehendAsyncDeletes 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 AmazonComprehendAsyncpublic Future<DeleteDocumentClassifierResult> deleteDocumentClassifierAsync(DeleteDocumentClassifierRequest request, AsyncHandler<DeleteDocumentClassifierRequest,DeleteDocumentClassifierResult> asyncHandler)
AmazonComprehendAsyncDeletes 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request)
AmazonComprehendAsyncDeletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.
deleteEndpointAsync in interface AmazonComprehendAsyncpublic Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request, AsyncHandler<DeleteEndpointRequest,DeleteEndpointResult> asyncHandler)
AmazonComprehendAsyncDeletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.
deleteEndpointAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEntityRecognizerResult> deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest request)
AmazonComprehendAsyncDeletes 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 AmazonComprehendAsyncpublic Future<DeleteEntityRecognizerResult> deleteEntityRecognizerAsync(DeleteEntityRecognizerRequest request, AsyncHandler<DeleteEntityRecognizerRequest,DeleteEntityRecognizerResult> asyncHandler)
AmazonComprehendAsyncDeletes 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFlywheelResult> deleteFlywheelAsync(DeleteFlywheelRequest request)
AmazonComprehendAsyncDeletes a flywheel. When you delete the flywheel, Amazon Comprehend does not delete the data lake or the model associated with the flywheel.
For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
deleteFlywheelAsync in interface AmazonComprehendAsyncpublic Future<DeleteFlywheelResult> deleteFlywheelAsync(DeleteFlywheelRequest request, AsyncHandler<DeleteFlywheelRequest,DeleteFlywheelResult> asyncHandler)
AmazonComprehendAsyncDeletes a flywheel. When you delete the flywheel, Amazon Comprehend does not delete the data lake or the model associated with the flywheel.
For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
deleteFlywheelAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AmazonComprehendAsyncDeletes a resource-based policy that is attached to a custom model.
deleteResourcePolicyAsync in interface AmazonComprehendAsyncpublic Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AmazonComprehendAsyncDeletes a resource-based policy that is attached to a custom model.
deleteResourcePolicyAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest request)
AmazonComprehendAsyncReturns information about the dataset that you specify. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
describeDatasetAsync in interface AmazonComprehendAsyncpublic Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest request, AsyncHandler<DescribeDatasetRequest,DescribeDatasetResult> asyncHandler)
AmazonComprehendAsyncReturns information about the dataset that you specify. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
describeDatasetAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDocumentClassificationJobResult> describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest request)
AmazonComprehendAsyncGets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeDocumentClassificationJobResult> describeDocumentClassificationJobAsync(DescribeDocumentClassificationJobRequest request, AsyncHandler<DescribeDocumentClassificationJobRequest,DescribeDocumentClassificationJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDocumentClassifierResult> describeDocumentClassifierAsync(DescribeDocumentClassifierRequest request)
AmazonComprehendAsyncGets the properties associated with a document classifier.
describeDocumentClassifierAsync in interface AmazonComprehendAsyncpublic Future<DescribeDocumentClassifierResult> describeDocumentClassifierAsync(DescribeDocumentClassifierRequest request, AsyncHandler<DescribeDocumentClassifierRequest,DescribeDocumentClassifierResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a document classifier.
describeDocumentClassifierAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeDominantLanguageDetectionJobResult> describeDominantLanguageDetectionJobAsync(DescribeDominantLanguageDetectionJobRequest request, AsyncHandler<DescribeDominantLanguageDetectionJobRequest,DescribeDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request)
AmazonComprehendAsyncGets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.
describeEndpointAsync in interface AmazonComprehendAsyncpublic Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request, AsyncHandler<DescribeEndpointRequest,DescribeEndpointResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.
describeEndpointAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeEntitiesDetectionJobResult> describeEntitiesDetectionJobAsync(DescribeEntitiesDetectionJobRequest request, AsyncHandler<DescribeEntitiesDetectionJobRequest,DescribeEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEntityRecognizerResult> describeEntityRecognizerAsync(DescribeEntityRecognizerRequest request)
AmazonComprehendAsyncProvides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerAsync in interface AmazonComprehendAsyncpublic Future<DescribeEntityRecognizerResult> describeEntityRecognizerAsync(DescribeEntityRecognizerRequest request, AsyncHandler<DescribeEntityRecognizerRequest,DescribeEntityRecognizerResult> asyncHandler)
AmazonComprehendAsyncProvides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventsDetectionJobResult> describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest request)
AmazonComprehendAsyncGets the status and details of an events detection job.
describeEventsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeEventsDetectionJobResult> describeEventsDetectionJobAsync(DescribeEventsDetectionJobRequest request, AsyncHandler<DescribeEventsDetectionJobRequest,DescribeEventsDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the status and details of an events detection job.
describeEventsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFlywheelResult> describeFlywheelAsync(DescribeFlywheelRequest request)
AmazonComprehendAsyncProvides configuration information about the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
describeFlywheelAsync in interface AmazonComprehendAsyncpublic Future<DescribeFlywheelResult> describeFlywheelAsync(DescribeFlywheelRequest request, AsyncHandler<DescribeFlywheelRequest,DescribeFlywheelResult> asyncHandler)
AmazonComprehendAsyncProvides configuration information about the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
describeFlywheelAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFlywheelIterationResult> describeFlywheelIterationAsync(DescribeFlywheelIterationRequest request)
AmazonComprehendAsyncRetrieve the configuration properties of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
describeFlywheelIterationAsync in interface AmazonComprehendAsyncpublic Future<DescribeFlywheelIterationResult> describeFlywheelIterationAsync(DescribeFlywheelIterationRequest request, AsyncHandler<DescribeFlywheelIterationRequest,DescribeFlywheelIterationResult> asyncHandler)
AmazonComprehendAsyncRetrieve the configuration properties of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
describeFlywheelIterationAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeKeyPhrasesDetectionJobResult> describeKeyPhrasesDetectionJobAsync(DescribeKeyPhrasesDetectionJobRequest request, AsyncHandler<DescribeKeyPhrasesDetectionJobRequest,DescribeKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribePiiEntitiesDetectionJobResult> describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
describePiiEntitiesDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribePiiEntitiesDetectionJobResult> describePiiEntitiesDetectionJobAsync(DescribePiiEntitiesDetectionJobRequest request, AsyncHandler<DescribePiiEntitiesDetectionJobRequest,DescribePiiEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
describePiiEntitiesDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResourcePolicyResult> describeResourcePolicyAsync(DescribeResourcePolicyRequest request)
AmazonComprehendAsyncGets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.
describeResourcePolicyAsync in interface AmazonComprehendAsyncpublic Future<DescribeResourcePolicyResult> describeResourcePolicyAsync(DescribeResourcePolicyRequest request, AsyncHandler<DescribeResourcePolicyRequest,DescribeResourcePolicyResult> asyncHandler)
AmazonComprehendAsyncGets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.
describeResourcePolicyAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeSentimentDetectionJobResult> describeSentimentDetectionJobAsync(DescribeSentimentDetectionJobRequest request, AsyncHandler<DescribeSentimentDetectionJobRequest,DescribeSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTargetedSentimentDetectionJobResult> describeTargetedSentimentDetectionJobAsync(DescribeTargetedSentimentDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a targeted sentiment detection job. Use this operation to get the status of the job.
describeTargetedSentimentDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeTargetedSentimentDetectionJobResult> describeTargetedSentimentDetectionJobAsync(DescribeTargetedSentimentDetectionJobRequest request, AsyncHandler<DescribeTargetedSentimentDetectionJobRequest,DescribeTargetedSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a targeted sentiment detection job. Use this operation to get the status of the job.
describeTargetedSentimentDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request)
AmazonComprehendAsyncGets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<DescribeTopicsDetectionJobResult> describeTopicsDetectionJobAsync(DescribeTopicsDetectionJobRequest request, AsyncHandler<DescribeTopicsDetectionJobRequest,DescribeTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsyncGets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request)
AmazonComprehendAsyncDetermines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageAsync in interface AmazonComprehendAsyncpublic Future<DetectDominantLanguageResult> detectDominantLanguageAsync(DetectDominantLanguageRequest request, AsyncHandler<DetectDominantLanguageRequest,DetectDominantLanguageResult> asyncHandler)
AmazonComprehendAsyncDetermines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request)
AmazonComprehendAsyncDetects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model.
When detecting named entities using the pre-trained model, use plain text as the input. For more information about named entities, see Entities in the Comprehend Developer Guide.
When you use a custom entity recognition model, you can input plain text or you can upload a single-page input document (text, PDF, Word, or image).
If the system detects errors while processing a page in the input document, the API response includes an entry in
Errors for each error.
If the system detects a document-level error in your input document, the API returns an
InvalidRequestException error response. For details about this exception, see Errors in semi-structured
documents in the Comprehend Developer Guide.
detectEntitiesAsync in interface AmazonComprehendAsyncpublic Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request, AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
AmazonComprehendAsyncDetects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model.
When detecting named entities using the pre-trained model, use plain text as the input. For more information about named entities, see Entities in the Comprehend Developer Guide.
When you use a custom entity recognition model, you can input plain text or you can upload a single-page input document (text, PDF, Word, or image).
If the system detects errors while processing a page in the input document, the API response includes an entry in
Errors for each error.
If the system detects a document-level error in your input document, the API returns an
InvalidRequestException error response. For details about this exception, see Errors in semi-structured
documents in the Comprehend Developer Guide.
detectEntitiesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request)
AmazonComprehendAsyncDetects the key noun phrases found in the text.
detectKeyPhrasesAsync in interface AmazonComprehendAsyncpublic Future<DetectKeyPhrasesResult> detectKeyPhrasesAsync(DetectKeyPhrasesRequest request, AsyncHandler<DetectKeyPhrasesRequest,DetectKeyPhrasesResult> asyncHandler)
AmazonComprehendAsyncDetects the key noun phrases found in the text.
detectKeyPhrasesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectPiiEntitiesResult> detectPiiEntitiesAsync(DetectPiiEntitiesRequest request)
AmazonComprehendAsyncInspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detectPiiEntitiesAsync in interface AmazonComprehendAsyncpublic Future<DetectPiiEntitiesResult> detectPiiEntitiesAsync(DetectPiiEntitiesRequest request, AsyncHandler<DetectPiiEntitiesRequest,DetectPiiEntitiesResult> asyncHandler)
AmazonComprehendAsyncInspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detectPiiEntitiesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL,
MIXED, or NEGATIVE).
detectSentimentAsync in interface AmazonComprehendAsyncpublic Future<DetectSentimentResult> detectSentimentAsync(DetectSentimentRequest request, AsyncHandler<DetectSentimentRequest,DetectSentimentResult> asyncHandler)
AmazonComprehendAsync
Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL,
MIXED, or NEGATIVE).
detectSentimentAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest request)
AmazonComprehendAsyncInspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.
detectSyntaxAsync in interface AmazonComprehendAsyncpublic Future<DetectSyntaxResult> detectSyntaxAsync(DetectSyntaxRequest request, AsyncHandler<DetectSyntaxRequest,DetectSyntaxResult> asyncHandler)
AmazonComprehendAsyncInspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.
detectSyntaxAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectTargetedSentimentResult> detectTargetedSentimentAsync(DetectTargetedSentimentRequest request)
AmazonComprehendAsyncInspects the input text and returns a sentiment analysis for each entity identified in the text.
For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
detectTargetedSentimentAsync in interface AmazonComprehendAsyncpublic Future<DetectTargetedSentimentResult> detectTargetedSentimentAsync(DetectTargetedSentimentRequest request, AsyncHandler<DetectTargetedSentimentRequest,DetectTargetedSentimentResult> asyncHandler)
AmazonComprehendAsyncInspects the input text and returns a sentiment analysis for each entity identified in the text.
For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.
detectTargetedSentimentAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectToxicContentResult> detectToxicContentAsync(DetectToxicContentRequest request)
AmazonComprehendAsyncPerforms toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
detectToxicContentAsync in interface AmazonComprehendAsyncpublic Future<DetectToxicContentResult> detectToxicContentAsync(DetectToxicContentRequest request, AsyncHandler<DetectToxicContentRequest,DetectToxicContentResult> asyncHandler)
AmazonComprehendAsyncPerforms toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
detectToxicContentAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ImportModelResult> importModelAsync(ImportModelRequest request)
AmazonComprehendAsyncCreates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one.
If the source model is in another Amazon Web Services account, then it must have a resource-based policy that authorizes you to import it.
The source model must be in the same Amazon Web Services Region that you're using when you import. You can't import a model that's in a different Region.
importModelAsync in interface AmazonComprehendAsyncpublic Future<ImportModelResult> importModelAsync(ImportModelRequest request, AsyncHandler<ImportModelRequest,ImportModelResult> asyncHandler)
AmazonComprehendAsyncCreates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one.
If the source model is in another Amazon Web Services account, then it must have a resource-based policy that authorizes you to import it.
The source model must be in the same Amazon Web Services Region that you're using when you import. You can't import a model that's in a different Region.
importModelAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDatasetsResult> listDatasetsAsync(ListDatasetsRequest request)
AmazonComprehendAsyncList the datasets that you have configured in this Region. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
listDatasetsAsync in interface AmazonComprehendAsyncpublic Future<ListDatasetsResult> listDatasetsAsync(ListDatasetsRequest request, AsyncHandler<ListDatasetsRequest,ListDatasetsResult> asyncHandler)
AmazonComprehendAsyncList the datasets that you have configured in this Region. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
listDatasetsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDocumentClassificationJobsResult> listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest request)
AmazonComprehendAsyncGets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsAsync in interface AmazonComprehendAsyncpublic Future<ListDocumentClassificationJobsResult> listDocumentClassificationJobsAsync(ListDocumentClassificationJobsRequest request, AsyncHandler<ListDocumentClassificationJobsRequest,ListDocumentClassificationJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDocumentClassifierSummariesResult> listDocumentClassifierSummariesAsync(ListDocumentClassifierSummariesRequest request)
AmazonComprehendAsyncGets a list of summaries of the document classifiers that you have created
listDocumentClassifierSummariesAsync in interface AmazonComprehendAsyncpublic Future<ListDocumentClassifierSummariesResult> listDocumentClassifierSummariesAsync(ListDocumentClassifierSummariesRequest request, AsyncHandler<ListDocumentClassifierSummariesRequest,ListDocumentClassifierSummariesResult> asyncHandler)
AmazonComprehendAsyncGets a list of summaries of the document classifiers that you have created
listDocumentClassifierSummariesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDocumentClassifiersResult> listDocumentClassifiersAsync(ListDocumentClassifiersRequest request)
AmazonComprehendAsyncGets a list of the document classifiers that you have created.
listDocumentClassifiersAsync in interface AmazonComprehendAsyncpublic Future<ListDocumentClassifiersResult> listDocumentClassifiersAsync(ListDocumentClassifiersRequest request, AsyncHandler<ListDocumentClassifiersRequest,ListDocumentClassifiersResult> asyncHandler)
AmazonComprehendAsyncGets a list of the document classifiers that you have created.
listDocumentClassifiersAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListDominantLanguageDetectionJobsResult> listDominantLanguageDetectionJobsAsync(ListDominantLanguageDetectionJobsRequest request, AsyncHandler<ListDominantLanguageDetectionJobsRequest,ListDominantLanguageDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEndpointsResult> listEndpointsAsync(ListEndpointsRequest request)
AmazonComprehendAsyncGets a list of all existing endpoints that you've created. For information about endpoints, see Managing endpoints.
listEndpointsAsync in interface AmazonComprehendAsyncpublic Future<ListEndpointsResult> listEndpointsAsync(ListEndpointsRequest request, AsyncHandler<ListEndpointsRequest,ListEndpointsResult> asyncHandler)
AmazonComprehendAsyncGets a list of all existing endpoints that you've created. For information about endpoints, see Managing endpoints.
listEndpointsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListEntitiesDetectionJobsResult> listEntitiesDetectionJobsAsync(ListEntitiesDetectionJobsRequest request, AsyncHandler<ListEntitiesDetectionJobsRequest,ListEntitiesDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntityRecognizerSummariesResult> listEntityRecognizerSummariesAsync(ListEntityRecognizerSummariesRequest request)
AmazonComprehendAsyncGets a list of summaries for the entity recognizers that you have created.
listEntityRecognizerSummariesAsync in interface AmazonComprehendAsyncpublic Future<ListEntityRecognizerSummariesResult> listEntityRecognizerSummariesAsync(ListEntityRecognizerSummariesRequest request, AsyncHandler<ListEntityRecognizerSummariesRequest,ListEntityRecognizerSummariesResult> asyncHandler)
AmazonComprehendAsyncGets a list of summaries for the entity recognizers that you have created.
listEntityRecognizerSummariesAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntityRecognizersResult> listEntityRecognizersAsync(ListEntityRecognizersRequest request)
AmazonComprehendAsyncGets 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 AmazonComprehendAsyncpublic Future<ListEntityRecognizersResult> listEntityRecognizersAsync(ListEntityRecognizersRequest request, AsyncHandler<ListEntityRecognizersRequest,ListEntityRecognizersResult> asyncHandler)
AmazonComprehendAsyncGets 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEventsDetectionJobsResult> listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of the events detection jobs that you have submitted.
listEventsDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListEventsDetectionJobsResult> listEventsDetectionJobsAsync(ListEventsDetectionJobsRequest request, AsyncHandler<ListEventsDetectionJobsRequest,ListEventsDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the events detection jobs that you have submitted.
listEventsDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFlywheelIterationHistoryResult> listFlywheelIterationHistoryAsync(ListFlywheelIterationHistoryRequest request)
AmazonComprehendAsyncInformation about the history of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
listFlywheelIterationHistoryAsync in interface AmazonComprehendAsyncpublic Future<ListFlywheelIterationHistoryResult> listFlywheelIterationHistoryAsync(ListFlywheelIterationHistoryRequest request, AsyncHandler<ListFlywheelIterationHistoryRequest,ListFlywheelIterationHistoryResult> asyncHandler)
AmazonComprehendAsyncInformation about the history of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
listFlywheelIterationHistoryAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFlywheelsResult> listFlywheelsAsync(ListFlywheelsRequest request)
AmazonComprehendAsyncGets a list of the flywheels that you have created.
listFlywheelsAsync in interface AmazonComprehendAsyncpublic Future<ListFlywheelsResult> listFlywheelsAsync(ListFlywheelsRequest request, AsyncHandler<ListFlywheelsRequest,ListFlywheelsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the flywheels that you have created.
listFlywheelsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest request)
AmazonComprehendAsyncGet a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListKeyPhrasesDetectionJobsResult> listKeyPhrasesDetectionJobsAsync(ListKeyPhrasesDetectionJobsRequest request, AsyncHandler<ListKeyPhrasesDetectionJobsRequest,ListKeyPhrasesDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGet a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPiiEntitiesDetectionJobsResult> listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of the PII entity detection jobs that you have submitted.
listPiiEntitiesDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListPiiEntitiesDetectionJobsResult> listPiiEntitiesDetectionJobsAsync(ListPiiEntitiesDetectionJobsRequest request, AsyncHandler<ListPiiEntitiesDetectionJobsRequest,ListPiiEntitiesDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the PII entity detection jobs that you have submitted.
listPiiEntitiesDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListSentimentDetectionJobsResult> listSentimentDetectionJobsAsync(ListSentimentDetectionJobsRequest request, AsyncHandler<ListSentimentDetectionJobsRequest,ListSentimentDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonComprehendAsyncLists all tags associated with a given Amazon Comprehend resource.
listTagsForResourceAsync in interface AmazonComprehendAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonComprehendAsyncLists all tags associated with a given Amazon Comprehend resource.
listTagsForResourceAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTargetedSentimentDetectionJobsResult> listTargetedSentimentDetectionJobsAsync(ListTargetedSentimentDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of targeted sentiment detection jobs that you have submitted.
listTargetedSentimentDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListTargetedSentimentDetectionJobsResult> listTargetedSentimentDetectionJobsAsync(ListTargetedSentimentDetectionJobsRequest request, AsyncHandler<ListTargetedSentimentDetectionJobsRequest,ListTargetedSentimentDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of targeted sentiment detection jobs that you have submitted.
listTargetedSentimentDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request)
AmazonComprehendAsyncGets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync in interface AmazonComprehendAsyncpublic Future<ListTopicsDetectionJobsResult> listTopicsDetectionJobsAsync(ListTopicsDetectionJobsRequest request, AsyncHandler<ListTopicsDetectionJobsRequest,ListTopicsDetectionJobsResult> asyncHandler)
AmazonComprehendAsyncGets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AmazonComprehendAsyncAttaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon Comprehend in their account.
putResourcePolicyAsync in interface AmazonComprehendAsyncpublic Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AmazonComprehendAsyncAttaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon Comprehend in their account.
putResourcePolicyAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDocumentClassificationJobResult> startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest request)
AmazonComprehendAsync
Starts an asynchronous document classification job using a custom classification model. Use the
DescribeDocumentClassificationJob operation to track the progress of the job.
startDocumentClassificationJobAsync in interface AmazonComprehendAsyncpublic Future<StartDocumentClassificationJobResult> startDocumentClassificationJobAsync(StartDocumentClassificationJobRequest request, AsyncHandler<StartDocumentClassificationJobRequest,StartDocumentClassificationJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous document classification job using a custom classification model. Use the
DescribeDocumentClassificationJob operation to track the progress of the job.
startDocumentClassificationJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest request)
AmazonComprehendAsyncStarts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartDominantLanguageDetectionJobResult> startDominantLanguageDetectionJobAsync(StartDominantLanguageDetectionJobRequest request, AsyncHandler<StartDominantLanguageDetectionJobRequest,StartDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStarts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest request)
AmazonComprehendAsyncStarts 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 AmazonComprehendAsyncpublic Future<StartEntitiesDetectionJobResult> startEntitiesDetectionJobAsync(StartEntitiesDetectionJobRequest request, AsyncHandler<StartEntitiesDetectionJobRequest,StartEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStarts 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartEventsDetectionJobResult> startEventsDetectionJobAsync(StartEventsDetectionJobRequest request)
AmazonComprehendAsyncStarts an asynchronous event detection job for a collection of documents.
startEventsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartEventsDetectionJobResult> startEventsDetectionJobAsync(StartEventsDetectionJobRequest request, AsyncHandler<StartEventsDetectionJobRequest,StartEventsDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStarts an asynchronous event detection job for a collection of documents.
startEventsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartFlywheelIterationResult> startFlywheelIterationAsync(StartFlywheelIterationRequest request)
AmazonComprehendAsyncStart the flywheel iteration.This operation uses any new datasets to train a new model version. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
startFlywheelIterationAsync in interface AmazonComprehendAsyncpublic Future<StartFlywheelIterationResult> startFlywheelIterationAsync(StartFlywheelIterationRequest request, AsyncHandler<StartFlywheelIterationRequest,StartFlywheelIterationResult> asyncHandler)
AmazonComprehendAsyncStart the flywheel iteration.This operation uses any new datasets to train a new model version. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
startFlywheelIterationAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsyncStarts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartKeyPhrasesDetectionJobResult> startKeyPhrasesDetectionJobAsync(StartKeyPhrasesDetectionJobRequest request, AsyncHandler<StartKeyPhrasesDetectionJobRequest,StartKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStarts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartPiiEntitiesDetectionJobResult> startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest request)
AmazonComprehendAsyncStarts an asynchronous PII entity detection job for a collection of documents.
startPiiEntitiesDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartPiiEntitiesDetectionJobResult> startPiiEntitiesDetectionJobAsync(StartPiiEntitiesDetectionJobRequest request, AsyncHandler<StartPiiEntitiesDetectionJobRequest,StartPiiEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStarts an asynchronous PII entity detection job for a collection of documents.
startPiiEntitiesDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest request)
AmazonComprehendAsyncStarts an asynchronous sentiment detection job for a collection of documents. Use the operation to track the status of a job.
startSentimentDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartSentimentDetectionJobResult> startSentimentDetectionJobAsync(StartSentimentDetectionJobRequest request, AsyncHandler<StartSentimentDetectionJobRequest,StartSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStarts an asynchronous sentiment detection job for a collection of documents. Use the operation to track the status of a job.
startSentimentDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartTargetedSentimentDetectionJobResult> startTargetedSentimentDetectionJobAsync(StartTargetedSentimentDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the
DescribeTargetedSentimentDetectionJob operation to track the status of a job.
startTargetedSentimentDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartTargetedSentimentDetectionJobResult> startTargetedSentimentDetectionJobAsync(StartTargetedSentimentDetectionJobRequest request, AsyncHandler<StartTargetedSentimentDetectionJobRequest,StartTargetedSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the
DescribeTargetedSentimentDetectionJob operation to track the status of a job.
startTargetedSentimentDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest request)
AmazonComprehendAsync
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the
status of a job.
startTopicsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StartTopicsDetectionJobResult> startTopicsDetectionJobAsync(StartTopicsDetectionJobRequest request, AsyncHandler<StartTopicsDetectionJobRequest,StartTopicsDetectionJobResult> asyncHandler)
AmazonComprehendAsync
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the
status of a job.
startTopicsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest request)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncpublic Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(StopDominantLanguageDetectionJobRequest request, AsyncHandler<StopDominantLanguageDetectionJobRequest,StopDominantLanguageDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest request)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncpublic Future<StopEntitiesDetectionJobResult> stopEntitiesDetectionJobAsync(StopEntitiesDetectionJobRequest request, AsyncHandler<StopEntitiesDetectionJobRequest,StopEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest request)
AmazonComprehendAsyncStops an events detection job in progress.
stopEventsDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest request, AsyncHandler<StopEventsDetectionJobRequest,StopEventsDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops an events detection job in progress.
stopEventsDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest request)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncpublic Future<StopKeyPhrasesDetectionJobResult> stopKeyPhrasesDetectionJobAsync(StopKeyPhrasesDetectionJobRequest request, AsyncHandler<StopKeyPhrasesDetectionJobRequest,StopKeyPhrasesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopPiiEntitiesDetectionJobResult> stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest request)
AmazonComprehendAsyncStops a PII entities detection job in progress.
stopPiiEntitiesDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StopPiiEntitiesDetectionJobResult> stopPiiEntitiesDetectionJobAsync(StopPiiEntitiesDetectionJobRequest request, AsyncHandler<StopPiiEntitiesDetectionJobRequest,StopPiiEntitiesDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops a PII entities detection job in progress.
stopPiiEntitiesDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest request)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncpublic Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(StopSentimentDetectionJobRequest request, AsyncHandler<StopSentimentDetectionJobRequest,StopSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopTargetedSentimentDetectionJobResult> stopTargetedSentimentDetectionJobAsync(StopTargetedSentimentDetectionJobRequest request)
AmazonComprehendAsyncStops a targeted 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.
stopTargetedSentimentDetectionJobAsync in interface AmazonComprehendAsyncpublic Future<StopTargetedSentimentDetectionJobResult> stopTargetedSentimentDetectionJobAsync(StopTargetedSentimentDetectionJobRequest request, AsyncHandler<StopTargetedSentimentDetectionJobRequest,StopTargetedSentimentDetectionJobResult> asyncHandler)
AmazonComprehendAsyncStops a targeted 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.
stopTargetedSentimentDetectionJobAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest request)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncpublic Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(StopTrainingDocumentClassifierRequest request, AsyncHandler<StopTrainingDocumentClassifierRequest,StopTrainingDocumentClassifierResult> asyncHandler)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest request)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncpublic Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(StopTrainingEntityRecognizerRequest request, AsyncHandler<StopTrainingEntityRecognizerRequest,StopTrainingEntityRecognizerResult> asyncHandler)
AmazonComprehendAsyncStops 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonComprehendAsyncAssociates 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 AmazonComprehendAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonComprehendAsyncAssociates 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 AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonComprehendAsyncRemoves a specific tag associated with an Amazon Comprehend resource.
untagResourceAsync in interface AmazonComprehendAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonComprehendAsyncRemoves a specific tag associated with an Amazon Comprehend resource.
untagResourceAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest request)
AmazonComprehendAsyncUpdates information about the specified endpoint. For information about endpoints, see Managing endpoints.
updateEndpointAsync in interface AmazonComprehendAsyncpublic Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest request, AsyncHandler<UpdateEndpointRequest,UpdateEndpointResult> asyncHandler)
AmazonComprehendAsyncUpdates information about the specified endpoint. For information about endpoints, see Managing endpoints.
updateEndpointAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlywheelResult> updateFlywheelAsync(UpdateFlywheelRequest request)
AmazonComprehendAsyncUpdate the configuration information for an existing flywheel.
updateFlywheelAsync in interface AmazonComprehendAsyncpublic Future<UpdateFlywheelResult> updateFlywheelAsync(UpdateFlywheelRequest request, AsyncHandler<UpdateFlywheelRequest,UpdateFlywheelResult> asyncHandler)
AmazonComprehendAsyncUpdate the configuration information for an existing flywheel.
updateFlywheelAsync in interface AmazonComprehendAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.