@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSkendra extends Object implements AWSkendra
AWSkendra. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAWSkendra() |
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteDocumentResult |
batchDeleteDocument(BatchDeleteDocumentRequest request)
Removes one or more documents from an index.
|
BatchPutDocumentResult |
batchPutDocument(BatchPutDocumentRequest request)
Adds one or more documents to an index.
|
CreateDataSourceResult |
createDataSource(CreateDataSourceRequest request)
Creates a data source that you use to with an Amazon Kendra index.
|
CreateFaqResult |
createFaq(CreateFaqRequest request)
Creates an new set of frequently asked question (FAQ) questions and answers.
|
CreateIndexResult |
createIndex(CreateIndexRequest request)
Creates a new Amazon Kendra index.
|
CreateThesaurusResult |
createThesaurus(CreateThesaurusRequest request)
Creates a thesaurus for an index.
|
DeleteDataSourceResult |
deleteDataSource(DeleteDataSourceRequest request)
Deletes an Amazon Kendra data source.
|
DeleteFaqResult |
deleteFaq(DeleteFaqRequest request)
Removes an FAQ from an index.
|
DeleteIndexResult |
deleteIndex(DeleteIndexRequest request)
Deletes an existing Amazon Kendra index.
|
DeleteThesaurusResult |
deleteThesaurus(DeleteThesaurusRequest request)
Deletes an existing Amazon Kendra thesaurus.
|
DescribeDataSourceResult |
describeDataSource(DescribeDataSourceRequest request)
Gets information about a Amazon Kendra data source.
|
DescribeFaqResult |
describeFaq(DescribeFaqRequest request)
Gets information about an FAQ list.
|
DescribeIndexResult |
describeIndex(DescribeIndexRequest request)
Describes an existing Amazon Kendra index
|
DescribeThesaurusResult |
describeThesaurus(DescribeThesaurusRequest request)
Describes an existing Amazon Kendra thesaurus.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListDataSourcesResult |
listDataSources(ListDataSourcesRequest request)
Lists the data sources that you have created.
|
ListDataSourceSyncJobsResult |
listDataSourceSyncJobs(ListDataSourceSyncJobsRequest request)
Gets statistics about synchronizing Amazon Kendra with a data source.
|
ListFaqsResult |
listFaqs(ListFaqsRequest request)
Gets a list of FAQ lists associated with an index.
|
ListIndicesResult |
listIndices(ListIndicesRequest request)
Lists the Amazon Kendra indexes that you have created.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Gets a list of tags associated with a specified resource.
|
ListThesauriResult |
listThesauri(ListThesauriRequest request)
Lists the Amazon Kendra thesauri associated with an index.
|
QueryResult |
query(QueryRequest request)
Searches an active index.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartDataSourceSyncJobResult |
startDataSourceSyncJob(StartDataSourceSyncJobRequest request)
Starts a synchronization job for a data source.
|
StopDataSourceSyncJobResult |
stopDataSourceSyncJob(StopDataSourceSyncJobRequest request)
Stops a running synchronization job.
|
SubmitFeedbackResult |
submitFeedback(SubmitFeedbackRequest request)
Enables you to provide feedback to Amazon Kendra to improve the performance of the service.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds the specified tag to the specified index, FAQ, or data source resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag from an index, FAQ, or a data source.
|
UpdateDataSourceResult |
updateDataSource(UpdateDataSourceRequest request)
Updates an existing Amazon Kendra data source.
|
UpdateIndexResult |
updateIndex(UpdateIndexRequest request)
Updates an existing Amazon Kendra index.
|
UpdateThesaurusResult |
updateThesaurus(UpdateThesaurusRequest request)
Updates a thesaurus file associated with an index.
|
public BatchDeleteDocumentResult batchDeleteDocument(BatchDeleteDocumentRequest request)
AWSkendra
Removes 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 related to the processing of the batch are sent to you CloudWatch log.
batchDeleteDocument in interface AWSkendrapublic BatchPutDocumentResult batchPutDocument(BatchPutDocumentRequest request)
AWSkendraAdds 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.
batchPutDocument in interface AWSkendrapublic CreateDataSourceResult createDataSource(CreateDataSourceRequest request)
AWSkendraCreates 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.
createDataSource in interface AWSkendrapublic CreateFaqResult createFaq(CreateFaqRequest request)
AWSkendraCreates an new set of frequently asked question (FAQ) questions and answers.
createFaq in interface AWSkendrapublic CreateIndexResult createIndex(CreateIndexRequest request)
AWSkendra
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 DescribeIndex. 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 BatchPutDocument operation or using
one of the supported data sources.
createIndex in interface AWSkendrapublic CreateThesaurusResult createThesaurus(CreateThesaurusRequest request)
AWSkendraCreates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.
createThesaurus in interface AWSkendrapublic DeleteDataSourceResult deleteDataSource(DeleteDataSourceRequest request)
AWSkendra
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
DescribeDataSource operation is set to DELETING. For more information, see Deleting Data Sources.
deleteDataSource in interface AWSkendrapublic DeleteFaqResult deleteFaq(DeleteFaqRequest request)
AWSkendraRemoves an FAQ from an index.
deleteFaq in interface AWSkendrapublic DeleteIndexResult deleteIndex(DeleteIndexRequest request)
AWSkendra
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.
deleteIndex in interface AWSkendrapublic DeleteThesaurusResult deleteThesaurus(DeleteThesaurusRequest request)
AWSkendraDeletes an existing Amazon Kendra thesaurus.
deleteThesaurus in interface AWSkendrapublic DescribeDataSourceResult describeDataSource(DescribeDataSourceRequest request)
AWSkendraGets information about a Amazon Kendra data source.
describeDataSource in interface AWSkendrapublic DescribeFaqResult describeFaq(DescribeFaqRequest request)
AWSkendraGets information about an FAQ list.
describeFaq in interface AWSkendrapublic DescribeIndexResult describeIndex(DescribeIndexRequest request)
AWSkendraDescribes an existing Amazon Kendra index
describeIndex in interface AWSkendrapublic DescribeThesaurusResult describeThesaurus(DescribeThesaurusRequest request)
AWSkendraDescribes an existing Amazon Kendra thesaurus.
describeThesaurus in interface AWSkendrapublic ListDataSourceSyncJobsResult listDataSourceSyncJobs(ListDataSourceSyncJobsRequest request)
AWSkendraGets statistics about synchronizing Amazon Kendra with a data source.
listDataSourceSyncJobs in interface AWSkendrapublic ListDataSourcesResult listDataSources(ListDataSourcesRequest request)
AWSkendraLists the data sources that you have created.
listDataSources in interface AWSkendrapublic ListFaqsResult listFaqs(ListFaqsRequest request)
AWSkendraGets a list of FAQ lists associated with an index.
listFaqs in interface AWSkendrapublic ListIndicesResult listIndices(ListIndicesRequest request)
AWSkendraLists the Amazon Kendra indexes that you have created.
listIndices in interface AWSkendrapublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSkendraGets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.
listTagsForResource in interface AWSkendrapublic ListThesauriResult listThesauri(ListThesauriRequest request)
AWSkendraLists the Amazon Kendra thesauri associated with an index.
listThesauri in interface AWSkendrapublic QueryResult query(QueryRequest request)
AWSkendra
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.
query in interface AWSkendrapublic StartDataSourceSyncJobResult startDataSourceSyncJob(StartDataSourceSyncJobRequest request)
AWSkendra
Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra
returns a ResourceInUseException exception.
startDataSourceSyncJob in interface AWSkendrapublic StopDataSourceSyncJobResult stopDataSourceSyncJob(StopDataSourceSyncJobRequest request)
AWSkendraStops a running synchronization job. You can't stop a scheduled synchronization job.
stopDataSourceSyncJob in interface AWSkendrapublic SubmitFeedbackResult submitFeedback(SubmitFeedbackRequest request)
AWSkendraEnables you to provide feedback to Amazon Kendra to improve the performance of the service.
submitFeedback in interface AWSkendrapublic TagResourceResult tagResource(TagResourceRequest request)
AWSkendraAdds 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.
tagResource in interface AWSkendrapublic UntagResourceResult untagResource(UntagResourceRequest request)
AWSkendraRemoves a tag from an index, FAQ, or a data source.
untagResource in interface AWSkendrapublic UpdateDataSourceResult updateDataSource(UpdateDataSourceRequest request)
AWSkendraUpdates an existing Amazon Kendra data source.
updateDataSource in interface AWSkendrapublic UpdateIndexResult updateIndex(UpdateIndexRequest request)
AWSkendraUpdates an existing Amazon Kendra index.
updateIndex in interface AWSkendrapublic UpdateThesaurusResult updateThesaurus(UpdateThesaurusRequest request)
AWSkendraUpdates a thesaurus file associated with an index.
updateThesaurus in interface AWSkendrapublic void shutdown()
AWSkendrapublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSkendraResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSkendrarequest - The originally executed request.Copyright © 2021. All rights reserved.