@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_PREFIXcreateAssistant, createAssistantAssociation, createContent, createContentAssociation, createKnowledgeBase, createQuickResponse, createSession, deleteAssistant, deleteAssistantAssociation, deleteContent, deleteContentAssociation, deleteImportJob, deleteKnowledgeBase, deleteQuickResponse, getAssistant, getAssistantAssociation, getCachedResponseMetadata, getContent, getContentAssociation, getContentSummary, getImportJob, getKnowledgeBase, getQuickResponse, getRecommendations, getSession, listAssistantAssociations, listAssistants, listContentAssociations, listContents, listImportJobs, listKnowledgeBases, listQuickResponses, listTagsForResource, notifyRecommendationsReceived, putFeedback, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchQuickResponses, searchSessions, shutdown, startContentUpload, startImportJob, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri, updateQuickResponse, updateSessionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAssistant, createAssistantAssociation, createContent, createContentAssociation, createKnowledgeBase, createQuickResponse, createSession, deleteAssistant, deleteAssistantAssociation, deleteContent, deleteContentAssociation, deleteImportJob, deleteKnowledgeBase, deleteQuickResponse, getAssistant, getAssistantAssociation, getCachedResponseMetadata, getContent, getContentAssociation, getContentSummary, getImportJob, getKnowledgeBase, getQuickResponse, getRecommendations, getSession, listAssistantAssociations, listAssistants, listContentAssociations, listContents, listImportJobs, listKnowledgeBases, listQuickResponses, listTagsForResource, notifyRecommendationsReceived, putFeedback, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchQuickResponses, searchSessions, shutdown, startContentUpload, startImportJob, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri, updateQuickResponse, updateSessionpublic Future<CreateAssistantResult> createAssistantAsync(CreateAssistantRequest request)
AmazonQConnectAsyncCreates an Amazon Q in Connect assistant.
createAssistantAsync in interface AmazonQConnectAsyncpublic Future<CreateAssistantResult> createAssistantAsync(CreateAssistantRequest request, AsyncHandler<CreateAssistantRequest,CreateAssistantResult> asyncHandler)
AmazonQConnectAsyncCreates an Amazon Q in Connect assistant.
createAssistantAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncCreates 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 AmazonQConnectAsyncpublic Future<CreateAssistantAssociationResult> createAssistantAssociationAsync(CreateAssistantAssociationRequest request, AsyncHandler<CreateAssistantAssociationRequest,CreateAssistantAssociationResult> asyncHandler)
AmazonQConnectAsyncCreates 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncCreates Amazon Q in Connect content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAsync in interface AmazonQConnectAsyncpublic Future<CreateContentResult> createContentAsync(CreateContentRequest request, AsyncHandler<CreateContentRequest,CreateContentResult> asyncHandler)
AmazonQConnectAsyncCreates Amazon Q in Connect content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAsync in interface AmazonQConnectAsyncasyncHandler - 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<CreateContentAssociationResult> createContentAssociationAsync(CreateContentAssociationRequest request)
AmazonQConnectAsyncCreates an association between a content resource in a knowledge base and step-by-step guides. Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides.
After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content.
Note the following limitations:
You can create only one content association for each content resource in a knowledge base.
You can associate a step-by-step guide with multiple content resources.
For more information, see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
createContentAssociationAsync in interface AmazonQConnectAsyncpublic Future<CreateContentAssociationResult> createContentAssociationAsync(CreateContentAssociationRequest request, AsyncHandler<CreateContentAssociationRequest,CreateContentAssociationResult> asyncHandler)
AmazonQConnectAsyncCreates an association between a content resource in a knowledge base and step-by-step guides. Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides.
After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content.
Note the following limitations:
You can create only one content association for each content resource in a knowledge base.
You can associate a step-by-step guide with multiple content resources.
For more information, see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
createContentAssociationAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncCreates 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 AmazonQConnectAsyncpublic Future<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, AsyncHandler<CreateKnowledgeBaseRequest,CreateKnowledgeBaseResult> asyncHandler)
AmazonQConnectAsyncCreates 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncCreates an Amazon Q in Connect quick response.
createQuickResponseAsync in interface AmazonQConnectAsyncpublic Future<CreateQuickResponseResult> createQuickResponseAsync(CreateQuickResponseRequest request, AsyncHandler<CreateQuickResponseRequest,CreateQuickResponseResult> asyncHandler)
AmazonQConnectAsyncCreates an Amazon Q in Connect quick response.
createQuickResponseAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncCreates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
createSessionAsync in interface AmazonQConnectAsyncpublic Future<CreateSessionResult> createSessionAsync(CreateSessionRequest request, AsyncHandler<CreateSessionRequest,CreateSessionResult> asyncHandler)
AmazonQConnectAsyncCreates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
createSessionAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncDeletes an assistant.
deleteAssistantAsync in interface AmazonQConnectAsyncpublic Future<DeleteAssistantResult> deleteAssistantAsync(DeleteAssistantRequest request, AsyncHandler<DeleteAssistantRequest,DeleteAssistantResult> asyncHandler)
AmazonQConnectAsyncDeletes an assistant.
deleteAssistantAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncDeletes an assistant association.
deleteAssistantAssociationAsync in interface AmazonQConnectAsyncpublic Future<DeleteAssistantAssociationResult> deleteAssistantAssociationAsync(DeleteAssistantAssociationRequest request, AsyncHandler<DeleteAssistantAssociationRequest,DeleteAssistantAssociationResult> asyncHandler)
AmazonQConnectAsyncDeletes an assistant association.
deleteAssistantAssociationAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncDeletes the content.
deleteContentAsync in interface AmazonQConnectAsyncpublic Future<DeleteContentResult> deleteContentAsync(DeleteContentRequest request, AsyncHandler<DeleteContentRequest,DeleteContentResult> asyncHandler)
AmazonQConnectAsyncDeletes the content.
deleteContentAsync in interface AmazonQConnectAsyncasyncHandler - 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<DeleteContentAssociationResult> deleteContentAssociationAsync(DeleteContentAssociationRequest request)
AmazonQConnectAsyncDeletes the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
deleteContentAssociationAsync in interface AmazonQConnectAsyncpublic Future<DeleteContentAssociationResult> deleteContentAssociationAsync(DeleteContentAssociationRequest request, AsyncHandler<DeleteContentAssociationRequest,DeleteContentAssociationResult> asyncHandler)
AmazonQConnectAsyncDeletes the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
deleteContentAssociationAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncDeletes the quick response import job.
deleteImportJobAsync in interface AmazonQConnectAsyncpublic Future<DeleteImportJobResult> deleteImportJobAsync(DeleteImportJobRequest request, AsyncHandler<DeleteImportJobRequest,DeleteImportJobResult> asyncHandler)
AmazonQConnectAsyncDeletes the quick response import job.
deleteImportJobAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncDeletes 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 AmazonQConnectAsyncpublic Future<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, AsyncHandler<DeleteKnowledgeBaseRequest,DeleteKnowledgeBaseResult> asyncHandler)
AmazonQConnectAsyncDeletes 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncDeletes a quick response.
deleteQuickResponseAsync in interface AmazonQConnectAsyncpublic Future<DeleteQuickResponseResult> deleteQuickResponseAsync(DeleteQuickResponseRequest request, AsyncHandler<DeleteQuickResponseRequest,DeleteQuickResponseResult> asyncHandler)
AmazonQConnectAsyncDeletes a quick response.
deleteQuickResponseAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves information about an assistant.
getAssistantAsync in interface AmazonQConnectAsyncpublic Future<GetAssistantResult> getAssistantAsync(GetAssistantRequest request, AsyncHandler<GetAssistantRequest,GetAssistantResult> asyncHandler)
AmazonQConnectAsyncRetrieves information about an assistant.
getAssistantAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves information about an assistant association.
getAssistantAssociationAsync in interface AmazonQConnectAsyncpublic Future<GetAssistantAssociationResult> getAssistantAssociationAsync(GetAssistantAssociationRequest request, AsyncHandler<GetAssistantAssociationRequest,GetAssistantAssociationResult> asyncHandler)
AmazonQConnectAsyncRetrieves information about an assistant association.
getAssistantAssociationAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves content, including a pre-signed URL to download the content.
getContentAsync in interface AmazonQConnectAsyncpublic Future<GetContentResult> getContentAsync(GetContentRequest request, AsyncHandler<GetContentRequest,GetContentResult> asyncHandler)
AmazonQConnectAsyncRetrieves content, including a pre-signed URL to download the content.
getContentAsync in interface AmazonQConnectAsyncasyncHandler - 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<GetContentAssociationResult> getContentAssociationAsync(GetContentAssociationRequest request)
AmazonQConnectAsyncReturns the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
getContentAssociationAsync in interface AmazonQConnectAsyncpublic Future<GetContentAssociationResult> getContentAssociationAsync(GetContentAssociationRequest request, AsyncHandler<GetContentAssociationRequest,GetContentAssociationResult> asyncHandler)
AmazonQConnectAsyncReturns the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
getContentAssociationAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves summary information about the content.
getContentSummaryAsync in interface AmazonQConnectAsyncpublic Future<GetContentSummaryResult> getContentSummaryAsync(GetContentSummaryRequest request, AsyncHandler<GetContentSummaryRequest,GetContentSummaryResult> asyncHandler)
AmazonQConnectAsyncRetrieves summary information about the content.
getContentSummaryAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves the started import job.
getImportJobAsync in interface AmazonQConnectAsyncpublic Future<GetImportJobResult> getImportJobAsync(GetImportJobRequest request, AsyncHandler<GetImportJobRequest,GetImportJobResult> asyncHandler)
AmazonQConnectAsyncRetrieves the started import job.
getImportJobAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves information about the knowledge base.
getKnowledgeBaseAsync in interface AmazonQConnectAsyncpublic Future<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request, AsyncHandler<GetKnowledgeBaseRequest,GetKnowledgeBaseResult> asyncHandler)
AmazonQConnectAsyncRetrieves information about the knowledge base.
getKnowledgeBaseAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves the quick response.
getQuickResponseAsync in interface AmazonQConnectAsyncpublic Future<GetQuickResponseResult> getQuickResponseAsync(GetQuickResponseRequest request, AsyncHandler<GetQuickResponseRequest,GetQuickResponseResult> asyncHandler)
AmazonQConnectAsyncRetrieves the quick response.
getQuickResponseAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncThis API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
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)
AmazonQConnectAsyncThis API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRetrieves information for a specified session.
getSessionAsync in interface AmazonQConnectAsyncpublic Future<GetSessionResult> getSessionAsync(GetSessionRequest request, AsyncHandler<GetSessionRequest,GetSessionResult> asyncHandler)
AmazonQConnectAsyncRetrieves information for a specified session.
getSessionAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists information about assistant associations.
listAssistantAssociationsAsync in interface AmazonQConnectAsyncpublic Future<ListAssistantAssociationsResult> listAssistantAssociationsAsync(ListAssistantAssociationsRequest request, AsyncHandler<ListAssistantAssociationsRequest,ListAssistantAssociationsResult> asyncHandler)
AmazonQConnectAsyncLists information about assistant associations.
listAssistantAssociationsAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists information about assistants.
listAssistantsAsync in interface AmazonQConnectAsyncpublic Future<ListAssistantsResult> listAssistantsAsync(ListAssistantsRequest request, AsyncHandler<ListAssistantsRequest,ListAssistantsResult> asyncHandler)
AmazonQConnectAsyncLists information about assistants.
listAssistantsAsync in interface AmazonQConnectAsyncasyncHandler - 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<ListContentAssociationsResult> listContentAssociationsAsync(ListContentAssociationsRequest request)
AmazonQConnectAsyncLists the content associations.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
listContentAssociationsAsync in interface AmazonQConnectAsyncpublic Future<ListContentAssociationsResult> listContentAssociationsAsync(ListContentAssociationsRequest request, AsyncHandler<ListContentAssociationsRequest,ListContentAssociationsResult> asyncHandler)
AmazonQConnectAsyncLists the content associations.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
listContentAssociationsAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists the content.
listContentsAsync in interface AmazonQConnectAsyncpublic Future<ListContentsResult> listContentsAsync(ListContentsRequest request, AsyncHandler<ListContentsRequest,ListContentsResult> asyncHandler)
AmazonQConnectAsyncLists the content.
listContentsAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists information about import jobs.
listImportJobsAsync in interface AmazonQConnectAsyncpublic Future<ListImportJobsResult> listImportJobsAsync(ListImportJobsRequest request, AsyncHandler<ListImportJobsRequest,ListImportJobsResult> asyncHandler)
AmazonQConnectAsyncLists information about import jobs.
listImportJobsAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists the knowledge bases.
listKnowledgeBasesAsync in interface AmazonQConnectAsyncpublic Future<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request, AsyncHandler<ListKnowledgeBasesRequest,ListKnowledgeBasesResult> asyncHandler)
AmazonQConnectAsyncLists the knowledge bases.
listKnowledgeBasesAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists information about quick response.
listQuickResponsesAsync in interface AmazonQConnectAsyncpublic Future<ListQuickResponsesResult> listQuickResponsesAsync(ListQuickResponsesRequest request, AsyncHandler<ListQuickResponsesRequest,ListQuickResponsesResult> asyncHandler)
AmazonQConnectAsyncLists information about quick response.
listQuickResponsesAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AmazonQConnectAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonQConnectAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AmazonQConnectAsyncasyncHandler - 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 AmazonQConnectAsyncpublic 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncProvides feedback against the specified assistant for the specified target. This API only supports generative targets.
putFeedbackAsync in interface AmazonQConnectAsyncpublic Future<PutFeedbackResult> putFeedbackAsync(PutFeedbackRequest request, AsyncHandler<PutFeedbackRequest,PutFeedbackResult> asyncHandler)
AmazonQConnectAsyncProvides feedback against the specified assistant for the specified target. This API only supports generative targets.
putFeedbackAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncThis API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
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)
AmazonQConnectAsyncThis API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRemoves a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriAsync in interface AmazonQConnectAsyncpublic Future<RemoveKnowledgeBaseTemplateUriResult> removeKnowledgeBaseTemplateUriAsync(RemoveKnowledgeBaseTemplateUriRequest request, AsyncHandler<RemoveKnowledgeBaseTemplateUriRequest,RemoveKnowledgeBaseTemplateUriResult> asyncHandler)
AmazonQConnectAsyncRemoves a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncSearches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentAsync in interface AmazonQConnectAsyncpublic Future<SearchContentResult> searchContentAsync(SearchContentRequest request, AsyncHandler<SearchContentRequest,SearchContentResult> asyncHandler)
AmazonQConnectAsyncSearches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncSearches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
searchQuickResponsesAsync in interface AmazonQConnectAsyncpublic Future<SearchQuickResponsesResult> searchQuickResponsesAsync(SearchQuickResponsesRequest request, AsyncHandler<SearchQuickResponsesRequest,SearchQuickResponsesResult> asyncHandler)
AmazonQConnectAsyncSearches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
searchQuickResponsesAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncSearches for sessions.
searchSessionsAsync in interface AmazonQConnectAsyncpublic Future<SearchSessionsResult> searchSessionsAsync(SearchSessionsRequest request, AsyncHandler<SearchSessionsRequest,SearchSessionsResult> asyncHandler)
AmazonQConnectAsyncSearches for sessions.
searchSessionsAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncGet 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 AmazonQConnectAsyncpublic Future<StartContentUploadResult> startContentUploadAsync(StartContentUploadRequest request, AsyncHandler<StartContentUploadRequest,StartContentUploadResult> asyncHandler)
AmazonQConnectAsyncGet 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncStart an asynchronous job to import Amazon Q in Connect 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 in Connect 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 AmazonQConnectAsyncpublic Future<StartImportJobResult> startImportJobAsync(StartImportJobRequest request, AsyncHandler<StartImportJobRequest,StartImportJobResult> asyncHandler)
AmazonQConnectAsyncStart an asynchronous job to import Amazon Q in Connect 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 in Connect 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncAdds the specified tags to the specified resource.
tagResourceAsync in interface AmazonQConnectAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonQConnectAsyncAdds the specified tags to the specified resource.
tagResourceAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncRemoves the specified tags from the specified resource.
untagResourceAsync in interface AmazonQConnectAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonQConnectAsyncRemoves the specified tags from the specified resource.
untagResourceAsync in interface AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncUpdates information about the content.
updateContentAsync in interface AmazonQConnectAsyncpublic Future<UpdateContentResult> updateContentAsync(UpdateContentRequest request, AsyncHandler<UpdateContentRequest,UpdateContentResult> asyncHandler)
AmazonQConnectAsyncUpdates information about the content.
updateContentAsync in interface AmazonQConnectAsyncasyncHandler - 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 in Connect 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 AmazonQConnectAsyncpublic 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 in Connect 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 AmazonQConnectAsyncasyncHandler - 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)
AmazonQConnectAsyncUpdates an existing Amazon Q in Connect quick response.
updateQuickResponseAsync in interface AmazonQConnectAsyncpublic Future<UpdateQuickResponseResult> updateQuickResponseAsync(UpdateQuickResponseRequest request, AsyncHandler<UpdateQuickResponseRequest,UpdateQuickResponseResult> asyncHandler)
AmazonQConnectAsyncUpdates an existing Amazon Q in Connect quick response.
updateQuickResponseAsync in interface AmazonQConnectAsyncasyncHandler - 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<UpdateSessionResult> updateSessionAsync(UpdateSessionRequest request)
AmazonQConnectAsyncUpdates a session. A session is a contextual container used for generating recommendations. Amazon Connect updates the existing Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
updateSessionAsync in interface AmazonQConnectAsyncpublic Future<UpdateSessionResult> updateSessionAsync(UpdateSessionRequest request, AsyncHandler<UpdateSessionRequest,UpdateSessionResult> asyncHandler)
AmazonQConnectAsyncUpdates a session. A session is a contextual container used for generating recommendations. Amazon Connect updates the existing Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
updateSessionAsync in interface AmazonQConnectAsyncasyncHandler - 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.