Struct rusoto_kendra::KendraClient
source · [−]pub struct KendraClient { /* private fields */ }
Expand description
A client for the kendra API.
Implementations
sourceimpl KendraClient
impl KendraClient
sourcepub fn new(region: Region) -> KendraClient
pub fn new(region: Region) -> KendraClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> KendraClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> KendraClient
Trait Implementations
sourceimpl Clone for KendraClient
impl Clone for KendraClient
sourcefn clone(&self) -> KendraClient
fn clone(&self) -> KendraClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Kendra for KendraClient
impl Kendra for KendraClient
sourcefn batch_delete_document<'life0, 'async_trait>(
&'life0 self,
input: BatchDeleteDocumentRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDeleteDocumentResponse, RusotoError<BatchDeleteDocumentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_delete_document<'life0, 'async_trait>(
&'life0 self,
input: BatchDeleteDocumentRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDeleteDocumentResponse, RusotoError<BatchDeleteDocumentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn batch_get_document_status<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDocumentStatusRequest
) -> Pin<Box<dyn Future<Output = Result<BatchGetDocumentStatusResponse, RusotoError<BatchGetDocumentStatusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_document_status<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDocumentStatusRequest
) -> Pin<Box<dyn Future<Output = Result<BatchGetDocumentStatusResponse, RusotoError<BatchGetDocumentStatusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the indexing status for one or more documents submitted with the BatchPutDocument operation.
When you use the BatchPutDocument
operation, documents are indexed asynchronously. You can use the BatchGetDocumentStatus
operation to get the current status of a list of documents so that you can determine if they have been successfully indexed.
You can also use the BatchGetDocumentStatus
operation to check the status of the BatchDeleteDocument operation. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND
as the status.
sourcefn batch_put_document<'life0, 'async_trait>(
&'life0 self,
input: BatchPutDocumentRequest
) -> Pin<Box<dyn Future<Output = Result<BatchPutDocumentResponse, RusotoError<BatchPutDocumentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_put_document<'life0, 'async_trait>(
&'life0 self,
input: BatchPutDocumentRequest
) -> Pin<Box<dyn Future<Output = Result<BatchPutDocumentResponse, RusotoError<BatchPutDocumentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds 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.
sourcefn clear_query_suggestions<'life0, 'async_trait>(
&'life0 self,
input: ClearQuerySuggestionsRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<ClearQuerySuggestionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn clear_query_suggestions<'life0, 'async_trait>(
&'life0 self,
input: ClearQuerySuggestionsRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<ClearQuerySuggestionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Clears existing query suggestions from an index.
This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.
sourcefn create_data_source<'life0, 'async_trait>(
&'life0 self,
input: CreateDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDataSourceResponse, RusotoError<CreateDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_data_source<'life0, 'async_trait>(
&'life0 self,
input: CreateDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDataSourceResponse, RusotoError<CreateDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates 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.
sourcefn create_faq<'life0, 'async_trait>(
&'life0 self,
input: CreateFaqRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFaqResponse, RusotoError<CreateFaqError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_faq<'life0, 'async_trait>(
&'life0 self,
input: CreateFaqRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFaqResponse, RusotoError<CreateFaqError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an new set of frequently asked question (FAQ) questions and answers.
sourcefn create_index<'life0, 'async_trait>(
&'life0 self,
input: CreateIndexRequest
) -> Pin<Box<dyn Future<Output = Result<CreateIndexResponse, RusotoError<CreateIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_index<'life0, 'async_trait>(
&'life0 self,
input: CreateIndexRequest
) -> Pin<Box<dyn Future<Output = Result<CreateIndexResponse, RusotoError<CreateIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn create_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: CreateQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<CreateQuerySuggestionsBlockListResponse, RusotoError<CreateQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: CreateQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<CreateQuerySuggestionsBlockListResponse, RusotoError<CreateQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a block list to exlcude certain queries from suggestions.
Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.
You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
sourcefn create_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: CreateThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<CreateThesaurusResponse, RusotoError<CreateThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: CreateThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<CreateThesaurusResponse, RusotoError<CreateThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.
sourcefn delete_data_source<'life0, 'async_trait>(
&'life0 self,
input: DeleteDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_data_source<'life0, 'async_trait>(
&'life0 self,
input: DeleteDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn delete_faq<'life0, 'async_trait>(
&'life0 self,
input: DeleteFaqRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteFaqError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_faq<'life0, 'async_trait>(
&'life0 self,
input: DeleteFaqRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteFaqError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes an FAQ from an index.
sourcefn delete_index<'life0, 'async_trait>(
&'life0 self,
input: DeleteIndexRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_index<'life0, 'async_trait>(
&'life0 self,
input: DeleteIndexRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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
.
sourcefn delete_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: DeleteQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: DeleteQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a block list used for query suggestions for an index.
A deleted block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to add back the queries that were previously blocked.
sourcefn delete_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: DeleteThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: DeleteThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an existing Amazon Kendra thesaurus.
sourcefn describe_data_source<'life0, 'async_trait>(
&'life0 self,
input: DescribeDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDataSourceResponse, RusotoError<DescribeDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_data_source<'life0, 'async_trait>(
&'life0 self,
input: DescribeDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDataSourceResponse, RusotoError<DescribeDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about a Amazon Kendra data source.
sourcefn describe_faq<'life0, 'async_trait>(
&'life0 self,
input: DescribeFaqRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFaqResponse, RusotoError<DescribeFaqError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_faq<'life0, 'async_trait>(
&'life0 self,
input: DescribeFaqRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFaqResponse, RusotoError<DescribeFaqError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about an FAQ list.
sourcefn describe_index<'life0, 'async_trait>(
&'life0 self,
input: DescribeIndexRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeIndexResponse, RusotoError<DescribeIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_index<'life0, 'async_trait>(
&'life0 self,
input: DescribeIndexRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeIndexResponse, RusotoError<DescribeIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes an existing Amazon Kendra index
sourcefn describe_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: DescribeQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeQuerySuggestionsBlockListResponse, RusotoError<DescribeQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: DescribeQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeQuerySuggestionsBlockListResponse, RusotoError<DescribeQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes a block list used for query suggestions for an index.
This is used to check the current settings that are applied to a block list.
sourcefn describe_query_suggestions_config<'life0, 'async_trait>(
&'life0 self,
input: DescribeQuerySuggestionsConfigRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeQuerySuggestionsConfigResponse, RusotoError<DescribeQuerySuggestionsConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_query_suggestions_config<'life0, 'async_trait>(
&'life0 self,
input: DescribeQuerySuggestionsConfigRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeQuerySuggestionsConfigResponse, RusotoError<DescribeQuerySuggestionsConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes the settings of query suggestions for an index.
This is used to check the current settings applied to query suggestions.
sourcefn describe_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: DescribeThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeThesaurusResponse, RusotoError<DescribeThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: DescribeThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeThesaurusResponse, RusotoError<DescribeThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes an existing Amazon Kendra thesaurus.
sourcefn get_query_suggestions<'life0, 'async_trait>(
&'life0 self,
input: GetQuerySuggestionsRequest
) -> Pin<Box<dyn Future<Output = Result<GetQuerySuggestionsResponse, RusotoError<GetQuerySuggestionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_query_suggestions<'life0, 'async_trait>(
&'life0 self,
input: GetQuerySuggestionsRequest
) -> Pin<Box<dyn Future<Output = Result<GetQuerySuggestionsResponse, RusotoError<GetQuerySuggestionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Fetches the queries that are suggested to your users.
sourcefn list_data_source_sync_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListDataSourceSyncJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSourceSyncJobsResponse, RusotoError<ListDataSourceSyncJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_data_source_sync_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListDataSourceSyncJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSourceSyncJobsResponse, RusotoError<ListDataSourceSyncJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets statistics about synchronizing Amazon Kendra with a data source.
sourcefn list_data_sources<'life0, 'async_trait>(
&'life0 self,
input: ListDataSourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSourcesResponse, RusotoError<ListDataSourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_data_sources<'life0, 'async_trait>(
&'life0 self,
input: ListDataSourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSourcesResponse, RusotoError<ListDataSourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the data sources that you have created.
sourcefn list_faqs<'life0, 'async_trait>(
&'life0 self,
input: ListFaqsRequest
) -> Pin<Box<dyn Future<Output = Result<ListFaqsResponse, RusotoError<ListFaqsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_faqs<'life0, 'async_trait>(
&'life0 self,
input: ListFaqsRequest
) -> Pin<Box<dyn Future<Output = Result<ListFaqsResponse, RusotoError<ListFaqsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets a list of FAQ lists associated with an index.
sourcefn list_indices<'life0, 'async_trait>(
&'life0 self,
input: ListIndicesRequest
) -> Pin<Box<dyn Future<Output = Result<ListIndicesResponse, RusotoError<ListIndicesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_indices<'life0, 'async_trait>(
&'life0 self,
input: ListIndicesRequest
) -> Pin<Box<dyn Future<Output = Result<ListIndicesResponse, RusotoError<ListIndicesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the Amazon Kendra indexes that you have created.
sourcefn list_query_suggestions_block_lists<'life0, 'async_trait>(
&'life0 self,
input: ListQuerySuggestionsBlockListsRequest
) -> Pin<Box<dyn Future<Output = Result<ListQuerySuggestionsBlockListsResponse, RusotoError<ListQuerySuggestionsBlockListsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_query_suggestions_block_lists<'life0, 'async_trait>(
&'life0 self,
input: ListQuerySuggestionsBlockListsRequest
) -> Pin<Box<dyn Future<Output = Result<ListQuerySuggestionsBlockListsResponse, RusotoError<ListQuerySuggestionsBlockListsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the block lists used for query suggestions for an index.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.
sourcefn list_thesauri<'life0, 'async_trait>(
&'life0 self,
input: ListThesauriRequest
) -> Pin<Box<dyn Future<Output = Result<ListThesauriResponse, RusotoError<ListThesauriError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_thesauri<'life0, 'async_trait>(
&'life0 self,
input: ListThesauriRequest
) -> Pin<Box<dyn Future<Output = Result<ListThesauriResponse, RusotoError<ListThesauriError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the Amazon Kendra thesauri associated with an index.
sourcefn query<'life0, 'async_trait>(
&'life0 self,
input: QueryRequest
) -> Pin<Box<dyn Future<Output = Result<QueryResult, RusotoError<QueryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn query<'life0, 'async_trait>(
&'life0 self,
input: QueryRequest
) -> Pin<Box<dyn Future<Output = Result<QueryResult, RusotoError<QueryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn start_data_source_sync_job<'life0, 'async_trait>(
&'life0 self,
input: StartDataSourceSyncJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartDataSourceSyncJobResponse, RusotoError<StartDataSourceSyncJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_data_source_sync_job<'life0, 'async_trait>(
&'life0 self,
input: StartDataSourceSyncJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartDataSourceSyncJobResponse, RusotoError<StartDataSourceSyncJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException
exception.
sourcefn stop_data_source_sync_job<'life0, 'async_trait>(
&'life0 self,
input: StopDataSourceSyncJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<StopDataSourceSyncJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn stop_data_source_sync_job<'life0, 'async_trait>(
&'life0 self,
input: StopDataSourceSyncJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<StopDataSourceSyncJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Stops a running synchronization job. You can't stop a scheduled synchronization job.
sourcefn submit_feedback<'life0, 'async_trait>(
&'life0 self,
input: SubmitFeedbackRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<SubmitFeedbackError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn submit_feedback<'life0, 'async_trait>(
&'life0 self,
input: SubmitFeedbackRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<SubmitFeedbackError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Enables you to provide feedback to Amazon Kendra to improve the performance of the service.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds 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.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes a tag from an index, FAQ, or a data source.
sourcefn update_data_source<'life0, 'async_trait>(
&'life0 self,
input: UpdateDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_data_source<'life0, 'async_trait>(
&'life0 self,
input: UpdateDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateDataSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates an existing Amazon Kendra data source.
sourcefn update_index<'life0, 'async_trait>(
&'life0 self,
input: UpdateIndexRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_index<'life0, 'async_trait>(
&'life0 self,
input: UpdateIndexRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateIndexError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates an existing Amazon Kendra index.
sourcefn update_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: UpdateQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_query_suggestions_block_list<'life0, 'async_trait>(
&'life0 self,
input: UpdateQuerySuggestionsBlockListRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateQuerySuggestionsBlockListError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a block list used for query suggestions for an index.
Updates to a block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to apply any updates to the block list. Other changes not related to the block list apply immediately.
If a block list is updating, then you need to wait for the first update to finish before submitting another update.
Amazon Kendra supports partial updates, so you only need to provide the fields you want to update.
sourcefn update_query_suggestions_config<'life0, 'async_trait>(
&'life0 self,
input: UpdateQuerySuggestionsConfigRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateQuerySuggestionsConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_query_suggestions_config<'life0, 'async_trait>(
&'life0 self,
input: UpdateQuerySuggestionsConfigRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateQuerySuggestionsConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the settings of query suggestions for an index.
Amazon Kendra supports partial updates, so you only need to provide the fields you want to update.
If an update is currently processing (i.e. 'happening'), you need to wait for the update to finish before making another update.
Updates to query suggestions settings might not take effect right away. The time for your updated settings to take effect depends on the updates made and the number of search queries in your index.
You can still enable/disable query suggestions at any time.
sourcefn update_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: UpdateThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_thesaurus<'life0, 'async_trait>(
&'life0 self,
input: UpdateThesaurusRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateThesaurusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a thesaurus file associated with an index.
Auto Trait Implementations
impl !RefUnwindSafe for KendraClient
impl Send for KendraClient
impl Sync for KendraClient
impl Unpin for KendraClient
impl !UnwindSafe for KendraClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more