@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonQConnectAsync extends AbstractAmazonQConnect implements AmazonQConnectAsync
AmazonQConnectAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
createAssistant, createAssistantAssociation, createContent, createKnowledgeBase, createQuickResponse, createSession, deleteAssistant, deleteAssistantAssociation, deleteContent, deleteImportJob, deleteKnowledgeBase, deleteQuickResponse, getAssistant, getAssistantAssociation, getCachedResponseMetadata, getContent, getContentSummary, getImportJob, getKnowledgeBase, getQuickResponse, getRecommendations, getSession, listAssistantAssociations, listAssistants, listContents, listImportJobs, listKnowledgeBases, listQuickResponses, listTagsForResource, notifyRecommendationsReceived, putFeedback, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchQuickResponses, searchSessions, shutdown, startContentUpload, startImportJob, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri, updateQuickResponse
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAssistant, createAssistantAssociation, createContent, createKnowledgeBase, createQuickResponse, createSession, deleteAssistant, deleteAssistantAssociation, deleteContent, deleteImportJob, deleteKnowledgeBase, deleteQuickResponse, getAssistant, getAssistantAssociation, getCachedResponseMetadata, getContent, getContentSummary, getImportJob, getKnowledgeBase, getQuickResponse, getRecommendations, getSession, listAssistantAssociations, listAssistants, listContents, listImportJobs, listKnowledgeBases, listQuickResponses, listTagsForResource, notifyRecommendationsReceived, putFeedback, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchQuickResponses, searchSessions, shutdown, startContentUpload, startImportJob, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri, updateQuickResponse
public Future<CreateAssistantResult> createAssistantAsync(CreateAssistantRequest request)
AmazonQConnectAsync
Creates an Amazon Q in Connect assistant.
createAssistantAsync
in interface AmazonQConnectAsync
public Future<CreateAssistantResult> createAssistantAsync(CreateAssistantRequest request, AsyncHandler<CreateAssistantRequest,CreateAssistantResult> asyncHandler)
AmazonQConnectAsync
Creates an Amazon Q in Connect assistant.
createAssistantAsync
in interface AmazonQConnectAsync
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.public Future<CreateAssistantAssociationResult> createAssistantAssociationAsync(CreateAssistantAssociationRequest request)
AmazonQConnectAsync
Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
createAssistantAssociationAsync
in interface AmazonQConnectAsync
public Future<CreateAssistantAssociationResult> createAssistantAssociationAsync(CreateAssistantAssociationRequest request, AsyncHandler<CreateAssistantAssociationRequest,CreateAssistantAssociationResult> asyncHandler)
AmazonQConnectAsync
Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
createAssistantAssociationAsync
in interface AmazonQConnectAsync
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.public Future<CreateContentResult> createContentAsync(CreateContentRequest request)
AmazonQConnectAsync
Creates Amazon Q content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAsync
in interface AmazonQConnectAsync
public Future<CreateContentResult> createContentAsync(CreateContentRequest request, AsyncHandler<CreateContentRequest,CreateContentResult> asyncHandler)
AmazonQConnectAsync
Creates Amazon Q content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAsync
in interface AmazonQConnectAsync
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.public Future<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request)
AmazonQConnectAsync
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:
Call DeleteKnowledgeBase.
Call DeleteDataIntegration.
Call CreateDataIntegration to recreate the DataIntegration or a create different one.
Call CreateKnowledgeBase.
createKnowledgeBaseAsync
in interface AmazonQConnectAsync
public Future<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, AsyncHandler<CreateKnowledgeBaseRequest,CreateKnowledgeBaseResult> asyncHandler)
AmazonQConnectAsync
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:
Call DeleteKnowledgeBase.
Call DeleteDataIntegration.
Call CreateDataIntegration to recreate the DataIntegration or a create different one.
Call CreateKnowledgeBase.
createKnowledgeBaseAsync
in interface AmazonQConnectAsync
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.public Future<CreateQuickResponseResult> createQuickResponseAsync(CreateQuickResponseRequest request)
AmazonQConnectAsync
Creates an Amazon Q quick response.
createQuickResponseAsync
in interface AmazonQConnectAsync
public Future<CreateQuickResponseResult> createQuickResponseAsync(CreateQuickResponseRequest request, AsyncHandler<CreateQuickResponseRequest,CreateQuickResponseResult> asyncHandler)
AmazonQConnectAsync
Creates an Amazon Q quick response.
createQuickResponseAsync
in interface AmazonQConnectAsync
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.public Future<CreateSessionResult> createSessionAsync(CreateSessionRequest request)
AmazonQConnectAsync
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q session for each contact on which Amazon Q is enabled.
createSessionAsync
in interface AmazonQConnectAsync
public Future<CreateSessionResult> createSessionAsync(CreateSessionRequest request, AsyncHandler<CreateSessionRequest,CreateSessionResult> asyncHandler)
AmazonQConnectAsync
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q session for each contact on which Amazon Q is enabled.
createSessionAsync
in interface AmazonQConnectAsync
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.public Future<DeleteAssistantResult> deleteAssistantAsync(DeleteAssistantRequest request)
AmazonQConnectAsync
Deletes an assistant.
deleteAssistantAsync
in interface AmazonQConnectAsync
public Future<DeleteAssistantResult> deleteAssistantAsync(DeleteAssistantRequest request, AsyncHandler<DeleteAssistantRequest,DeleteAssistantResult> asyncHandler)
AmazonQConnectAsync
Deletes an assistant.
deleteAssistantAsync
in interface AmazonQConnectAsync
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.public Future<DeleteAssistantAssociationResult> deleteAssistantAssociationAsync(DeleteAssistantAssociationRequest request)
AmazonQConnectAsync
Deletes an assistant association.
deleteAssistantAssociationAsync
in interface AmazonQConnectAsync
public Future<DeleteAssistantAssociationResult> deleteAssistantAssociationAsync(DeleteAssistantAssociationRequest request, AsyncHandler<DeleteAssistantAssociationRequest,DeleteAssistantAssociationResult> asyncHandler)
AmazonQConnectAsync
Deletes an assistant association.
deleteAssistantAssociationAsync
in interface AmazonQConnectAsync
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.public Future<DeleteContentResult> deleteContentAsync(DeleteContentRequest request)
AmazonQConnectAsync
Deletes the content.
deleteContentAsync
in interface AmazonQConnectAsync
public Future<DeleteContentResult> deleteContentAsync(DeleteContentRequest request, AsyncHandler<DeleteContentRequest,DeleteContentResult> asyncHandler)
AmazonQConnectAsync
Deletes the content.
deleteContentAsync
in interface AmazonQConnectAsync
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.public Future<DeleteImportJobResult> deleteImportJobAsync(DeleteImportJobRequest request)
AmazonQConnectAsync
Deletes the quick response import job.
deleteImportJobAsync
in interface AmazonQConnectAsync
public Future<DeleteImportJobResult> deleteImportJobAsync(DeleteImportJobRequest request, AsyncHandler<DeleteImportJobRequest,DeleteImportJobResult> asyncHandler)
AmazonQConnectAsync
Deletes the quick response import job.
deleteImportJobAsync
in interface AmazonQConnectAsync
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.public Future<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request)
AmazonQConnectAsync
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.
deleteKnowledgeBaseAsync
in interface AmazonQConnectAsync
public Future<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, AsyncHandler<DeleteKnowledgeBaseRequest,DeleteKnowledgeBaseResult> asyncHandler)
AmazonQConnectAsync
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.
deleteKnowledgeBaseAsync
in interface AmazonQConnectAsync
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.public Future<DeleteQuickResponseResult> deleteQuickResponseAsync(DeleteQuickResponseRequest request)
AmazonQConnectAsync
Deletes a quick response.
deleteQuickResponseAsync
in interface AmazonQConnectAsync
public Future<DeleteQuickResponseResult> deleteQuickResponseAsync(DeleteQuickResponseRequest request, AsyncHandler<DeleteQuickResponseRequest,DeleteQuickResponseResult> asyncHandler)
AmazonQConnectAsync
Deletes a quick response.
deleteQuickResponseAsync
in interface AmazonQConnectAsync
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.public Future<GetAssistantResult> getAssistantAsync(GetAssistantRequest request)
AmazonQConnectAsync
Retrieves information about an assistant.
getAssistantAsync
in interface AmazonQConnectAsync
public Future<GetAssistantResult> getAssistantAsync(GetAssistantRequest request, AsyncHandler<GetAssistantRequest,GetAssistantResult> asyncHandler)
AmazonQConnectAsync
Retrieves information about an assistant.
getAssistantAsync
in interface AmazonQConnectAsync
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.public Future<GetAssistantAssociationResult> getAssistantAssociationAsync(GetAssistantAssociationRequest request)
AmazonQConnectAsync
Retrieves information about an assistant association.
getAssistantAssociationAsync
in interface AmazonQConnectAsync
public Future<GetAssistantAssociationResult> getAssistantAssociationAsync(GetAssistantAssociationRequest request, AsyncHandler<GetAssistantAssociationRequest,GetAssistantAssociationResult> asyncHandler)
AmazonQConnectAsync
Retrieves information about an assistant association.
getAssistantAssociationAsync
in interface AmazonQConnectAsync
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.public Future<GetContentResult> getContentAsync(GetContentRequest request)
AmazonQConnectAsync
Retrieves content, including a pre-signed URL to download the content.
getContentAsync
in interface AmazonQConnectAsync
public Future<GetContentResult> getContentAsync(GetContentRequest request, AsyncHandler<GetContentRequest,GetContentResult> asyncHandler)
AmazonQConnectAsync
Retrieves content, including a pre-signed URL to download the content.
getContentAsync
in interface AmazonQConnectAsync
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.public Future<GetContentSummaryResult> getContentSummaryAsync(GetContentSummaryRequest request)
AmazonQConnectAsync
Retrieves summary information about the content.
getContentSummaryAsync
in interface AmazonQConnectAsync
public Future<GetContentSummaryResult> getContentSummaryAsync(GetContentSummaryRequest request, AsyncHandler<GetContentSummaryRequest,GetContentSummaryResult> asyncHandler)
AmazonQConnectAsync
Retrieves summary information about the content.
getContentSummaryAsync
in interface AmazonQConnectAsync
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.public Future<GetImportJobResult> getImportJobAsync(GetImportJobRequest request)
AmazonQConnectAsync
Retrieves the started import job.
getImportJobAsync
in interface AmazonQConnectAsync
public Future<GetImportJobResult> getImportJobAsync(GetImportJobRequest request, AsyncHandler<GetImportJobRequest,GetImportJobResult> asyncHandler)
AmazonQConnectAsync
Retrieves the started import job.
getImportJobAsync
in interface AmazonQConnectAsync
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.public Future<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request)
AmazonQConnectAsync
Retrieves information about the knowledge base.
getKnowledgeBaseAsync
in interface AmazonQConnectAsync
public Future<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request, AsyncHandler<GetKnowledgeBaseRequest,GetKnowledgeBaseResult> asyncHandler)
AmazonQConnectAsync
Retrieves information about the knowledge base.
getKnowledgeBaseAsync
in interface AmazonQConnectAsync
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.public Future<GetQuickResponseResult> getQuickResponseAsync(GetQuickResponseRequest request)
AmazonQConnectAsync
Retrieves the quick response.
getQuickResponseAsync
in interface AmazonQConnectAsync
public Future<GetQuickResponseResult> getQuickResponseAsync(GetQuickResponseRequest request, AsyncHandler<GetQuickResponseRequest,GetQuickResponseResult> asyncHandler)
AmazonQConnectAsync
Retrieves the quick response.
getQuickResponseAsync
in interface AmazonQConnectAsync
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.@Deprecated public Future<GetRecommendationsResult> getRecommendationsAsync(GetRecommendationsRequest request)
AmazonQConnectAsync
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.
getRecommendationsAsync
in interface AmazonQConnectAsync
@Deprecated public Future<GetRecommendationsResult> getRecommendationsAsync(GetRecommendationsRequest request, AsyncHandler<GetRecommendationsRequest,GetRecommendationsResult> asyncHandler)
AmazonQConnectAsync
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.
getRecommendationsAsync
in interface AmazonQConnectAsync
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.public Future<GetSessionResult> getSessionAsync(GetSessionRequest request)
AmazonQConnectAsync
Retrieves information for a specified session.
getSessionAsync
in interface AmazonQConnectAsync
public Future<GetSessionResult> getSessionAsync(GetSessionRequest request, AsyncHandler<GetSessionRequest,GetSessionResult> asyncHandler)
AmazonQConnectAsync
Retrieves information for a specified session.
getSessionAsync
in interface AmazonQConnectAsync
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.public Future<ListAssistantAssociationsResult> listAssistantAssociationsAsync(ListAssistantAssociationsRequest request)
AmazonQConnectAsync
Lists information about assistant associations.
listAssistantAssociationsAsync
in interface AmazonQConnectAsync
public Future<ListAssistantAssociationsResult> listAssistantAssociationsAsync(ListAssistantAssociationsRequest request, AsyncHandler<ListAssistantAssociationsRequest,ListAssistantAssociationsResult> asyncHandler)
AmazonQConnectAsync
Lists information about assistant associations.
listAssistantAssociationsAsync
in interface AmazonQConnectAsync
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.public Future<ListAssistantsResult> listAssistantsAsync(ListAssistantsRequest request)
AmazonQConnectAsync
Lists information about assistants.
listAssistantsAsync
in interface AmazonQConnectAsync
public Future<ListAssistantsResult> listAssistantsAsync(ListAssistantsRequest request, AsyncHandler<ListAssistantsRequest,ListAssistantsResult> asyncHandler)
AmazonQConnectAsync
Lists information about assistants.
listAssistantsAsync
in interface AmazonQConnectAsync
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.public Future<ListContentsResult> listContentsAsync(ListContentsRequest request)
AmazonQConnectAsync
Lists the content.
listContentsAsync
in interface AmazonQConnectAsync
public Future<ListContentsResult> listContentsAsync(ListContentsRequest request, AsyncHandler<ListContentsRequest,ListContentsResult> asyncHandler)
AmazonQConnectAsync
Lists the content.
listContentsAsync
in interface AmazonQConnectAsync
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.public Future<ListImportJobsResult> listImportJobsAsync(ListImportJobsRequest request)
AmazonQConnectAsync
Lists information about import jobs.
listImportJobsAsync
in interface AmazonQConnectAsync
public Future<ListImportJobsResult> listImportJobsAsync(ListImportJobsRequest request, AsyncHandler<ListImportJobsRequest,ListImportJobsResult> asyncHandler)
AmazonQConnectAsync
Lists information about import jobs.
listImportJobsAsync
in interface AmazonQConnectAsync
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.public Future<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request)
AmazonQConnectAsync
Lists the knowledge bases.
listKnowledgeBasesAsync
in interface AmazonQConnectAsync
public Future<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request, AsyncHandler<ListKnowledgeBasesRequest,ListKnowledgeBasesResult> asyncHandler)
AmazonQConnectAsync
Lists the knowledge bases.
listKnowledgeBasesAsync
in interface AmazonQConnectAsync
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.public Future<ListQuickResponsesResult> listQuickResponsesAsync(ListQuickResponsesRequest request)
AmazonQConnectAsync
Lists information about quick response.
listQuickResponsesAsync
in interface AmazonQConnectAsync
public Future<ListQuickResponsesResult> listQuickResponsesAsync(ListQuickResponsesRequest request, AsyncHandler<ListQuickResponsesRequest,ListQuickResponsesResult> asyncHandler)
AmazonQConnectAsync
Lists information about quick response.
listQuickResponsesAsync
in interface AmazonQConnectAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonQConnectAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonQConnectAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonQConnectAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonQConnectAsync
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.public Future<NotifyRecommendationsReceivedResult> notifyRecommendationsReceivedAsync(NotifyRecommendationsReceivedRequest request)
AmazonQConnectAsync
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.
notifyRecommendationsReceivedAsync
in interface AmazonQConnectAsync
public Future<NotifyRecommendationsReceivedResult> notifyRecommendationsReceivedAsync(NotifyRecommendationsReceivedRequest request, AsyncHandler<NotifyRecommendationsReceivedRequest,NotifyRecommendationsReceivedResult> asyncHandler)
AmazonQConnectAsync
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.
notifyRecommendationsReceivedAsync
in interface AmazonQConnectAsync
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.public Future<PutFeedbackResult> putFeedbackAsync(PutFeedbackRequest request)
AmazonQConnectAsync
Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
putFeedbackAsync
in interface AmazonQConnectAsync
public Future<PutFeedbackResult> putFeedbackAsync(PutFeedbackRequest request, AsyncHandler<PutFeedbackRequest,PutFeedbackResult> asyncHandler)
AmazonQConnectAsync
Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
putFeedbackAsync
in interface AmazonQConnectAsync
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.@Deprecated public Future<QueryAssistantResult> queryAssistantAsync(QueryAssistantRequest request)
AmazonQConnectAsync
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantAsync
in interface AmazonQConnectAsync
@Deprecated public Future<QueryAssistantResult> queryAssistantAsync(QueryAssistantRequest request, AsyncHandler<QueryAssistantRequest,QueryAssistantResult> asyncHandler)
AmazonQConnectAsync
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantAsync
in interface AmazonQConnectAsync
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.public Future<RemoveKnowledgeBaseTemplateUriResult> removeKnowledgeBaseTemplateUriAsync(RemoveKnowledgeBaseTemplateUriRequest request)
AmazonQConnectAsync
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriAsync
in interface AmazonQConnectAsync
public Future<RemoveKnowledgeBaseTemplateUriResult> removeKnowledgeBaseTemplateUriAsync(RemoveKnowledgeBaseTemplateUriRequest request, AsyncHandler<RemoveKnowledgeBaseTemplateUriRequest,RemoveKnowledgeBaseTemplateUriResult> asyncHandler)
AmazonQConnectAsync
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriAsync
in interface AmazonQConnectAsync
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.public Future<SearchContentResult> searchContentAsync(SearchContentRequest request)
AmazonQConnectAsync
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentAsync
in interface AmazonQConnectAsync
public Future<SearchContentResult> searchContentAsync(SearchContentRequest request, AsyncHandler<SearchContentRequest,SearchContentResult> asyncHandler)
AmazonQConnectAsync
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentAsync
in interface AmazonQConnectAsync
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.public Future<SearchQuickResponsesResult> searchQuickResponsesAsync(SearchQuickResponsesRequest request)
AmazonQConnectAsync
Searches existing Amazon Q quick responses in an Amazon Q knowledge base.
searchQuickResponsesAsync
in interface AmazonQConnectAsync
public Future<SearchQuickResponsesResult> searchQuickResponsesAsync(SearchQuickResponsesRequest request, AsyncHandler<SearchQuickResponsesRequest,SearchQuickResponsesResult> asyncHandler)
AmazonQConnectAsync
Searches existing Amazon Q quick responses in an Amazon Q knowledge base.
searchQuickResponsesAsync
in interface AmazonQConnectAsync
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.public Future<SearchSessionsResult> searchSessionsAsync(SearchSessionsRequest request)
AmazonQConnectAsync
Searches for sessions.
searchSessionsAsync
in interface AmazonQConnectAsync
public Future<SearchSessionsResult> searchSessionsAsync(SearchSessionsRequest request, AsyncHandler<SearchSessionsRequest,SearchSessionsResult> asyncHandler)
AmazonQConnectAsync
Searches for sessions.
searchSessionsAsync
in interface AmazonQConnectAsync
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.public Future<StartContentUploadResult> startContentUploadAsync(StartContentUploadRequest request)
AmazonQConnectAsync
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.
startContentUploadAsync
in interface AmazonQConnectAsync
public Future<StartContentUploadResult> startContentUploadAsync(StartContentUploadRequest request, AsyncHandler<StartContentUploadRequest,StartContentUploadResult> asyncHandler)
AmazonQConnectAsync
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.
startContentUploadAsync
in interface AmazonQConnectAsync
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.public Future<StartImportJobResult> startImportJobAsync(StartImportJobRequest request)
AmazonQConnectAsync
Start an asynchronous job to import Amazon Q resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.
For importing Amazon Q quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.
startImportJobAsync
in interface AmazonQConnectAsync
public Future<StartImportJobResult> startImportJobAsync(StartImportJobRequest request, AsyncHandler<StartImportJobRequest,StartImportJobResult> asyncHandler)
AmazonQConnectAsync
Start an asynchronous job to import Amazon Q resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.
For importing Amazon Q quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.
startImportJobAsync
in interface AmazonQConnectAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonQConnectAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonQConnectAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonQConnectAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonQConnectAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonQConnectAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonQConnectAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonQConnectAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonQConnectAsync
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.public Future<UpdateContentResult> updateContentAsync(UpdateContentRequest request)
AmazonQConnectAsync
Updates information about the content.
updateContentAsync
in interface AmazonQConnectAsync
public Future<UpdateContentResult> updateContentAsync(UpdateContentRequest request, AsyncHandler<UpdateContentRequest,UpdateContentResult> asyncHandler)
AmazonQConnectAsync
Updates information about the content.
updateContentAsync
in interface AmazonQConnectAsync
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.public Future<UpdateKnowledgeBaseTemplateUriResult> updateKnowledgeBaseTemplateUriAsync(UpdateKnowledgeBaseTemplateUriRequest request)
AmazonQConnectAsync
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 Amazon Q 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
.
updateKnowledgeBaseTemplateUriAsync
in interface AmazonQConnectAsync
public Future<UpdateKnowledgeBaseTemplateUriResult> updateKnowledgeBaseTemplateUriAsync(UpdateKnowledgeBaseTemplateUriRequest request, AsyncHandler<UpdateKnowledgeBaseTemplateUriRequest,UpdateKnowledgeBaseTemplateUriResult> asyncHandler)
AmazonQConnectAsync
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 Amazon Q 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
.
updateKnowledgeBaseTemplateUriAsync
in interface AmazonQConnectAsync
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.public Future<UpdateQuickResponseResult> updateQuickResponseAsync(UpdateQuickResponseRequest request)
AmazonQConnectAsync
Updates an existing Amazon Q quick response.
updateQuickResponseAsync
in interface AmazonQConnectAsync
public Future<UpdateQuickResponseResult> updateQuickResponseAsync(UpdateQuickResponseRequest request, AsyncHandler<UpdateQuickResponseRequest,UpdateQuickResponseResult> asyncHandler)
AmazonQConnectAsync
Updates an existing Amazon Q quick response.
updateQuickResponseAsync
in interface AmazonQConnectAsync
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.