@Generated(value="software.amazon.awssdk:codegen") public interface ComprehendAsyncClient extends SdkClient
builder()
method.
Amazon Comprehend is an AWS service for gaining insight into the content of documents. Use these actions to determine the topics contained in your documents, the topics they discuss, the predominant sentiment expressed in them, the predominant language used, and more.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<BatchDetectDominantLanguageResponse> |
batchDetectDominantLanguage(BatchDetectDominantLanguageRequest batchDetectDominantLanguageRequest)
Determines the dominant language of the input text for a batch of documents.
|
default CompletableFuture<BatchDetectDominantLanguageResponse> |
batchDetectDominantLanguage(Consumer<BatchDetectDominantLanguageRequest.Builder> batchDetectDominantLanguageRequest)
Determines the dominant language of the input text for a batch of documents.
|
default CompletableFuture<BatchDetectEntitiesResponse> |
batchDetectEntities(BatchDetectEntitiesRequest batchDetectEntitiesRequest)
Inspects the text of a batch of documents for named entities and returns information about them.
|
default CompletableFuture<BatchDetectEntitiesResponse> |
batchDetectEntities(Consumer<BatchDetectEntitiesRequest.Builder> batchDetectEntitiesRequest)
Inspects the text of a batch of documents for named entities and returns information about them.
|
default CompletableFuture<BatchDetectKeyPhrasesResponse> |
batchDetectKeyPhrases(BatchDetectKeyPhrasesRequest batchDetectKeyPhrasesRequest)
Detects the key noun phrases found in a batch of documents.
|
default CompletableFuture<BatchDetectKeyPhrasesResponse> |
batchDetectKeyPhrases(Consumer<BatchDetectKeyPhrasesRequest.Builder> batchDetectKeyPhrasesRequest)
Detects the key noun phrases found in a batch of documents.
|
default CompletableFuture<BatchDetectSentimentResponse> |
batchDetectSentiment(BatchDetectSentimentRequest batchDetectSentimentRequest)
Inspects a batch of documents and returns an inference of the prevailing sentiment,
POSITIVE ,
NEUTRAL , MIXED , or NEGATIVE , in each one. |
default CompletableFuture<BatchDetectSentimentResponse> |
batchDetectSentiment(Consumer<BatchDetectSentimentRequest.Builder> batchDetectSentimentRequest)
Inspects a batch of documents and returns an inference of the prevailing sentiment,
POSITIVE ,
NEUTRAL , MIXED , or NEGATIVE , in each one. |
default CompletableFuture<BatchDetectSyntaxResponse> |
batchDetectSyntax(BatchDetectSyntaxRequest batchDetectSyntaxRequest)
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and
returns information about them.
|
default CompletableFuture<BatchDetectSyntaxResponse> |
batchDetectSyntax(Consumer<BatchDetectSyntaxRequest.Builder> batchDetectSyntaxRequest)
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and
returns information about them.
|
static ComprehendAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ComprehendAsyncClient . |
static ComprehendAsyncClient |
create()
Create a
ComprehendAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateDocumentClassifierResponse> |
createDocumentClassifier(Consumer<CreateDocumentClassifierRequest.Builder> createDocumentClassifierRequest)
Creates a new document classifier that you can use to categorize documents.
|
default CompletableFuture<CreateDocumentClassifierResponse> |
createDocumentClassifier(CreateDocumentClassifierRequest createDocumentClassifierRequest)
Creates a new document classifier that you can use to categorize documents.
|
default CompletableFuture<CreateEntityRecognizerResponse> |
createEntityRecognizer(Consumer<CreateEntityRecognizerRequest.Builder> createEntityRecognizerRequest)
Creates an entity recognizer using submitted files.
|
default CompletableFuture<CreateEntityRecognizerResponse> |
createEntityRecognizer(CreateEntityRecognizerRequest createEntityRecognizerRequest)
Creates an entity recognizer using submitted files.
|
default CompletableFuture<DeleteDocumentClassifierResponse> |
deleteDocumentClassifier(Consumer<DeleteDocumentClassifierRequest.Builder> deleteDocumentClassifierRequest)
Deletes a previously created document classifier
|
default CompletableFuture<DeleteDocumentClassifierResponse> |
deleteDocumentClassifier(DeleteDocumentClassifierRequest deleteDocumentClassifierRequest)
Deletes a previously created document classifier
|
default CompletableFuture<DeleteEntityRecognizerResponse> |
deleteEntityRecognizer(Consumer<DeleteEntityRecognizerRequest.Builder> deleteEntityRecognizerRequest)
Deletes an entity recognizer.
|
default CompletableFuture<DeleteEntityRecognizerResponse> |
deleteEntityRecognizer(DeleteEntityRecognizerRequest deleteEntityRecognizerRequest)
Deletes an entity recognizer.
|
default CompletableFuture<DescribeDocumentClassificationJobResponse> |
describeDocumentClassificationJob(Consumer<DescribeDocumentClassificationJobRequest.Builder> describeDocumentClassificationJobRequest)
Gets the properties associated with a document classification job.
|
default CompletableFuture<DescribeDocumentClassificationJobResponse> |
describeDocumentClassificationJob(DescribeDocumentClassificationJobRequest describeDocumentClassificationJobRequest)
Gets the properties associated with a document classification job.
|
default CompletableFuture<DescribeDocumentClassifierResponse> |
describeDocumentClassifier(Consumer<DescribeDocumentClassifierRequest.Builder> describeDocumentClassifierRequest)
Gets the properties associated with a document classifier.
|
default CompletableFuture<DescribeDocumentClassifierResponse> |
describeDocumentClassifier(DescribeDocumentClassifierRequest describeDocumentClassifierRequest)
Gets the properties associated with a document classifier.
|
default CompletableFuture<DescribeDominantLanguageDetectionJobResponse> |
describeDominantLanguageDetectionJob(Consumer<DescribeDominantLanguageDetectionJobRequest.Builder> describeDominantLanguageDetectionJobRequest)
Gets the properties associated with a dominant language detection job.
|
default CompletableFuture<DescribeDominantLanguageDetectionJobResponse> |
describeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest describeDominantLanguageDetectionJobRequest)
Gets the properties associated with a dominant language detection job.
|
default CompletableFuture<DescribeEntitiesDetectionJobResponse> |
describeEntitiesDetectionJob(Consumer<DescribeEntitiesDetectionJobRequest.Builder> describeEntitiesDetectionJobRequest)
Gets the properties associated with an entities detection job.
|
default CompletableFuture<DescribeEntitiesDetectionJobResponse> |
describeEntitiesDetectionJob(DescribeEntitiesDetectionJobRequest describeEntitiesDetectionJobRequest)
Gets the properties associated with an entities detection job.
|
default CompletableFuture<DescribeEntityRecognizerResponse> |
describeEntityRecognizer(Consumer<DescribeEntityRecognizerRequest.Builder> describeEntityRecognizerRequest)
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer
metadata, metrics, and so on.
|
default CompletableFuture<DescribeEntityRecognizerResponse> |
describeEntityRecognizer(DescribeEntityRecognizerRequest describeEntityRecognizerRequest)
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer
metadata, metrics, and so on.
|
default CompletableFuture<DescribeKeyPhrasesDetectionJobResponse> |
describeKeyPhrasesDetectionJob(Consumer<DescribeKeyPhrasesDetectionJobRequest.Builder> describeKeyPhrasesDetectionJobRequest)
Gets the properties associated with a key phrases detection job.
|
default CompletableFuture<DescribeKeyPhrasesDetectionJobResponse> |
describeKeyPhrasesDetectionJob(DescribeKeyPhrasesDetectionJobRequest describeKeyPhrasesDetectionJobRequest)
Gets the properties associated with a key phrases detection job.
|
default CompletableFuture<DescribeSentimentDetectionJobResponse> |
describeSentimentDetectionJob(Consumer<DescribeSentimentDetectionJobRequest.Builder> describeSentimentDetectionJobRequest)
Gets the properties associated with a sentiment detection job.
|
default CompletableFuture<DescribeSentimentDetectionJobResponse> |
describeSentimentDetectionJob(DescribeSentimentDetectionJobRequest describeSentimentDetectionJobRequest)
Gets the properties associated with a sentiment detection job.
|
default CompletableFuture<DescribeTopicsDetectionJobResponse> |
describeTopicsDetectionJob(Consumer<DescribeTopicsDetectionJobRequest.Builder> describeTopicsDetectionJobRequest)
Gets the properties associated with a topic detection job.
|
default CompletableFuture<DescribeTopicsDetectionJobResponse> |
describeTopicsDetectionJob(DescribeTopicsDetectionJobRequest describeTopicsDetectionJobRequest)
Gets the properties associated with a topic detection job.
|
default CompletableFuture<DetectDominantLanguageResponse> |
detectDominantLanguage(Consumer<DetectDominantLanguageRequest.Builder> detectDominantLanguageRequest)
Determines the dominant language of the input text.
|
default CompletableFuture<DetectDominantLanguageResponse> |
detectDominantLanguage(DetectDominantLanguageRequest detectDominantLanguageRequest)
Determines the dominant language of the input text.
|
default CompletableFuture<DetectEntitiesResponse> |
detectEntities(Consumer<DetectEntitiesRequest.Builder> detectEntitiesRequest)
Inspects text for named entities, and returns information about them.
|
default CompletableFuture<DetectEntitiesResponse> |
detectEntities(DetectEntitiesRequest detectEntitiesRequest)
Inspects text for named entities, and returns information about them.
|
default CompletableFuture<DetectKeyPhrasesResponse> |
detectKeyPhrases(Consumer<DetectKeyPhrasesRequest.Builder> detectKeyPhrasesRequest)
Detects the key noun phrases found in the text.
|
default CompletableFuture<DetectKeyPhrasesResponse> |
detectKeyPhrases(DetectKeyPhrasesRequest detectKeyPhrasesRequest)
Detects the key noun phrases found in the text.
|
default CompletableFuture<DetectSentimentResponse> |
detectSentiment(Consumer<DetectSentimentRequest.Builder> detectSentimentRequest)
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE , NEUTRAL ,
MIXED , or NEGATIVE ). |
default CompletableFuture<DetectSentimentResponse> |
detectSentiment(DetectSentimentRequest detectSentimentRequest)
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE , NEUTRAL ,
MIXED , or NEGATIVE ). |
default CompletableFuture<DetectSyntaxResponse> |
detectSyntax(Consumer<DetectSyntaxRequest.Builder> detectSyntaxRequest)
Inspects text for syntax and the part of speech of words in the document.
|
default CompletableFuture<DetectSyntaxResponse> |
detectSyntax(DetectSyntaxRequest detectSyntaxRequest)
Inspects text for syntax and the part of speech of words in the document.
|
default CompletableFuture<ListDocumentClassificationJobsResponse> |
listDocumentClassificationJobs()
Gets a list of the documentation classification jobs that you have submitted.
|
default CompletableFuture<ListDocumentClassificationJobsResponse> |
listDocumentClassificationJobs(Consumer<ListDocumentClassificationJobsRequest.Builder> listDocumentClassificationJobsRequest)
Gets a list of the documentation classification jobs that you have submitted.
|
default CompletableFuture<ListDocumentClassificationJobsResponse> |
listDocumentClassificationJobs(ListDocumentClassificationJobsRequest listDocumentClassificationJobsRequest)
Gets a list of the documentation classification jobs that you have submitted.
|
default CompletableFuture<ListDocumentClassifiersResponse> |
listDocumentClassifiers()
Gets a list of the document classifiers that you have created.
|
default CompletableFuture<ListDocumentClassifiersResponse> |
listDocumentClassifiers(Consumer<ListDocumentClassifiersRequest.Builder> listDocumentClassifiersRequest)
Gets a list of the document classifiers that you have created.
|
default CompletableFuture<ListDocumentClassifiersResponse> |
listDocumentClassifiers(ListDocumentClassifiersRequest listDocumentClassifiersRequest)
Gets a list of the document classifiers that you have created.
|
default CompletableFuture<ListDominantLanguageDetectionJobsResponse> |
listDominantLanguageDetectionJobs()
Gets a list of the dominant language detection jobs that you have submitted.
|
default CompletableFuture<ListDominantLanguageDetectionJobsResponse> |
listDominantLanguageDetectionJobs(Consumer<ListDominantLanguageDetectionJobsRequest.Builder> listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
|
default CompletableFuture<ListDominantLanguageDetectionJobsResponse> |
listDominantLanguageDetectionJobs(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
|
default ListDominantLanguageDetectionJobsPublisher |
listDominantLanguageDetectionJobsPaginator()
Gets a list of the dominant language detection jobs that you have submitted.
|
default ListDominantLanguageDetectionJobsPublisher |
listDominantLanguageDetectionJobsPaginator(Consumer<ListDominantLanguageDetectionJobsRequest.Builder> listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
|
default ListDominantLanguageDetectionJobsPublisher |
listDominantLanguageDetectionJobsPaginator(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
|
default CompletableFuture<ListEntitiesDetectionJobsResponse> |
listEntitiesDetectionJobs()
Gets a list of the entity detection jobs that you have submitted.
|
default CompletableFuture<ListEntitiesDetectionJobsResponse> |
listEntitiesDetectionJobs(Consumer<ListEntitiesDetectionJobsRequest.Builder> listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
|
default CompletableFuture<ListEntitiesDetectionJobsResponse> |
listEntitiesDetectionJobs(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
|
default ListEntitiesDetectionJobsPublisher |
listEntitiesDetectionJobsPaginator()
Gets a list of the entity detection jobs that you have submitted.
|
default ListEntitiesDetectionJobsPublisher |
listEntitiesDetectionJobsPaginator(Consumer<ListEntitiesDetectionJobsRequest.Builder> listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
|
default ListEntitiesDetectionJobsPublisher |
listEntitiesDetectionJobsPaginator(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
|
default CompletableFuture<ListEntityRecognizersResponse> |
listEntityRecognizers()
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in
training.
|
default CompletableFuture<ListEntityRecognizersResponse> |
listEntityRecognizers(Consumer<ListEntityRecognizersRequest.Builder> listEntityRecognizersRequest)
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in
training.
|
default CompletableFuture<ListEntityRecognizersResponse> |
listEntityRecognizers(ListEntityRecognizersRequest listEntityRecognizersRequest)
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in
training.
|
default CompletableFuture<ListKeyPhrasesDetectionJobsResponse> |
listKeyPhrasesDetectionJobs()
Get a list of key phrase detection jobs that you have submitted.
|
default CompletableFuture<ListKeyPhrasesDetectionJobsResponse> |
listKeyPhrasesDetectionJobs(Consumer<ListKeyPhrasesDetectionJobsRequest.Builder> listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
|
default CompletableFuture<ListKeyPhrasesDetectionJobsResponse> |
listKeyPhrasesDetectionJobs(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
|
default ListKeyPhrasesDetectionJobsPublisher |
listKeyPhrasesDetectionJobsPaginator()
Get a list of key phrase detection jobs that you have submitted.
|
default ListKeyPhrasesDetectionJobsPublisher |
listKeyPhrasesDetectionJobsPaginator(Consumer<ListKeyPhrasesDetectionJobsRequest.Builder> listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
|
default ListKeyPhrasesDetectionJobsPublisher |
listKeyPhrasesDetectionJobsPaginator(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
|
default CompletableFuture<ListSentimentDetectionJobsResponse> |
listSentimentDetectionJobs()
Gets a list of sentiment detection jobs that you have submitted.
|
default CompletableFuture<ListSentimentDetectionJobsResponse> |
listSentimentDetectionJobs(Consumer<ListSentimentDetectionJobsRequest.Builder> listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
|
default CompletableFuture<ListSentimentDetectionJobsResponse> |
listSentimentDetectionJobs(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
|
default ListSentimentDetectionJobsPublisher |
listSentimentDetectionJobsPaginator()
Gets a list of sentiment detection jobs that you have submitted.
|
default ListSentimentDetectionJobsPublisher |
listSentimentDetectionJobsPaginator(Consumer<ListSentimentDetectionJobsRequest.Builder> listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
|
default ListSentimentDetectionJobsPublisher |
listSentimentDetectionJobsPaginator(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
|
default CompletableFuture<ListTopicsDetectionJobsResponse> |
listTopicsDetectionJobs()
Gets a list of the topic detection jobs that you have submitted.
|
default CompletableFuture<ListTopicsDetectionJobsResponse> |
listTopicsDetectionJobs(Consumer<ListTopicsDetectionJobsRequest.Builder> listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
|
default CompletableFuture<ListTopicsDetectionJobsResponse> |
listTopicsDetectionJobs(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
|
default ListTopicsDetectionJobsPublisher |
listTopicsDetectionJobsPaginator()
Gets a list of the topic detection jobs that you have submitted.
|
default ListTopicsDetectionJobsPublisher |
listTopicsDetectionJobsPaginator(Consumer<ListTopicsDetectionJobsRequest.Builder> listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
|
default ListTopicsDetectionJobsPublisher |
listTopicsDetectionJobsPaginator(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
|
default CompletableFuture<StartDocumentClassificationJobResponse> |
startDocumentClassificationJob(Consumer<StartDocumentClassificationJobRequest.Builder> startDocumentClassificationJobRequest)
Starts an asynchronous document classification job.
|
default CompletableFuture<StartDocumentClassificationJobResponse> |
startDocumentClassificationJob(StartDocumentClassificationJobRequest startDocumentClassificationJobRequest)
Starts an asynchronous document classification job.
|
default CompletableFuture<StartDominantLanguageDetectionJobResponse> |
startDominantLanguageDetectionJob(Consumer<StartDominantLanguageDetectionJobRequest.Builder> startDominantLanguageDetectionJobRequest)
Starts an asynchronous dominant language detection job for a collection of documents.
|
default CompletableFuture<StartDominantLanguageDetectionJobResponse> |
startDominantLanguageDetectionJob(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest)
Starts an asynchronous dominant language detection job for a collection of documents.
|
default CompletableFuture<StartEntitiesDetectionJobResponse> |
startEntitiesDetectionJob(Consumer<StartEntitiesDetectionJobRequest.Builder> startEntitiesDetectionJobRequest)
Starts an asynchronous entity detection job for a collection of documents.
|
default CompletableFuture<StartEntitiesDetectionJobResponse> |
startEntitiesDetectionJob(StartEntitiesDetectionJobRequest startEntitiesDetectionJobRequest)
Starts an asynchronous entity detection job for a collection of documents.
|
default CompletableFuture<StartKeyPhrasesDetectionJobResponse> |
startKeyPhrasesDetectionJob(Consumer<StartKeyPhrasesDetectionJobRequest.Builder> startKeyPhrasesDetectionJobRequest)
Starts an asynchronous key phrase detection job for a collection of documents.
|
default CompletableFuture<StartKeyPhrasesDetectionJobResponse> |
startKeyPhrasesDetectionJob(StartKeyPhrasesDetectionJobRequest startKeyPhrasesDetectionJobRequest)
Starts an asynchronous key phrase detection job for a collection of documents.
|
default CompletableFuture<StartSentimentDetectionJobResponse> |
startSentimentDetectionJob(Consumer<StartSentimentDetectionJobRequest.Builder> startSentimentDetectionJobRequest)
Starts an asynchronous sentiment detection job for a collection of documents.
|
default CompletableFuture<StartSentimentDetectionJobResponse> |
startSentimentDetectionJob(StartSentimentDetectionJobRequest startSentimentDetectionJobRequest)
Starts an asynchronous sentiment detection job for a collection of documents.
|
default CompletableFuture<StartTopicsDetectionJobResponse> |
startTopicsDetectionJob(Consumer<StartTopicsDetectionJobRequest.Builder> startTopicsDetectionJobRequest)
Starts an asynchronous topic detection job.
|
default CompletableFuture<StartTopicsDetectionJobResponse> |
startTopicsDetectionJob(StartTopicsDetectionJobRequest startTopicsDetectionJobRequest)
Starts an asynchronous topic detection job.
|
default CompletableFuture<StopDominantLanguageDetectionJobResponse> |
stopDominantLanguageDetectionJob(Consumer<StopDominantLanguageDetectionJobRequest.Builder> stopDominantLanguageDetectionJobRequest)
Stops a dominant language detection job in progress.
|
default CompletableFuture<StopDominantLanguageDetectionJobResponse> |
stopDominantLanguageDetectionJob(StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest)
Stops a dominant language detection job in progress.
|
default CompletableFuture<StopEntitiesDetectionJobResponse> |
stopEntitiesDetectionJob(Consumer<StopEntitiesDetectionJobRequest.Builder> stopEntitiesDetectionJobRequest)
Stops an entities detection job in progress.
|
default CompletableFuture<StopEntitiesDetectionJobResponse> |
stopEntitiesDetectionJob(StopEntitiesDetectionJobRequest stopEntitiesDetectionJobRequest)
Stops an entities detection job in progress.
|
default CompletableFuture<StopKeyPhrasesDetectionJobResponse> |
stopKeyPhrasesDetectionJob(Consumer<StopKeyPhrasesDetectionJobRequest.Builder> stopKeyPhrasesDetectionJobRequest)
Stops a key phrases detection job in progress.
|
default CompletableFuture<StopKeyPhrasesDetectionJobResponse> |
stopKeyPhrasesDetectionJob(StopKeyPhrasesDetectionJobRequest stopKeyPhrasesDetectionJobRequest)
Stops a key phrases detection job in progress.
|
default CompletableFuture<StopSentimentDetectionJobResponse> |
stopSentimentDetectionJob(Consumer<StopSentimentDetectionJobRequest.Builder> stopSentimentDetectionJobRequest)
Stops a sentiment detection job in progress.
|
default CompletableFuture<StopSentimentDetectionJobResponse> |
stopSentimentDetectionJob(StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest)
Stops a sentiment detection job in progress.
|
serviceName
close
static final String SERVICE_NAME
static ComprehendAsyncClient create()
ComprehendAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ComprehendAsyncClientBuilder builder()
ComprehendAsyncClient
.default CompletableFuture<BatchDetectDominantLanguageResponse> batchDetectDominantLanguage(BatchDetectDominantLanguageRequest batchDetectDominantLanguageRequest)
Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
batchDetectDominantLanguageRequest
- default CompletableFuture<BatchDetectDominantLanguageResponse> batchDetectDominantLanguage(Consumer<BatchDetectDominantLanguageRequest.Builder> batchDetectDominantLanguageRequest)
Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
This is a convenience which creates an instance of the BatchDetectDominantLanguageRequest.Builder
avoiding the need to create one manually via BatchDetectDominantLanguageRequest.builder()
batchDetectDominantLanguageRequest
- A Consumer
that will call methods on BatchDetectDominantLanguageRequest.Builder
to create
a request.default CompletableFuture<BatchDetectEntitiesResponse> batchDetectEntities(BatchDetectEntitiesRequest batchDetectEntitiesRequest)
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities
batchDetectEntitiesRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectEntitiesResponse> batchDetectEntities(Consumer<BatchDetectEntitiesRequest.Builder> batchDetectEntitiesRequest)
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities
This is a convenience which creates an instance of the BatchDetectEntitiesRequest.Builder
avoiding the
need to create one manually via BatchDetectEntitiesRequest.builder()
batchDetectEntitiesRequest
- A Consumer
that will call methods on BatchDetectEntitiesRequest.Builder
to create a
request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectKeyPhrasesResponse> batchDetectKeyPhrases(BatchDetectKeyPhrasesRequest batchDetectKeyPhrasesRequest)
Detects the key noun phrases found in a batch of documents.
batchDetectKeyPhrasesRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectKeyPhrasesResponse> batchDetectKeyPhrases(Consumer<BatchDetectKeyPhrasesRequest.Builder> batchDetectKeyPhrasesRequest)
Detects the key noun phrases found in a batch of documents.
This is a convenience which creates an instance of the BatchDetectKeyPhrasesRequest.Builder
avoiding the
need to create one manually via BatchDetectKeyPhrasesRequest.builder()
batchDetectKeyPhrasesRequest
- A Consumer
that will call methods on BatchDetectKeyPhrasesRequest.Builder
to create a
request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectSentimentResponse> batchDetectSentiment(BatchDetectSentimentRequest batchDetectSentimentRequest)
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE
,
NEUTRAL
, MIXED
, or NEGATIVE
, in each one.
batchDetectSentimentRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectSentimentResponse> batchDetectSentiment(Consumer<BatchDetectSentimentRequest.Builder> batchDetectSentimentRequest)
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE
,
NEUTRAL
, MIXED
, or NEGATIVE
, in each one.
This is a convenience which creates an instance of the BatchDetectSentimentRequest.Builder
avoiding the
need to create one manually via BatchDetectSentimentRequest.builder()
batchDetectSentimentRequest
- A Consumer
that will call methods on BatchDetectSentimentRequest.Builder
to create a
request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectSyntaxResponse> batchDetectSyntax(BatchDetectSyntaxRequest batchDetectSyntaxRequest)
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
batchDetectSyntaxRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<BatchDetectSyntaxResponse> batchDetectSyntax(Consumer<BatchDetectSyntaxRequest.Builder> batchDetectSyntaxRequest)
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
This is a convenience which creates an instance of the BatchDetectSyntaxRequest.Builder
avoiding the need
to create one manually via BatchDetectSyntaxRequest.builder()
batchDetectSyntaxRequest
- A Consumer
that will call methods on BatchDetectSyntaxRequest.Builder
to create a request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<CreateDocumentClassifierResponse> createDocumentClassifier(CreateDocumentClassifierRequest createDocumentClassifierRequest)
Creates a new document classifier that you can use to categorize documents. To create a classifier you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories.
createDocumentClassifierRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<CreateDocumentClassifierResponse> createDocumentClassifier(Consumer<CreateDocumentClassifierRequest.Builder> createDocumentClassifierRequest)
Creates a new document classifier that you can use to categorize documents. To create a classifier you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories.
This is a convenience which creates an instance of the CreateDocumentClassifierRequest.Builder
avoiding
the need to create one manually via CreateDocumentClassifierRequest.builder()
createDocumentClassifierRequest
- A Consumer
that will call methods on CreateDocumentClassifierRequest.Builder
to create a
request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<CreateEntityRecognizerResponse> createEntityRecognizer(CreateEntityRecognizerRequest createEntityRecognizerRequest)
Creates an entity recognizer using submitted files. After your CreateEntityRecognizer
request is
submitted, you can check job status using the API.
createEntityRecognizerRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<CreateEntityRecognizerResponse> createEntityRecognizer(Consumer<CreateEntityRecognizerRequest.Builder> createEntityRecognizerRequest)
Creates an entity recognizer using submitted files. After your CreateEntityRecognizer
request is
submitted, you can check job status using the API.
This is a convenience which creates an instance of the CreateEntityRecognizerRequest.Builder
avoiding the
need to create one manually via CreateEntityRecognizerRequest.builder()
createEntityRecognizerRequest
- A Consumer
that will call methods on CreateEntityRecognizerRequest.Builder
to create a
request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DeleteDocumentClassifierResponse> deleteDocumentClassifier(DeleteDocumentClassifierRequest deleteDocumentClassifierRequest)
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
deleteDocumentClassifierRequest
- TRAINED
state and try your request again.default CompletableFuture<DeleteDocumentClassifierResponse> deleteDocumentClassifier(Consumer<DeleteDocumentClassifierRequest.Builder> deleteDocumentClassifierRequest)
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
This is a convenience which creates an instance of the DeleteDocumentClassifierRequest.Builder
avoiding
the need to create one manually via DeleteDocumentClassifierRequest.builder()
deleteDocumentClassifierRequest
- A Consumer
that will call methods on DeleteDocumentClassifierRequest.Builder
to create a
request.TRAINED
state and try your request again.default CompletableFuture<DeleteEntityRecognizerResponse> deleteEntityRecognizer(DeleteEntityRecognizerRequest deleteEntityRecognizerRequest)
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
deleteEntityRecognizerRequest
- TRAINED
state and try your request again.default CompletableFuture<DeleteEntityRecognizerResponse> deleteEntityRecognizer(Consumer<DeleteEntityRecognizerRequest.Builder> deleteEntityRecognizerRequest)
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference
job is using the model, a ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
This is a convenience which creates an instance of the DeleteEntityRecognizerRequest.Builder
avoiding the
need to create one manually via DeleteEntityRecognizerRequest.builder()
deleteEntityRecognizerRequest
- A Consumer
that will call methods on DeleteEntityRecognizerRequest.Builder
to create a
request.TRAINED
state and try your request again.default CompletableFuture<DescribeDocumentClassificationJobResponse> describeDocumentClassificationJob(DescribeDocumentClassificationJobRequest describeDocumentClassificationJobRequest)
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
describeDocumentClassificationJobRequest
- default CompletableFuture<DescribeDocumentClassificationJobResponse> describeDocumentClassificationJob(Consumer<DescribeDocumentClassificationJobRequest.Builder> describeDocumentClassificationJobRequest)
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
This is a convenience which creates an instance of the DescribeDocumentClassificationJobRequest.Builder
avoiding the need to create one manually via DescribeDocumentClassificationJobRequest.builder()
describeDocumentClassificationJobRequest
- A Consumer
that will call methods on DescribeDocumentClassificationJobRequest.Builder
to
create a request.default CompletableFuture<DescribeDocumentClassifierResponse> describeDocumentClassifier(DescribeDocumentClassifierRequest describeDocumentClassifierRequest)
Gets the properties associated with a document classifier.
describeDocumentClassifierRequest
- default CompletableFuture<DescribeDocumentClassifierResponse> describeDocumentClassifier(Consumer<DescribeDocumentClassifierRequest.Builder> describeDocumentClassifierRequest)
Gets the properties associated with a document classifier.
This is a convenience which creates an instance of the DescribeDocumentClassifierRequest.Builder
avoiding
the need to create one manually via DescribeDocumentClassifierRequest.builder()
describeDocumentClassifierRequest
- A Consumer
that will call methods on DescribeDocumentClassifierRequest.Builder
to create a
request.default CompletableFuture<DescribeDominantLanguageDetectionJobResponse> describeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest describeDominantLanguageDetectionJobRequest)
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
describeDominantLanguageDetectionJobRequest
- default CompletableFuture<DescribeDominantLanguageDetectionJobResponse> describeDominantLanguageDetectionJob(Consumer<DescribeDominantLanguageDetectionJobRequest.Builder> describeDominantLanguageDetectionJobRequest)
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
This is a convenience which creates an instance of the
DescribeDominantLanguageDetectionJobRequest.Builder
avoiding the need to create one manually via
DescribeDominantLanguageDetectionJobRequest.builder()
describeDominantLanguageDetectionJobRequest
- A Consumer
that will call methods on DescribeDominantLanguageDetectionJobRequest.Builder
to create a request.default CompletableFuture<DescribeEntitiesDetectionJobResponse> describeEntitiesDetectionJob(DescribeEntitiesDetectionJobRequest describeEntitiesDetectionJobRequest)
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
describeEntitiesDetectionJobRequest
- default CompletableFuture<DescribeEntitiesDetectionJobResponse> describeEntitiesDetectionJob(Consumer<DescribeEntitiesDetectionJobRequest.Builder> describeEntitiesDetectionJobRequest)
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
This is a convenience which creates an instance of the DescribeEntitiesDetectionJobRequest.Builder
avoiding the need to create one manually via DescribeEntitiesDetectionJobRequest.builder()
describeEntitiesDetectionJobRequest
- A Consumer
that will call methods on DescribeEntitiesDetectionJobRequest.Builder
to create
a request.default CompletableFuture<DescribeEntityRecognizerResponse> describeEntityRecognizer(DescribeEntityRecognizerRequest describeEntityRecognizerRequest)
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describeEntityRecognizerRequest
- default CompletableFuture<DescribeEntityRecognizerResponse> describeEntityRecognizer(Consumer<DescribeEntityRecognizerRequest.Builder> describeEntityRecognizerRequest)
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
This is a convenience which creates an instance of the DescribeEntityRecognizerRequest.Builder
avoiding
the need to create one manually via DescribeEntityRecognizerRequest.builder()
describeEntityRecognizerRequest
- A Consumer
that will call methods on DescribeEntityRecognizerRequest.Builder
to create a
request.default CompletableFuture<DescribeKeyPhrasesDetectionJobResponse> describeKeyPhrasesDetectionJob(DescribeKeyPhrasesDetectionJobRequest describeKeyPhrasesDetectionJobRequest)
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
describeKeyPhrasesDetectionJobRequest
- default CompletableFuture<DescribeKeyPhrasesDetectionJobResponse> describeKeyPhrasesDetectionJob(Consumer<DescribeKeyPhrasesDetectionJobRequest.Builder> describeKeyPhrasesDetectionJobRequest)
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
This is a convenience which creates an instance of the DescribeKeyPhrasesDetectionJobRequest.Builder
avoiding the need to create one manually via DescribeKeyPhrasesDetectionJobRequest.builder()
describeKeyPhrasesDetectionJobRequest
- A Consumer
that will call methods on DescribeKeyPhrasesDetectionJobRequest.Builder
to
create a request.default CompletableFuture<DescribeSentimentDetectionJobResponse> describeSentimentDetectionJob(DescribeSentimentDetectionJobRequest describeSentimentDetectionJobRequest)
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
describeSentimentDetectionJobRequest
- default CompletableFuture<DescribeSentimentDetectionJobResponse> describeSentimentDetectionJob(Consumer<DescribeSentimentDetectionJobRequest.Builder> describeSentimentDetectionJobRequest)
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
This is a convenience which creates an instance of the DescribeSentimentDetectionJobRequest.Builder
avoiding the need to create one manually via DescribeSentimentDetectionJobRequest.builder()
describeSentimentDetectionJobRequest
- A Consumer
that will call methods on DescribeSentimentDetectionJobRequest.Builder
to
create a request.default CompletableFuture<DescribeTopicsDetectionJobResponse> describeTopicsDetectionJob(DescribeTopicsDetectionJobRequest describeTopicsDetectionJobRequest)
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
describeTopicsDetectionJobRequest
- default CompletableFuture<DescribeTopicsDetectionJobResponse> describeTopicsDetectionJob(Consumer<DescribeTopicsDetectionJobRequest.Builder> describeTopicsDetectionJobRequest)
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
This is a convenience which creates an instance of the DescribeTopicsDetectionJobRequest.Builder
avoiding
the need to create one manually via DescribeTopicsDetectionJobRequest.builder()
describeTopicsDetectionJobRequest
- A Consumer
that will call methods on DescribeTopicsDetectionJobRequest.Builder
to create a
request.default CompletableFuture<DetectDominantLanguageResponse> detectDominantLanguage(DetectDominantLanguageRequest detectDominantLanguageRequest)
Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
detectDominantLanguageRequest
- default CompletableFuture<DetectDominantLanguageResponse> detectDominantLanguage(Consumer<DetectDominantLanguageRequest.Builder> detectDominantLanguageRequest)
Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
This is a convenience which creates an instance of the DetectDominantLanguageRequest.Builder
avoiding the
need to create one manually via DetectDominantLanguageRequest.builder()
detectDominantLanguageRequest
- A Consumer
that will call methods on DetectDominantLanguageRequest.Builder
to create a
request.default CompletableFuture<DetectEntitiesResponse> detectEntities(DetectEntitiesRequest detectEntitiesRequest)
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
detectEntitiesRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectEntitiesResponse> detectEntities(Consumer<DetectEntitiesRequest.Builder> detectEntitiesRequest)
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
This is a convenience which creates an instance of the DetectEntitiesRequest.Builder
avoiding the need to
create one manually via DetectEntitiesRequest.builder()
detectEntitiesRequest
- A Consumer
that will call methods on DetectEntitiesRequest.Builder
to create a request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectKeyPhrasesResponse> detectKeyPhrases(DetectKeyPhrasesRequest detectKeyPhrasesRequest)
Detects the key noun phrases found in the text.
detectKeyPhrasesRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectKeyPhrasesResponse> detectKeyPhrases(Consumer<DetectKeyPhrasesRequest.Builder> detectKeyPhrasesRequest)
Detects the key noun phrases found in the text.
This is a convenience which creates an instance of the DetectKeyPhrasesRequest.Builder
avoiding the need
to create one manually via DetectKeyPhrasesRequest.builder()
detectKeyPhrasesRequest
- A Consumer
that will call methods on DetectKeyPhrasesRequest.Builder
to create a request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectSentimentResponse> detectSentiment(DetectSentimentRequest detectSentimentRequest)
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
,
MIXED
, or NEGATIVE
).
detectSentimentRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectSentimentResponse> detectSentiment(Consumer<DetectSentimentRequest.Builder> detectSentimentRequest)
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
,
MIXED
, or NEGATIVE
).
This is a convenience which creates an instance of the DetectSentimentRequest.Builder
avoiding the need
to create one manually via DetectSentimentRequest.builder()
detectSentimentRequest
- A Consumer
that will call methods on DetectSentimentRequest.Builder
to create a request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectSyntaxResponse> detectSyntax(DetectSyntaxRequest detectSyntaxRequest)
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
detectSyntaxRequest
- CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<DetectSyntaxResponse> detectSyntax(Consumer<DetectSyntaxRequest.Builder> detectSyntaxRequest)
Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
This is a convenience which creates an instance of the DetectSyntaxRequest.Builder
avoiding the need to
create one manually via DetectSyntaxRequest.builder()
detectSyntaxRequest
- A Consumer
that will call methods on DetectSyntaxRequest.Builder
to create a request.CreateEntityRecognizer
), only English is accepted.
For most other APIs, Amazon Comprehend accepts only English or Spanish text.default CompletableFuture<ListDocumentClassificationJobsResponse> listDocumentClassificationJobs(ListDocumentClassificationJobsRequest listDocumentClassificationJobsRequest)
Gets a list of the documentation classification jobs that you have submitted.
listDocumentClassificationJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDocumentClassificationJobsResponse> listDocumentClassificationJobs(Consumer<ListDocumentClassificationJobsRequest.Builder> listDocumentClassificationJobsRequest)
Gets a list of the documentation classification jobs that you have submitted.
This is a convenience which creates an instance of the ListDocumentClassificationJobsRequest.Builder
avoiding the need to create one manually via ListDocumentClassificationJobsRequest.builder()
listDocumentClassificationJobsRequest
- A Consumer
that will call methods on ListDocumentClassificationJobsRequest.Builder
to
create a request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDocumentClassificationJobsResponse> listDocumentClassificationJobs()
Gets a list of the documentation classification jobs that you have submitted.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDocumentClassifiersResponse> listDocumentClassifiers(ListDocumentClassifiersRequest listDocumentClassifiersRequest)
Gets a list of the document classifiers that you have created.
listDocumentClassifiersRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDocumentClassifiersResponse> listDocumentClassifiers(Consumer<ListDocumentClassifiersRequest.Builder> listDocumentClassifiersRequest)
Gets a list of the document classifiers that you have created.
This is a convenience which creates an instance of the ListDocumentClassifiersRequest.Builder
avoiding
the need to create one manually via ListDocumentClassifiersRequest.builder()
listDocumentClassifiersRequest
- A Consumer
that will call methods on ListDocumentClassifiersRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDocumentClassifiersResponse> listDocumentClassifiers()
Gets a list of the document classifiers that you have created.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDominantLanguageDetectionJobsResponse> listDominantLanguageDetectionJobs(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
listDominantLanguageDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDominantLanguageDetectionJobsResponse> listDominantLanguageDetectionJobs(Consumer<ListDominantLanguageDetectionJobsRequest.Builder> listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
This is a convenience which creates an instance of the ListDominantLanguageDetectionJobsRequest.Builder
avoiding the need to create one manually via ListDominantLanguageDetectionJobsRequest.builder()
listDominantLanguageDetectionJobsRequest
- A Consumer
that will call methods on ListDominantLanguageDetectionJobsRequest.Builder
to
create a request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListDominantLanguageDetectionJobsResponse> listDominantLanguageDetectionJobs()
Gets a list of the dominant language detection jobs that you have submitted.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListDominantLanguageDetectionJobsPublisher listDominantLanguageDetectionJobsPaginator()
Gets a list of the dominant language detection jobs that you have submitted.
This is a variant of
listDominantLanguageDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListDominantLanguageDetectionJobsPublisher publisher = client.listDominantLanguageDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListDominantLanguageDetectionJobsPublisher publisher = client.listDominantLanguageDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDominantLanguageDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsRequest)
operation.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListDominantLanguageDetectionJobsPublisher listDominantLanguageDetectionJobsPaginator(ListDominantLanguageDetectionJobsRequest listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
This is a variant of
listDominantLanguageDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListDominantLanguageDetectionJobsPublisher publisher = client.listDominantLanguageDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListDominantLanguageDetectionJobsPublisher publisher = client.listDominantLanguageDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDominantLanguageDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsRequest)
operation.
listDominantLanguageDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListDominantLanguageDetectionJobsPublisher listDominantLanguageDetectionJobsPaginator(Consumer<ListDominantLanguageDetectionJobsRequest.Builder> listDominantLanguageDetectionJobsRequest)
Gets a list of the dominant language detection jobs that you have submitted.
This is a variant of
listDominantLanguageDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListDominantLanguageDetectionJobsPublisher publisher = client.listDominantLanguageDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListDominantLanguageDetectionJobsPublisher publisher = client.listDominantLanguageDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDominantLanguageDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListDominantLanguageDetectionJobsRequest)
operation.
This is a convenience which creates an instance of the ListDominantLanguageDetectionJobsRequest.Builder
avoiding the need to create one manually via ListDominantLanguageDetectionJobsRequest.builder()
listDominantLanguageDetectionJobsRequest
- A Consumer
that will call methods on ListDominantLanguageDetectionJobsRequest.Builder
to
create a request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListEntitiesDetectionJobsResponse> listEntitiesDetectionJobs(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
listEntitiesDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListEntitiesDetectionJobsResponse> listEntitiesDetectionJobs(Consumer<ListEntitiesDetectionJobsRequest.Builder> listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
This is a convenience which creates an instance of the ListEntitiesDetectionJobsRequest.Builder
avoiding
the need to create one manually via ListEntitiesDetectionJobsRequest.builder()
listEntitiesDetectionJobsRequest
- A Consumer
that will call methods on ListEntitiesDetectionJobsRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListEntitiesDetectionJobsResponse> listEntitiesDetectionJobs()
Gets a list of the entity detection jobs that you have submitted.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListEntitiesDetectionJobsPublisher listEntitiesDetectionJobsPaginator()
Gets a list of the entity detection jobs that you have submitted.
This is a variant of
listEntitiesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListEntitiesDetectionJobsPublisher publisher = client.listEntitiesDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListEntitiesDetectionJobsPublisher publisher = client.listEntitiesDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listEntitiesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsRequest)
operation.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListEntitiesDetectionJobsPublisher listEntitiesDetectionJobsPaginator(ListEntitiesDetectionJobsRequest listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
This is a variant of
listEntitiesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListEntitiesDetectionJobsPublisher publisher = client.listEntitiesDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListEntitiesDetectionJobsPublisher publisher = client.listEntitiesDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listEntitiesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsRequest)
operation.
listEntitiesDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListEntitiesDetectionJobsPublisher listEntitiesDetectionJobsPaginator(Consumer<ListEntitiesDetectionJobsRequest.Builder> listEntitiesDetectionJobsRequest)
Gets a list of the entity detection jobs that you have submitted.
This is a variant of
listEntitiesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListEntitiesDetectionJobsPublisher publisher = client.listEntitiesDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListEntitiesDetectionJobsPublisher publisher = client.listEntitiesDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listEntitiesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListEntitiesDetectionJobsRequest)
operation.
This is a convenience which creates an instance of the ListEntitiesDetectionJobsRequest.Builder
avoiding
the need to create one manually via ListEntitiesDetectionJobsRequest.builder()
listEntitiesDetectionJobsRequest
- A Consumer
that will call methods on ListEntitiesDetectionJobsRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListEntityRecognizersResponse> listEntityRecognizers(ListEntityRecognizersRequest listEntityRecognizersRequest)
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
listEntityRecognizersRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListEntityRecognizersResponse> listEntityRecognizers(Consumer<ListEntityRecognizersRequest.Builder> listEntityRecognizersRequest)
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
This is a convenience which creates an instance of the ListEntityRecognizersRequest.Builder
avoiding the
need to create one manually via ListEntityRecognizersRequest.builder()
listEntityRecognizersRequest
- A Consumer
that will call methods on ListEntityRecognizersRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListEntityRecognizersResponse> listEntityRecognizers()
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListKeyPhrasesDetectionJobsResponse> listKeyPhrasesDetectionJobs(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
listKeyPhrasesDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListKeyPhrasesDetectionJobsResponse> listKeyPhrasesDetectionJobs(Consumer<ListKeyPhrasesDetectionJobsRequest.Builder> listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
This is a convenience which creates an instance of the ListKeyPhrasesDetectionJobsRequest.Builder
avoiding the need to create one manually via ListKeyPhrasesDetectionJobsRequest.builder()
listKeyPhrasesDetectionJobsRequest
- A Consumer
that will call methods on ListKeyPhrasesDetectionJobsRequest.Builder
to create
a request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListKeyPhrasesDetectionJobsResponse> listKeyPhrasesDetectionJobs()
Get a list of key phrase detection jobs that you have submitted.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListKeyPhrasesDetectionJobsPublisher listKeyPhrasesDetectionJobsPaginator()
Get a list of key phrase detection jobs that you have submitted.
This is a variant of
listKeyPhrasesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListKeyPhrasesDetectionJobsPublisher publisher = client.listKeyPhrasesDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListKeyPhrasesDetectionJobsPublisher publisher = client.listKeyPhrasesDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listKeyPhrasesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsRequest)
operation.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListKeyPhrasesDetectionJobsPublisher listKeyPhrasesDetectionJobsPaginator(ListKeyPhrasesDetectionJobsRequest listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
This is a variant of
listKeyPhrasesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListKeyPhrasesDetectionJobsPublisher publisher = client.listKeyPhrasesDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListKeyPhrasesDetectionJobsPublisher publisher = client.listKeyPhrasesDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listKeyPhrasesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsRequest)
operation.
listKeyPhrasesDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListKeyPhrasesDetectionJobsPublisher listKeyPhrasesDetectionJobsPaginator(Consumer<ListKeyPhrasesDetectionJobsRequest.Builder> listKeyPhrasesDetectionJobsRequest)
Get a list of key phrase detection jobs that you have submitted.
This is a variant of
listKeyPhrasesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListKeyPhrasesDetectionJobsPublisher publisher = client.listKeyPhrasesDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListKeyPhrasesDetectionJobsPublisher publisher = client.listKeyPhrasesDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listKeyPhrasesDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListKeyPhrasesDetectionJobsRequest)
operation.
This is a convenience which creates an instance of the ListKeyPhrasesDetectionJobsRequest.Builder
avoiding the need to create one manually via ListKeyPhrasesDetectionJobsRequest.builder()
listKeyPhrasesDetectionJobsRequest
- A Consumer
that will call methods on ListKeyPhrasesDetectionJobsRequest.Builder
to create
a request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListSentimentDetectionJobsResponse> listSentimentDetectionJobs(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
listSentimentDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListSentimentDetectionJobsResponse> listSentimentDetectionJobs(Consumer<ListSentimentDetectionJobsRequest.Builder> listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
This is a convenience which creates an instance of the ListSentimentDetectionJobsRequest.Builder
avoiding
the need to create one manually via ListSentimentDetectionJobsRequest.builder()
listSentimentDetectionJobsRequest
- A Consumer
that will call methods on ListSentimentDetectionJobsRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListSentimentDetectionJobsResponse> listSentimentDetectionJobs()
Gets a list of sentiment detection jobs that you have submitted.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListSentimentDetectionJobsPublisher listSentimentDetectionJobsPaginator()
Gets a list of sentiment detection jobs that you have submitted.
This is a variant of
listSentimentDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListSentimentDetectionJobsPublisher publisher = client.listSentimentDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListSentimentDetectionJobsPublisher publisher = client.listSentimentDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSentimentDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsRequest)
operation.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListSentimentDetectionJobsPublisher listSentimentDetectionJobsPaginator(ListSentimentDetectionJobsRequest listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
This is a variant of
listSentimentDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListSentimentDetectionJobsPublisher publisher = client.listSentimentDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListSentimentDetectionJobsPublisher publisher = client.listSentimentDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSentimentDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsRequest)
operation.
listSentimentDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListSentimentDetectionJobsPublisher listSentimentDetectionJobsPaginator(Consumer<ListSentimentDetectionJobsRequest.Builder> listSentimentDetectionJobsRequest)
Gets a list of sentiment detection jobs that you have submitted.
This is a variant of
listSentimentDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListSentimentDetectionJobsPublisher publisher = client.listSentimentDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListSentimentDetectionJobsPublisher publisher = client.listSentimentDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSentimentDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListSentimentDetectionJobsRequest)
operation.
This is a convenience which creates an instance of the ListSentimentDetectionJobsRequest.Builder
avoiding
the need to create one manually via ListSentimentDetectionJobsRequest.builder()
listSentimentDetectionJobsRequest
- A Consumer
that will call methods on ListSentimentDetectionJobsRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListTopicsDetectionJobsResponse> listTopicsDetectionJobs(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
listTopicsDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListTopicsDetectionJobsResponse> listTopicsDetectionJobs(Consumer<ListTopicsDetectionJobsRequest.Builder> listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
This is a convenience which creates an instance of the ListTopicsDetectionJobsRequest.Builder
avoiding
the need to create one manually via ListTopicsDetectionJobsRequest.builder()
listTopicsDetectionJobsRequest
- A Consumer
that will call methods on ListTopicsDetectionJobsRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<ListTopicsDetectionJobsResponse> listTopicsDetectionJobs()
Gets a list of the topic detection jobs that you have submitted.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListTopicsDetectionJobsPublisher listTopicsDetectionJobsPaginator()
Gets a list of the topic detection jobs that you have submitted.
This is a variant of
listTopicsDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListTopicsDetectionJobsPublisher publisher = client.listTopicsDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListTopicsDetectionJobsPublisher publisher = client.listTopicsDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listTopicsDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsRequest)
operation.
ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListTopicsDetectionJobsPublisher listTopicsDetectionJobsPaginator(ListTopicsDetectionJobsRequest listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
This is a variant of
listTopicsDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListTopicsDetectionJobsPublisher publisher = client.listTopicsDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListTopicsDetectionJobsPublisher publisher = client.listTopicsDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listTopicsDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsRequest)
operation.
listTopicsDetectionJobsRequest
- ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default ListTopicsDetectionJobsPublisher listTopicsDetectionJobsPaginator(Consumer<ListTopicsDetectionJobsRequest.Builder> listTopicsDetectionJobsRequest)
Gets a list of the topic detection jobs that you have submitted.
This is a variant of
listTopicsDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.comprehend.paginators.ListTopicsDetectionJobsPublisher publisher = client.listTopicsDetectionJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.comprehend.paginators.ListTopicsDetectionJobsPublisher publisher = client.listTopicsDetectionJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listTopicsDetectionJobs(software.amazon.awssdk.services.comprehend.model.ListTopicsDetectionJobsRequest)
operation.
This is a convenience which creates an instance of the ListTopicsDetectionJobsRequest.Builder
avoiding
the need to create one manually via ListTopicsDetectionJobsRequest.builder()
listTopicsDetectionJobsRequest
- A Consumer
that will call methods on ListTopicsDetectionJobsRequest.Builder
to create a
request.ListDocumentClassificationJobs
operation is invalid. Specify a different filter.default CompletableFuture<StartDocumentClassificationJobResponse> startDocumentClassificationJob(StartDocumentClassificationJobRequest startDocumentClassificationJobRequest)
Starts an asynchronous document classification job. Use the operation to track the progress of the job.
startDocumentClassificationJobRequest
- TRAINED
state and try your request again.default CompletableFuture<StartDocumentClassificationJobResponse> startDocumentClassificationJob(Consumer<StartDocumentClassificationJobRequest.Builder> startDocumentClassificationJobRequest)
Starts an asynchronous document classification job. Use the operation to track the progress of the job.
This is a convenience which creates an instance of the StartDocumentClassificationJobRequest.Builder
avoiding the need to create one manually via StartDocumentClassificationJobRequest.builder()
startDocumentClassificationJobRequest
- A Consumer
that will call methods on StartDocumentClassificationJobRequest.Builder
to
create a request.TRAINED
state and try your request again.default CompletableFuture<StartDominantLanguageDetectionJobResponse> startDominantLanguageDetectionJob(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest)
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
startDominantLanguageDetectionJobRequest
- default CompletableFuture<StartDominantLanguageDetectionJobResponse> startDominantLanguageDetectionJob(Consumer<StartDominantLanguageDetectionJobRequest.Builder> startDominantLanguageDetectionJobRequest)
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
This is a convenience which creates an instance of the StartDominantLanguageDetectionJobRequest.Builder
avoiding the need to create one manually via StartDominantLanguageDetectionJobRequest.builder()
startDominantLanguageDetectionJobRequest
- A Consumer
that will call methods on StartDominantLanguageDetectionJobRequest.Builder
to
create a request.default CompletableFuture<StartEntitiesDetectionJobResponse> startEntitiesDetectionJob(StartEntitiesDetectionJobRequest startEntitiesDetectionJobRequest)
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom entity recognition. In order to be used for
custom entity recognition, the optional EntityRecognizerArn
must be used in order to provide access
to the recognizer being used to detect the custom entity.
startEntitiesDetectionJobRequest
- TRAINED
state and try your request again.default CompletableFuture<StartEntitiesDetectionJobResponse> startEntitiesDetectionJob(Consumer<StartEntitiesDetectionJobRequest.Builder> startEntitiesDetectionJobRequest)
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom entity recognition. In order to be used for
custom entity recognition, the optional EntityRecognizerArn
must be used in order to provide access
to the recognizer being used to detect the custom entity.
This is a convenience which creates an instance of the StartEntitiesDetectionJobRequest.Builder
avoiding
the need to create one manually via StartEntitiesDetectionJobRequest.builder()
startEntitiesDetectionJobRequest
- A Consumer
that will call methods on StartEntitiesDetectionJobRequest.Builder
to create a
request.TRAINED
state and try your request again.default CompletableFuture<StartKeyPhrasesDetectionJobResponse> startKeyPhrasesDetectionJob(StartKeyPhrasesDetectionJobRequest startKeyPhrasesDetectionJobRequest)
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
startKeyPhrasesDetectionJobRequest
- default CompletableFuture<StartKeyPhrasesDetectionJobResponse> startKeyPhrasesDetectionJob(Consumer<StartKeyPhrasesDetectionJobRequest.Builder> startKeyPhrasesDetectionJobRequest)
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
This is a convenience which creates an instance of the StartKeyPhrasesDetectionJobRequest.Builder
avoiding the need to create one manually via StartKeyPhrasesDetectionJobRequest.builder()
startKeyPhrasesDetectionJobRequest
- A Consumer
that will call methods on StartKeyPhrasesDetectionJobRequest.Builder
to create
a request.default CompletableFuture<StartSentimentDetectionJobResponse> startSentimentDetectionJob(StartSentimentDetectionJobRequest startSentimentDetectionJobRequest)
Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.
startSentimentDetectionJobRequest
- default CompletableFuture<StartSentimentDetectionJobResponse> startSentimentDetectionJob(Consumer<StartSentimentDetectionJobRequest.Builder> startSentimentDetectionJobRequest)
Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.
This is a convenience which creates an instance of the StartSentimentDetectionJobRequest.Builder
avoiding
the need to create one manually via StartSentimentDetectionJobRequest.builder()
startSentimentDetectionJobRequest
- A Consumer
that will call methods on StartSentimentDetectionJobRequest.Builder
to create a
request.default CompletableFuture<StartTopicsDetectionJobResponse> startTopicsDetectionJob(StartTopicsDetectionJobRequest startTopicsDetectionJobRequest)
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob
operation to track the
status of a job.
startTopicsDetectionJobRequest
- default CompletableFuture<StartTopicsDetectionJobResponse> startTopicsDetectionJob(Consumer<StartTopicsDetectionJobRequest.Builder> startTopicsDetectionJobRequest)
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob
operation to track the
status of a job.
This is a convenience which creates an instance of the StartTopicsDetectionJobRequest.Builder
avoiding
the need to create one manually via StartTopicsDetectionJobRequest.builder()
startTopicsDetectionJobRequest
- A Consumer
that will call methods on StartTopicsDetectionJobRequest.Builder
to create a
request.default CompletableFuture<StopDominantLanguageDetectionJobResponse> stopDominantLanguageDetectionJob(StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest)
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopDominantLanguageDetectionJobRequest
- default CompletableFuture<StopDominantLanguageDetectionJobResponse> stopDominantLanguageDetectionJob(Consumer<StopDominantLanguageDetectionJobRequest.Builder> stopDominantLanguageDetectionJobRequest)
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
This is a convenience which creates an instance of the StopDominantLanguageDetectionJobRequest.Builder
avoiding the need to create one manually via StopDominantLanguageDetectionJobRequest.builder()
stopDominantLanguageDetectionJobRequest
- A Consumer
that will call methods on StopDominantLanguageDetectionJobRequest.Builder
to
create a request.default CompletableFuture<StopEntitiesDetectionJobResponse> stopEntitiesDetectionJob(StopEntitiesDetectionJobRequest stopEntitiesDetectionJobRequest)
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopEntitiesDetectionJobRequest
- default CompletableFuture<StopEntitiesDetectionJobResponse> stopEntitiesDetectionJob(Consumer<StopEntitiesDetectionJobRequest.Builder> stopEntitiesDetectionJobRequest)
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
This is a convenience which creates an instance of the StopEntitiesDetectionJobRequest.Builder
avoiding
the need to create one manually via StopEntitiesDetectionJobRequest.builder()
stopEntitiesDetectionJobRequest
- A Consumer
that will call methods on StopEntitiesDetectionJobRequest.Builder
to create a
request.default CompletableFuture<StopKeyPhrasesDetectionJobResponse> stopKeyPhrasesDetectionJob(StopKeyPhrasesDetectionJobRequest stopKeyPhrasesDetectionJobRequest)
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopKeyPhrasesDetectionJobRequest
- default CompletableFuture<StopKeyPhrasesDetectionJobResponse> stopKeyPhrasesDetectionJob(Consumer<StopKeyPhrasesDetectionJobRequest.Builder> stopKeyPhrasesDetectionJobRequest)
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
This is a convenience which creates an instance of the StopKeyPhrasesDetectionJobRequest.Builder
avoiding
the need to create one manually via StopKeyPhrasesDetectionJobRequest.builder()
stopKeyPhrasesDetectionJobRequest
- A Consumer
that will call methods on StopKeyPhrasesDetectionJobRequest.Builder
to create a
request.default CompletableFuture<StopSentimentDetectionJobResponse> stopSentimentDetectionJob(StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest)
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is be stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
stopSentimentDetectionJobRequest
- default CompletableFuture<StopSentimentDetectionJobResponse> stopSentimentDetectionJob(Consumer<StopSentimentDetectionJobRequest.Builder> stopSentimentDetectionJobRequest)
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and put into the
STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the
COMPLETED
state; otherwise the job is be stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400 Internal Request Exception.
When a job is stopped, any documents already processed are written to the output location.
This is a convenience which creates an instance of the StopSentimentDetectionJobRequest.Builder
avoiding
the need to create one manually via StopSentimentDetectionJobRequest.builder()
stopSentimentDetectionJobRequest
- A Consumer
that will call methods on StopSentimentDetectionJobRequest.Builder
to create a
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.