/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.connectwisdom; import javax.annotation.Generated; import com.amazonaws.services.connectwisdom.model.*; /** * Interface for accessing Amazon Connect Wisdom Service asynchronously. Each asynchronous method will return a Java * Future object representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to * receive notification when an asynchronous operation completes. *

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.connectwisdom.AbstractAmazonConnectWisdomAsync} instead. *

*

*

* Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively speaking * with customers. Agents can search across connected repositories from within their agent desktop to find answers * quickly. Use Amazon Connect Wisdom to create an assistant and a knowledge base, for example, or manage content by * uploading custom files. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonConnectWisdomAsync extends AmazonConnectWisdom { /** *

* Creates an Amazon Connect Wisdom assistant. *

* * @param createAssistantRequest * @return A Java Future containing the result of the CreateAssistant operation returned by the service. * @sample AmazonConnectWisdomAsync.CreateAssistant * @see AWS API * Documentation */ java.util.concurrent.Future createAssistantAsync(CreateAssistantRequest createAssistantRequest); /** *

* Creates an Amazon Connect Wisdom assistant. *

* * @param createAssistantRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the CreateAssistant operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.CreateAssistant * @see AWS API * Documentation */ java.util.concurrent.Future createAssistantAsync(CreateAssistantRequest createAssistantRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only * supported association is with a knowledge base. An assistant can have only a single association. *

* * @param createAssistantAssociationRequest * @return A Java Future containing the result of the CreateAssistantAssociation operation returned by the service. * @sample AmazonConnectWisdomAsync.CreateAssistantAssociation * @see AWS API Documentation */ java.util.concurrent.Future createAssistantAssociationAsync( CreateAssistantAssociationRequest createAssistantAssociationRequest); /** *

* Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only * supported association is with a knowledge base. An assistant can have only a single association. *

* * @param createAssistantAssociationRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the CreateAssistantAssociation operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.CreateAssistantAssociation * @see AWS API Documentation */ java.util.concurrent.Future createAssistantAssociationAsync( CreateAssistantAssociationRequest createAssistantAssociationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates Wisdom content. Before to calling this API, use StartContentUpload * to upload an asset. *

* * @param createContentRequest * @return A Java Future containing the result of the CreateContent operation returned by the service. * @sample AmazonConnectWisdomAsync.CreateContent * @see AWS API * Documentation */ java.util.concurrent.Future createContentAsync(CreateContentRequest createContentRequest); /** *

* Creates Wisdom content. Before to calling this API, use StartContentUpload * to upload an asset. *

* * @param createContentRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the CreateContent operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.CreateContent * @see AWS API * Documentation */ java.util.concurrent.Future createContentAsync(CreateContentRequest createContentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a knowledge base. *

* *

* When using this API, you cannot reuse Amazon AppIntegrations * DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an * InvalidRequestException error. *

*

* For example, you're programmatically managing your external knowledge base, and you want to add or remove one of * the fields that is being ingested from Salesforce. Do the following: *

*
    *
  1. *

    * Call DeleteKnowledgeBase * . *

    *
  2. *
  3. *

    * Call * DeleteDataIntegration. *

    *
  4. *
  5. *

    * Call * CreateDataIntegration to recreate the DataIntegration or a create different one. *

    *
  6. *
  7. *

    * Call CreateKnowledgeBase. *

    *
  8. *
*
* * @param createKnowledgeBaseRequest * @return A Java Future containing the result of the CreateKnowledgeBase operation returned by the service. * @sample AmazonConnectWisdomAsync.CreateKnowledgeBase * @see AWS API * Documentation */ java.util.concurrent.Future createKnowledgeBaseAsync(CreateKnowledgeBaseRequest createKnowledgeBaseRequest); /** *

* Creates a knowledge base. *

* *

* When using this API, you cannot reuse Amazon AppIntegrations * DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an * InvalidRequestException error. *

*

* For example, you're programmatically managing your external knowledge base, and you want to add or remove one of * the fields that is being ingested from Salesforce. Do the following: *

*
    *
  1. *

    * Call DeleteKnowledgeBase * . *

    *
  2. *
  3. *

    * Call * DeleteDataIntegration. *

    *
  4. *
  5. *

    * Call * CreateDataIntegration to recreate the DataIntegration or a create different one. *

    *
  6. *
  7. *

    * Call CreateKnowledgeBase. *

    *
  8. *
*
* * @param createKnowledgeBaseRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the CreateKnowledgeBase operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.CreateKnowledgeBase * @see AWS API * Documentation */ java.util.concurrent.Future createKnowledgeBaseAsync(CreateKnowledgeBaseRequest createKnowledgeBaseRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect * creates a new Wisdom session for each contact on which Wisdom is enabled. *

* * @param createSessionRequest * @return A Java Future containing the result of the CreateSession operation returned by the service. * @sample AmazonConnectWisdomAsync.CreateSession * @see AWS API * Documentation */ java.util.concurrent.Future createSessionAsync(CreateSessionRequest createSessionRequest); /** *

* Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect * creates a new Wisdom session for each contact on which Wisdom is enabled. *

* * @param createSessionRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the CreateSession operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.CreateSession * @see AWS API * Documentation */ java.util.concurrent.Future createSessionAsync(CreateSessionRequest createSessionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an assistant. *

* * @param deleteAssistantRequest * @return A Java Future containing the result of the DeleteAssistant operation returned by the service. * @sample AmazonConnectWisdomAsync.DeleteAssistant * @see AWS API * Documentation */ java.util.concurrent.Future deleteAssistantAsync(DeleteAssistantRequest deleteAssistantRequest); /** *

* Deletes an assistant. *

* * @param deleteAssistantRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the DeleteAssistant operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.DeleteAssistant * @see AWS API * Documentation */ java.util.concurrent.Future deleteAssistantAsync(DeleteAssistantRequest deleteAssistantRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an assistant association. *

* * @param deleteAssistantAssociationRequest * @return A Java Future containing the result of the DeleteAssistantAssociation operation returned by the service. * @sample AmazonConnectWisdomAsync.DeleteAssistantAssociation * @see AWS API Documentation */ java.util.concurrent.Future deleteAssistantAssociationAsync( DeleteAssistantAssociationRequest deleteAssistantAssociationRequest); /** *

* Deletes an assistant association. *

* * @param deleteAssistantAssociationRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the DeleteAssistantAssociation operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.DeleteAssistantAssociation * @see AWS API Documentation */ java.util.concurrent.Future deleteAssistantAssociationAsync( DeleteAssistantAssociationRequest deleteAssistantAssociationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the content. *

* * @param deleteContentRequest * @return A Java Future containing the result of the DeleteContent operation returned by the service. * @sample AmazonConnectWisdomAsync.DeleteContent * @see AWS API * Documentation */ java.util.concurrent.Future deleteContentAsync(DeleteContentRequest deleteContentRequest); /** *

* Deletes the content. *

* * @param deleteContentRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the DeleteContent operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.DeleteContent * @see AWS API * Documentation */ java.util.concurrent.Future deleteContentAsync(DeleteContentRequest deleteContentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the knowledge base. *

* *

* When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete * the Amazon * AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been * associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference. *

*
* * @param deleteKnowledgeBaseRequest * @return A Java Future containing the result of the DeleteKnowledgeBase operation returned by the service. * @sample AmazonConnectWisdomAsync.DeleteKnowledgeBase * @see AWS API * Documentation */ java.util.concurrent.Future deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest); /** *

* Deletes the knowledge base. *

* *

* When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete * the Amazon * AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been * associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference. *

*
* * @param deleteKnowledgeBaseRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the DeleteKnowledgeBase operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.DeleteKnowledgeBase * @see AWS API * Documentation */ java.util.concurrent.Future deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves information about an assistant. *

* * @param getAssistantRequest * @return A Java Future containing the result of the GetAssistant operation returned by the service. * @sample AmazonConnectWisdomAsync.GetAssistant * @see AWS API * Documentation */ java.util.concurrent.Future getAssistantAsync(GetAssistantRequest getAssistantRequest); /** *

* Retrieves information about an assistant. *

* * @param getAssistantRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetAssistant operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetAssistant * @see AWS API * Documentation */ java.util.concurrent.Future getAssistantAsync(GetAssistantRequest getAssistantRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves information about an assistant association. *

* * @param getAssistantAssociationRequest * @return A Java Future containing the result of the GetAssistantAssociation operation returned by the service. * @sample AmazonConnectWisdomAsync.GetAssistantAssociation * @see AWS * API Documentation */ java.util.concurrent.Future getAssistantAssociationAsync(GetAssistantAssociationRequest getAssistantAssociationRequest); /** *

* Retrieves information about an assistant association. *

* * @param getAssistantAssociationRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetAssistantAssociation operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetAssistantAssociation * @see AWS * API Documentation */ java.util.concurrent.Future getAssistantAssociationAsync(GetAssistantAssociationRequest getAssistantAssociationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves content, including a pre-signed URL to download the content. *

* * @param getContentRequest * @return A Java Future containing the result of the GetContent operation returned by the service. * @sample AmazonConnectWisdomAsync.GetContent * @see AWS API * Documentation */ java.util.concurrent.Future getContentAsync(GetContentRequest getContentRequest); /** *

* Retrieves content, including a pre-signed URL to download the content. *

* * @param getContentRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetContent operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetContent * @see AWS API * Documentation */ java.util.concurrent.Future getContentAsync(GetContentRequest getContentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves summary information about the content. *

* * @param getContentSummaryRequest * @return A Java Future containing the result of the GetContentSummary operation returned by the service. * @sample AmazonConnectWisdomAsync.GetContentSummary * @see AWS API * Documentation */ java.util.concurrent.Future getContentSummaryAsync(GetContentSummaryRequest getContentSummaryRequest); /** *

* Retrieves summary information about the content. *

* * @param getContentSummaryRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetContentSummary operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetContentSummary * @see AWS API * Documentation */ java.util.concurrent.Future getContentSummaryAsync(GetContentSummaryRequest getContentSummaryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves information about the knowledge base. *

* * @param getKnowledgeBaseRequest * @return A Java Future containing the result of the GetKnowledgeBase operation returned by the service. * @sample AmazonConnectWisdomAsync.GetKnowledgeBase * @see AWS API * Documentation */ java.util.concurrent.Future getKnowledgeBaseAsync(GetKnowledgeBaseRequest getKnowledgeBaseRequest); /** *

* Retrieves information about the knowledge base. *

* * @param getKnowledgeBaseRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetKnowledgeBase operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetKnowledgeBase * @see AWS API * Documentation */ java.util.concurrent.Future getKnowledgeBaseAsync(GetKnowledgeBaseRequest getKnowledgeBaseRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent * calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds * parameter. Short poll is the default behavior and only returns recommendations already available. To perform a * manual query against an assistant, use QueryAssistant. *

* * @param getRecommendationsRequest * @return A Java Future containing the result of the GetRecommendations operation returned by the service. * @sample AmazonConnectWisdomAsync.GetRecommendations * @see AWS API * Documentation */ java.util.concurrent.Future getRecommendationsAsync(GetRecommendationsRequest getRecommendationsRequest); /** *

* Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent * calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds * parameter. Short poll is the default behavior and only returns recommendations already available. To perform a * manual query against an assistant, use QueryAssistant. *

* * @param getRecommendationsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetRecommendations operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetRecommendations * @see AWS API * Documentation */ java.util.concurrent.Future getRecommendationsAsync(GetRecommendationsRequest getRecommendationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves information for a specified session. *

* * @param getSessionRequest * @return A Java Future containing the result of the GetSession operation returned by the service. * @sample AmazonConnectWisdomAsync.GetSession * @see AWS API * Documentation */ java.util.concurrent.Future getSessionAsync(GetSessionRequest getSessionRequest); /** *

* Retrieves information for a specified session. *

* * @param getSessionRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetSession operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.GetSession * @see AWS API * Documentation */ java.util.concurrent.Future getSessionAsync(GetSessionRequest getSessionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists information about assistant associations. *

* * @param listAssistantAssociationsRequest * @return A Java Future containing the result of the ListAssistantAssociations operation returned by the service. * @sample AmazonConnectWisdomAsync.ListAssistantAssociations * @see AWS API Documentation */ java.util.concurrent.Future listAssistantAssociationsAsync( ListAssistantAssociationsRequest listAssistantAssociationsRequest); /** *

* Lists information about assistant associations. *

* * @param listAssistantAssociationsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListAssistantAssociations operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.ListAssistantAssociations * @see AWS API Documentation */ java.util.concurrent.Future listAssistantAssociationsAsync( ListAssistantAssociationsRequest listAssistantAssociationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists information about assistants. *

* * @param listAssistantsRequest * @return A Java Future containing the result of the ListAssistants operation returned by the service. * @sample AmazonConnectWisdomAsync.ListAssistants * @see AWS API * Documentation */ java.util.concurrent.Future listAssistantsAsync(ListAssistantsRequest listAssistantsRequest); /** *

* Lists information about assistants. *

* * @param listAssistantsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListAssistants operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.ListAssistants * @see AWS API * Documentation */ java.util.concurrent.Future listAssistantsAsync(ListAssistantsRequest listAssistantsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the content. *

* * @param listContentsRequest * @return A Java Future containing the result of the ListContents operation returned by the service. * @sample AmazonConnectWisdomAsync.ListContents * @see AWS API * Documentation */ java.util.concurrent.Future listContentsAsync(ListContentsRequest listContentsRequest); /** *

* Lists the content. *

* * @param listContentsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListContents operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.ListContents * @see AWS API * Documentation */ java.util.concurrent.Future listContentsAsync(ListContentsRequest listContentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the knowledge bases. *

* * @param listKnowledgeBasesRequest * @return A Java Future containing the result of the ListKnowledgeBases operation returned by the service. * @sample AmazonConnectWisdomAsync.ListKnowledgeBases * @see AWS API * Documentation */ java.util.concurrent.Future listKnowledgeBasesAsync(ListKnowledgeBasesRequest listKnowledgeBasesRequest); /** *

* Lists the knowledge bases. *

* * @param listKnowledgeBasesRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListKnowledgeBases operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.ListKnowledgeBases * @see AWS API * Documentation */ java.util.concurrent.Future listKnowledgeBasesAsync(ListKnowledgeBasesRequest listKnowledgeBasesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags for the specified resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonConnectWisdomAsync.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags for the specified resource. *

* * @param listTagsForResourceRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the specified recommendations from the specified assistant's queue of newly available recommendations. * You can use this API in conjunction with GetRecommendations * and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations. *

* * @param notifyRecommendationsReceivedRequest * @return A Java Future containing the result of the NotifyRecommendationsReceived operation returned by the * service. * @sample AmazonConnectWisdomAsync.NotifyRecommendationsReceived * @see AWS API Documentation */ java.util.concurrent.Future notifyRecommendationsReceivedAsync( NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest); /** *

* Removes the specified recommendations from the specified assistant's queue of newly available recommendations. * You can use this API in conjunction with GetRecommendations * and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations. *

* * @param notifyRecommendationsReceivedRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the NotifyRecommendationsReceived operation returned by the * service. * @sample AmazonConnectWisdomAsyncHandler.NotifyRecommendationsReceived * @see AWS API Documentation */ java.util.concurrent.Future notifyRecommendationsReceivedAsync( NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations. *

* * @param queryAssistantRequest * @return A Java Future containing the result of the QueryAssistant operation returned by the service. * @sample AmazonConnectWisdomAsync.QueryAssistant * @see AWS API * Documentation */ java.util.concurrent.Future queryAssistantAsync(QueryAssistantRequest queryAssistantRequest); /** *

* Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations. *

* * @param queryAssistantRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the QueryAssistant operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.QueryAssistant * @see AWS API * Documentation */ java.util.concurrent.Future queryAssistantAsync(QueryAssistantRequest queryAssistantRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes a URI template from a knowledge base. *

* * @param removeKnowledgeBaseTemplateUriRequest * @return A Java Future containing the result of the RemoveKnowledgeBaseTemplateUri operation returned by the * service. * @sample AmazonConnectWisdomAsync.RemoveKnowledgeBaseTemplateUri * @see AWS API Documentation */ java.util.concurrent.Future removeKnowledgeBaseTemplateUriAsync( RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest); /** *

* Removes a URI template from a knowledge base. *

* * @param removeKnowledgeBaseTemplateUriRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the RemoveKnowledgeBaseTemplateUri operation returned by the * service. * @sample AmazonConnectWisdomAsyncHandler.RemoveKnowledgeBaseTemplateUri * @see AWS API Documentation */ java.util.concurrent.Future removeKnowledgeBaseTemplateUriAsync( RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name. *

* * @param searchContentRequest * @return A Java Future containing the result of the SearchContent operation returned by the service. * @sample AmazonConnectWisdomAsync.SearchContent * @see AWS API * Documentation */ java.util.concurrent.Future searchContentAsync(SearchContentRequest searchContentRequest); /** *

* Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name. *

* * @param searchContentRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the SearchContent operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.SearchContent * @see AWS API * Documentation */ java.util.concurrent.Future searchContentAsync(SearchContentRequest searchContentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Searches for sessions. *

* * @param searchSessionsRequest * @return A Java Future containing the result of the SearchSessions operation returned by the service. * @sample AmazonConnectWisdomAsync.SearchSessions * @see AWS API * Documentation */ java.util.concurrent.Future searchSessionsAsync(SearchSessionsRequest searchSessionsRequest); /** *

* Searches for sessions. *

* * @param searchSessionsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the SearchSessions operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.SearchSessions * @see AWS API * Documentation */ java.util.concurrent.Future searchSessionsAsync(SearchSessionsRequest searchSessionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL * with your file, making sure to include the required headers. Then use CreateContent to * finalize the content creation process or UpdateContent to modify * an existing resource. You can only upload content to a knowledge base of type CUSTOM. *

* * @param startContentUploadRequest * @return A Java Future containing the result of the StartContentUpload operation returned by the service. * @sample AmazonConnectWisdomAsync.StartContentUpload * @see AWS API * Documentation */ java.util.concurrent.Future startContentUploadAsync(StartContentUploadRequest startContentUploadRequest); /** *

* Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL * with your file, making sure to include the required headers. Then use CreateContent to * finalize the content creation process or UpdateContent to modify * an existing resource. You can only upload content to a knowledge base of type CUSTOM. *

* * @param startContentUploadRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the StartContentUpload operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.StartContentUpload * @see AWS API * Documentation */ java.util.concurrent.Future startContentUploadAsync(StartContentUploadRequest startContentUploadRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds the specified tags to the specified resource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonConnectWisdomAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds the specified tags to the specified resource. *

* * @param tagResourceRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the specified tags from the specified resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonConnectWisdomAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes the specified tags from the specified resource. *

* * @param untagResourceRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates information about the content. *

* * @param updateContentRequest * @return A Java Future containing the result of the UpdateContent operation returned by the service. * @sample AmazonConnectWisdomAsync.UpdateContent * @see AWS API * Documentation */ java.util.concurrent.Future updateContentAsync(UpdateContentRequest updateContentRequest); /** *

* Updates information about the content. *

* * @param updateContentRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the UpdateContent operation returned by the service. * @sample AmazonConnectWisdomAsyncHandler.UpdateContent * @see AWS API * Documentation */ java.util.concurrent.Future updateContentAsync(UpdateContentRequest updateContentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. * Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. * For example, if you ingest a Salesforce article, it has an Id value, and you can set the template * URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view. *

* * @param updateKnowledgeBaseTemplateUriRequest * @return A Java Future containing the result of the UpdateKnowledgeBaseTemplateUri operation returned by the * service. * @sample AmazonConnectWisdomAsync.UpdateKnowledgeBaseTemplateUri * @see AWS API Documentation */ java.util.concurrent.Future updateKnowledgeBaseTemplateUriAsync( UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest); /** *

* Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. * Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. * For example, if you ingest a Salesforce article, it has an Id value, and you can set the template * URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view. *

* * @param updateKnowledgeBaseTemplateUriRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the UpdateKnowledgeBaseTemplateUri operation returned by the * service. * @sample AmazonConnectWisdomAsyncHandler.UpdateKnowledgeBaseTemplateUri * @see AWS API Documentation */ java.util.concurrent.Future updateKnowledgeBaseTemplateUriAsync( UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }