@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSkendraAsyncClient extends AWSkendraClient implements AWSkendraAsync
AsyncHandler can be used to receive notification when
an asynchronous operation completes.
Amazon Kendra is a service for indexing large document sets.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchDeleteDocument, batchPutDocument, builder, createDataSource, createFaq, createIndex, createThesaurus, deleteDataSource, deleteFaq, deleteIndex, deleteThesaurus, describeDataSource, describeFaq, describeIndex, describeThesaurus, getCachedResponseMetadata, listDataSources, listDataSourceSyncJobs, listFaqs, listIndices, listTagsForResource, listThesauri, query, startDataSourceSyncJob, stopDataSourceSyncJob, submitFeedback, tagResource, untagResource, updateDataSource, updateIndex, updateThesaurusaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDeleteDocument, batchPutDocument, createDataSource, createFaq, createIndex, createThesaurus, deleteDataSource, deleteFaq, deleteIndex, deleteThesaurus, describeDataSource, describeFaq, describeIndex, describeThesaurus, getCachedResponseMetadata, listDataSources, listDataSourceSyncJobs, listFaqs, listIndices, listTagsForResource, listThesauri, query, startDataSourceSyncJob, stopDataSourceSyncJob, submitFeedback, tagResource, untagResource, updateDataSource, updateIndex, updateThesauruspublic static AWSkendraAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchDeleteDocumentResult> batchDeleteDocumentAsync(BatchDeleteDocumentRequest request)
AWSkendraAsyncRemoves one or more documents from an index. The documents must have been added with the BatchPutDocument operation.
The documents are deleted asynchronously. You can see the progress of the deletion by using AWS CloudWatch. Any error messages releated to the processing of the batch are sent to you CloudWatch log.
batchDeleteDocumentAsync in interface AWSkendraAsyncpublic Future<BatchDeleteDocumentResult> batchDeleteDocumentAsync(BatchDeleteDocumentRequest request, AsyncHandler<BatchDeleteDocumentRequest,BatchDeleteDocumentResult> asyncHandler)
AWSkendraAsyncRemoves one or more documents from an index. The documents must have been added with the BatchPutDocument operation.
The documents are deleted asynchronously. You can see the progress of the deletion by using AWS CloudWatch. Any error messages releated to the processing of the batch are sent to you CloudWatch log.
batchDeleteDocumentAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchPutDocumentResult> batchPutDocumentAsync(BatchPutDocumentRequest request)
AWSkendraAsyncAdds one or more documents to an index.
The BatchPutDocument operation enables you to ingest inline documents or a set of documents stored
in an Amazon S3 bucket. Use this operation to ingest your text and unstructured text into an index, add custom
attributes to the documents, and to attach an access control list to the documents added to the index.
The documents are indexed asynchronously. You can see the progress of the batch using AWS CloudWatch. Any error messages related to processing the batch are sent to your AWS CloudWatch log.
batchPutDocumentAsync in interface AWSkendraAsyncpublic Future<BatchPutDocumentResult> batchPutDocumentAsync(BatchPutDocumentRequest request, AsyncHandler<BatchPutDocumentRequest,BatchPutDocumentResult> asyncHandler)
AWSkendraAsyncAdds one or more documents to an index.
The BatchPutDocument operation enables you to ingest inline documents or a set of documents stored
in an Amazon S3 bucket. Use this operation to ingest your text and unstructured text into an index, add custom
attributes to the documents, and to attach an access control list to the documents added to the index.
The documents are indexed asynchronously. You can see the progress of the batch using AWS CloudWatch. Any error messages related to processing the batch are sent to your AWS CloudWatch log.
batchPutDocumentAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request)
AWSkendraAsyncCreates a data source that you use to with an Amazon Kendra index.
You specify a name, data source connector type and description for your data source. You also specify configuration information such as document metadata (author, source URI, and so on) and user context information.
CreateDataSource is a synchronous operation. The operation returns 200 if the data source was
successfully created. Otherwise, an exception is raised.
createDataSourceAsync in interface AWSkendraAsyncpublic Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResult> asyncHandler)
AWSkendraAsyncCreates a data source that you use to with an Amazon Kendra index.
You specify a name, data source connector type and description for your data source. You also specify configuration information such as document metadata (author, source URI, and so on) and user context information.
CreateDataSource is a synchronous operation. The operation returns 200 if the data source was
successfully created. Otherwise, an exception is raised.
createDataSourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFaqResult> createFaqAsync(CreateFaqRequest request)
AWSkendraAsyncCreates an new set of frequently asked question (FAQ) questions and answers.
createFaqAsync in interface AWSkendraAsyncpublic Future<CreateFaqResult> createFaqAsync(CreateFaqRequest request, AsyncHandler<CreateFaqRequest,CreateFaqResult> asyncHandler)
AWSkendraAsyncCreates an new set of frequently asked question (FAQ) questions and answers.
createFaqAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateIndexResult> createIndexAsync(CreateIndexRequest request)
AWSkendraAsync
Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation
has completed, check the Status field returned from a call to . The Status field is set
to ACTIVE when the index is ready to use.
Once the index is active you can index your documents using the operation or using one of the supported data sources.
createIndexAsync in interface AWSkendraAsyncpublic Future<CreateIndexResult> createIndexAsync(CreateIndexRequest request, AsyncHandler<CreateIndexRequest,CreateIndexResult> asyncHandler)
AWSkendraAsync
Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation
has completed, check the Status field returned from a call to . The Status field is set
to ACTIVE when the index is ready to use.
Once the index is active you can index your documents using the operation or using one of the supported data sources.
createIndexAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateThesaurusResult> createThesaurusAsync(CreateThesaurusRequest request)
AWSkendraAsyncCreates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.
createThesaurusAsync in interface AWSkendraAsyncpublic Future<CreateThesaurusResult> createThesaurusAsync(CreateThesaurusRequest request, AsyncHandler<CreateThesaurusRequest,CreateThesaurusResult> asyncHandler)
AWSkendraAsyncCreates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.
createThesaurusAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request)
AWSkendraAsync
Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted.
While the data source is being deleted, the Status field returned by a call to the operation is set
to DELETING. For more information, see Deleting Data Sources.
deleteDataSourceAsync in interface AWSkendraAsyncpublic Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResult> asyncHandler)
AWSkendraAsync
Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted.
While the data source is being deleted, the Status field returned by a call to the operation is set
to DELETING. For more information, see Deleting Data Sources.
deleteDataSourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFaqResult> deleteFaqAsync(DeleteFaqRequest request)
AWSkendraAsyncRemoves an FAQ from an index.
deleteFaqAsync in interface AWSkendraAsyncpublic Future<DeleteFaqResult> deleteFaqAsync(DeleteFaqRequest request, AsyncHandler<DeleteFaqRequest,DeleteFaqResult> asyncHandler)
AWSkendraAsyncRemoves an FAQ from an index.
deleteFaqAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteIndexResult> deleteIndexAsync(DeleteIndexRequest request)
AWSkendraAsync
Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While
the index is being deleted, the Status field returned by a call to the DescribeIndex
operation is set to DELETING.
deleteIndexAsync in interface AWSkendraAsyncpublic Future<DeleteIndexResult> deleteIndexAsync(DeleteIndexRequest request, AsyncHandler<DeleteIndexRequest,DeleteIndexResult> asyncHandler)
AWSkendraAsync
Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While
the index is being deleted, the Status field returned by a call to the DescribeIndex
operation is set to DELETING.
deleteIndexAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteThesaurusResult> deleteThesaurusAsync(DeleteThesaurusRequest request)
AWSkendraAsyncDeletes an existing Amazon Kendra thesaurus.
deleteThesaurusAsync in interface AWSkendraAsyncpublic Future<DeleteThesaurusResult> deleteThesaurusAsync(DeleteThesaurusRequest request, AsyncHandler<DeleteThesaurusRequest,DeleteThesaurusResult> asyncHandler)
AWSkendraAsyncDeletes an existing Amazon Kendra thesaurus.
deleteThesaurusAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDataSourceResult> describeDataSourceAsync(DescribeDataSourceRequest request)
AWSkendraAsyncGets information about a Amazon Kendra data source.
describeDataSourceAsync in interface AWSkendraAsyncpublic Future<DescribeDataSourceResult> describeDataSourceAsync(DescribeDataSourceRequest request, AsyncHandler<DescribeDataSourceRequest,DescribeDataSourceResult> asyncHandler)
AWSkendraAsyncGets information about a Amazon Kendra data source.
describeDataSourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFaqResult> describeFaqAsync(DescribeFaqRequest request)
AWSkendraAsyncGets information about an FAQ list.
describeFaqAsync in interface AWSkendraAsyncpublic Future<DescribeFaqResult> describeFaqAsync(DescribeFaqRequest request, AsyncHandler<DescribeFaqRequest,DescribeFaqResult> asyncHandler)
AWSkendraAsyncGets information about an FAQ list.
describeFaqAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeIndexResult> describeIndexAsync(DescribeIndexRequest request)
AWSkendraAsyncDescribes an existing Amazon Kendra index
describeIndexAsync in interface AWSkendraAsyncpublic Future<DescribeIndexResult> describeIndexAsync(DescribeIndexRequest request, AsyncHandler<DescribeIndexRequest,DescribeIndexResult> asyncHandler)
AWSkendraAsyncDescribes an existing Amazon Kendra index
describeIndexAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeThesaurusResult> describeThesaurusAsync(DescribeThesaurusRequest request)
AWSkendraAsyncDescribes an existing Amazon Kendra thesaurus.
describeThesaurusAsync in interface AWSkendraAsyncpublic Future<DescribeThesaurusResult> describeThesaurusAsync(DescribeThesaurusRequest request, AsyncHandler<DescribeThesaurusRequest,DescribeThesaurusResult> asyncHandler)
AWSkendraAsyncDescribes an existing Amazon Kendra thesaurus.
describeThesaurusAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDataSourceSyncJobsResult> listDataSourceSyncJobsAsync(ListDataSourceSyncJobsRequest request)
AWSkendraAsyncGets statistics about synchronizing Amazon Kendra with a data source.
listDataSourceSyncJobsAsync in interface AWSkendraAsyncpublic Future<ListDataSourceSyncJobsResult> listDataSourceSyncJobsAsync(ListDataSourceSyncJobsRequest request, AsyncHandler<ListDataSourceSyncJobsRequest,ListDataSourceSyncJobsResult> asyncHandler)
AWSkendraAsyncGets statistics about synchronizing Amazon Kendra with a data source.
listDataSourceSyncJobsAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request)
AWSkendraAsyncLists the data sources that you have created.
listDataSourcesAsync in interface AWSkendraAsyncpublic Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResult> asyncHandler)
AWSkendraAsyncLists the data sources that you have created.
listDataSourcesAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFaqsResult> listFaqsAsync(ListFaqsRequest request)
AWSkendraAsyncGets a list of FAQ lists associated with an index.
listFaqsAsync in interface AWSkendraAsyncpublic Future<ListFaqsResult> listFaqsAsync(ListFaqsRequest request, AsyncHandler<ListFaqsRequest,ListFaqsResult> asyncHandler)
AWSkendraAsyncGets a list of FAQ lists associated with an index.
listFaqsAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListIndicesResult> listIndicesAsync(ListIndicesRequest request)
AWSkendraAsyncLists the Amazon Kendra indexes that you have created.
listIndicesAsync in interface AWSkendraAsyncpublic Future<ListIndicesResult> listIndicesAsync(ListIndicesRequest request, AsyncHandler<ListIndicesRequest,ListIndicesResult> asyncHandler)
AWSkendraAsyncLists the Amazon Kendra indexes that you have created.
listIndicesAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSkendraAsyncGets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.
listTagsForResourceAsync in interface AWSkendraAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSkendraAsyncGets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.
listTagsForResourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListThesauriResult> listThesauriAsync(ListThesauriRequest request)
AWSkendraAsyncLists the Amazon Kendra thesauri associated with an index.
listThesauriAsync in interface AWSkendraAsyncpublic Future<ListThesauriResult> listThesauriAsync(ListThesauriRequest request, AsyncHandler<ListThesauriRequest,ListThesauriResult> asyncHandler)
AWSkendraAsyncLists the Amazon Kendra thesauri associated with an index.
listThesauriAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<QueryResult> queryAsync(QueryRequest request)
AWSkendraAsync
Searches an active index. Use this API to search your documents using query. The Query operation
enables to do faceted search and to filter results based on document attributes.
It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results.
Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.
Relevant passages
Matching FAQs
Relevant documents
You can specify that the query return only one type of result using the QueryResultTypeConfig
parameter.
Each query returns the 100 most relevant results.
queryAsync in interface AWSkendraAsyncpublic Future<QueryResult> queryAsync(QueryRequest request, AsyncHandler<QueryRequest,QueryResult> asyncHandler)
AWSkendraAsync
Searches an active index. Use this API to search your documents using query. The Query operation
enables to do faceted search and to filter results based on document attributes.
It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results.
Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.
Relevant passages
Matching FAQs
Relevant documents
You can specify that the query return only one type of result using the QueryResultTypeConfig
parameter.
Each query returns the 100 most relevant results.
queryAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDataSourceSyncJobResult> startDataSourceSyncJobAsync(StartDataSourceSyncJobRequest request)
AWSkendraAsync
Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra
returns a ResourceInUseException exception.
startDataSourceSyncJobAsync in interface AWSkendraAsyncpublic Future<StartDataSourceSyncJobResult> startDataSourceSyncJobAsync(StartDataSourceSyncJobRequest request, AsyncHandler<StartDataSourceSyncJobRequest,StartDataSourceSyncJobResult> asyncHandler)
AWSkendraAsync
Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra
returns a ResourceInUseException exception.
startDataSourceSyncJobAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDataSourceSyncJobResult> stopDataSourceSyncJobAsync(StopDataSourceSyncJobRequest request)
AWSkendraAsyncStops a running synchronization job. You can't stop a scheduled synchronization job.
stopDataSourceSyncJobAsync in interface AWSkendraAsyncpublic Future<StopDataSourceSyncJobResult> stopDataSourceSyncJobAsync(StopDataSourceSyncJobRequest request, AsyncHandler<StopDataSourceSyncJobRequest,StopDataSourceSyncJobResult> asyncHandler)
AWSkendraAsyncStops a running synchronization job. You can't stop a scheduled synchronization job.
stopDataSourceSyncJobAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SubmitFeedbackResult> submitFeedbackAsync(SubmitFeedbackRequest request)
AWSkendraAsyncEnables you to provide feedback to Amazon Kendra to improve the performance of the service.
submitFeedbackAsync in interface AWSkendraAsyncpublic Future<SubmitFeedbackResult> submitFeedbackAsync(SubmitFeedbackRequest request, AsyncHandler<SubmitFeedbackRequest,SubmitFeedbackResult> asyncHandler)
AWSkendraAsyncEnables you to provide feedback to Amazon Kendra to improve the performance of the service.
submitFeedbackAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSkendraAsyncAdds the specified tag to the specified index, FAQ, or data source resource. If the tag already exists, the existing value is replaced with the new value.
tagResourceAsync in interface AWSkendraAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSkendraAsyncAdds the specified tag to the specified index, FAQ, or data source resource. If the tag already exists, the existing value is replaced with the new value.
tagResourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSkendraAsyncRemoves a tag from an index, FAQ, or a data source.
untagResourceAsync in interface AWSkendraAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSkendraAsyncRemoves a tag from an index, FAQ, or a data source.
untagResourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request)
AWSkendraAsyncUpdates an existing Amazon Kendra data source.
updateDataSourceAsync in interface AWSkendraAsyncpublic Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResult> asyncHandler)
AWSkendraAsyncUpdates an existing Amazon Kendra data source.
updateDataSourceAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateIndexResult> updateIndexAsync(UpdateIndexRequest request)
AWSkendraAsyncUpdates an existing Amazon Kendra index.
updateIndexAsync in interface AWSkendraAsyncpublic Future<UpdateIndexResult> updateIndexAsync(UpdateIndexRequest request, AsyncHandler<UpdateIndexRequest,UpdateIndexResult> asyncHandler)
AWSkendraAsyncUpdates an existing Amazon Kendra index.
updateIndexAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateThesaurusResult> updateThesaurusAsync(UpdateThesaurusRequest request)
AWSkendraAsyncUpdates a thesaurus file associated with an index.
updateThesaurusAsync in interface AWSkendraAsyncpublic Future<UpdateThesaurusResult> updateThesaurusAsync(UpdateThesaurusRequest request, AsyncHandler<UpdateThesaurusRequest,UpdateThesaurusResult> asyncHandler)
AWSkendraAsyncUpdates a thesaurus file associated with an index.
updateThesaurusAsync in interface AWSkendraAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSkendrashutdown in class AWSkendraClient