@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonConnectWisdomAsyncClient extends AmazonConnectWisdomClient implements AmazonConnectWisdomAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, 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, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchQuickResponses, searchSessions, startContentUpload, startImportJob, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri, updateQuickResponse
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
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, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchQuickResponses, searchSessions, startContentUpload, startImportJob, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri, updateQuickResponse
public static AmazonConnectWisdomAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAssistantResult> createAssistantAsync(CreateAssistantRequest request)
AmazonConnectWisdomAsync
Creates an Amazon Connect Wisdom assistant.
createAssistantAsync
in interface AmazonConnectWisdomAsync
public Future<CreateAssistantResult> createAssistantAsync(CreateAssistantRequest request, AsyncHandler<CreateAssistantRequest,CreateAssistantResult> asyncHandler)
AmazonConnectWisdomAsync
Creates an Amazon Connect Wisdom assistant.
createAssistantAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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.
createAssistantAssociationAsync
in interface AmazonConnectWisdomAsync
public Future<CreateAssistantAssociationResult> createAssistantAssociationAsync(CreateAssistantAssociationRequest request, AsyncHandler<CreateAssistantAssociationRequest,CreateAssistantAssociationResult> asyncHandler)
AmazonConnectWisdomAsync
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.
createAssistantAssociationAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAsync
in interface AmazonConnectWisdomAsync
public Future<CreateContentResult> createContentAsync(CreateContentRequest request, AsyncHandler<CreateContentRequest,CreateContentResult> asyncHandler)
AmazonConnectWisdomAsync
Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
public Future<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, AsyncHandler<CreateKnowledgeBaseRequest,CreateKnowledgeBaseResult> asyncHandler)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Creates a Wisdom quick response.
createQuickResponseAsync
in interface AmazonConnectWisdomAsync
public Future<CreateQuickResponseResult> createQuickResponseAsync(CreateQuickResponseRequest request, AsyncHandler<CreateQuickResponseRequest,CreateQuickResponseResult> asyncHandler)
AmazonConnectWisdomAsync
Creates a Wisdom quick response.
createQuickResponseAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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.
createSessionAsync
in interface AmazonConnectWisdomAsync
public Future<CreateSessionResult> createSessionAsync(CreateSessionRequest request, AsyncHandler<CreateSessionRequest,CreateSessionResult> asyncHandler)
AmazonConnectWisdomAsync
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.
createSessionAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Deletes an assistant.
deleteAssistantAsync
in interface AmazonConnectWisdomAsync
public Future<DeleteAssistantResult> deleteAssistantAsync(DeleteAssistantRequest request, AsyncHandler<DeleteAssistantRequest,DeleteAssistantResult> asyncHandler)
AmazonConnectWisdomAsync
Deletes an assistant.
deleteAssistantAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Deletes an assistant association.
deleteAssistantAssociationAsync
in interface AmazonConnectWisdomAsync
public Future<DeleteAssistantAssociationResult> deleteAssistantAssociationAsync(DeleteAssistantAssociationRequest request, AsyncHandler<DeleteAssistantAssociationRequest,DeleteAssistantAssociationResult> asyncHandler)
AmazonConnectWisdomAsync
Deletes an assistant association.
deleteAssistantAssociationAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Deletes the content.
deleteContentAsync
in interface AmazonConnectWisdomAsync
public Future<DeleteContentResult> deleteContentAsync(DeleteContentRequest request, AsyncHandler<DeleteContentRequest,DeleteContentResult> asyncHandler)
AmazonConnectWisdomAsync
Deletes the content.
deleteContentAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Deletes the quick response import job.
deleteImportJobAsync
in interface AmazonConnectWisdomAsync
public Future<DeleteImportJobResult> deleteImportJobAsync(DeleteImportJobRequest request, AsyncHandler<DeleteImportJobRequest,DeleteImportJobResult> asyncHandler)
AmazonConnectWisdomAsync
Deletes the quick response import job.
deleteImportJobAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
public Future<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, AsyncHandler<DeleteKnowledgeBaseRequest,DeleteKnowledgeBaseResult> asyncHandler)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Deletes a quick response.
deleteQuickResponseAsync
in interface AmazonConnectWisdomAsync
public Future<DeleteQuickResponseResult> deleteQuickResponseAsync(DeleteQuickResponseRequest request, AsyncHandler<DeleteQuickResponseRequest,DeleteQuickResponseResult> asyncHandler)
AmazonConnectWisdomAsync
Deletes a quick response.
deleteQuickResponseAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves information about an assistant.
getAssistantAsync
in interface AmazonConnectWisdomAsync
public Future<GetAssistantResult> getAssistantAsync(GetAssistantRequest request, AsyncHandler<GetAssistantRequest,GetAssistantResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves information about an assistant.
getAssistantAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves information about an assistant association.
getAssistantAssociationAsync
in interface AmazonConnectWisdomAsync
public Future<GetAssistantAssociationResult> getAssistantAssociationAsync(GetAssistantAssociationRequest request, AsyncHandler<GetAssistantAssociationRequest,GetAssistantAssociationResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves information about an assistant association.
getAssistantAssociationAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves content, including a pre-signed URL to download the content.
getContentAsync
in interface AmazonConnectWisdomAsync
public Future<GetContentResult> getContentAsync(GetContentRequest request, AsyncHandler<GetContentRequest,GetContentResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves content, including a pre-signed URL to download the content.
getContentAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves summary information about the content.
getContentSummaryAsync
in interface AmazonConnectWisdomAsync
public Future<GetContentSummaryResult> getContentSummaryAsync(GetContentSummaryRequest request, AsyncHandler<GetContentSummaryRequest,GetContentSummaryResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves summary information about the content.
getContentSummaryAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves the started import job.
getImportJobAsync
in interface AmazonConnectWisdomAsync
public Future<GetImportJobResult> getImportJobAsync(GetImportJobRequest request, AsyncHandler<GetImportJobRequest,GetImportJobResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves the started import job.
getImportJobAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves information about the knowledge base.
getKnowledgeBaseAsync
in interface AmazonConnectWisdomAsync
public Future<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request, AsyncHandler<GetKnowledgeBaseRequest,GetKnowledgeBaseResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves information about the knowledge base.
getKnowledgeBaseAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves the quick response.
getQuickResponseAsync
in interface AmazonConnectWisdomAsync
public Future<GetQuickResponseResult> getQuickResponseAsync(GetQuickResponseRequest request, AsyncHandler<GetQuickResponseRequest,GetQuickResponseResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves the quick response.
getQuickResponseAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
@Deprecated public Future<GetRecommendationsResult> getRecommendationsAsync(GetRecommendationsRequest request, AsyncHandler<GetRecommendationsRequest,GetRecommendationsResult> asyncHandler)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Retrieves information for a specified session.
getSessionAsync
in interface AmazonConnectWisdomAsync
public Future<GetSessionResult> getSessionAsync(GetSessionRequest request, AsyncHandler<GetSessionRequest,GetSessionResult> asyncHandler)
AmazonConnectWisdomAsync
Retrieves information for a specified session.
getSessionAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists information about assistant associations.
listAssistantAssociationsAsync
in interface AmazonConnectWisdomAsync
public Future<ListAssistantAssociationsResult> listAssistantAssociationsAsync(ListAssistantAssociationsRequest request, AsyncHandler<ListAssistantAssociationsRequest,ListAssistantAssociationsResult> asyncHandler)
AmazonConnectWisdomAsync
Lists information about assistant associations.
listAssistantAssociationsAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists information about assistants.
listAssistantsAsync
in interface AmazonConnectWisdomAsync
public Future<ListAssistantsResult> listAssistantsAsync(ListAssistantsRequest request, AsyncHandler<ListAssistantsRequest,ListAssistantsResult> asyncHandler)
AmazonConnectWisdomAsync
Lists information about assistants.
listAssistantsAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists the content.
listContentsAsync
in interface AmazonConnectWisdomAsync
public Future<ListContentsResult> listContentsAsync(ListContentsRequest request, AsyncHandler<ListContentsRequest,ListContentsResult> asyncHandler)
AmazonConnectWisdomAsync
Lists the content.
listContentsAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists information about import jobs.
listImportJobsAsync
in interface AmazonConnectWisdomAsync
public Future<ListImportJobsResult> listImportJobsAsync(ListImportJobsRequest request, AsyncHandler<ListImportJobsRequest,ListImportJobsResult> asyncHandler)
AmazonConnectWisdomAsync
Lists information about import jobs.
listImportJobsAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists the knowledge bases.
listKnowledgeBasesAsync
in interface AmazonConnectWisdomAsync
public Future<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request, AsyncHandler<ListKnowledgeBasesRequest,ListKnowledgeBasesResult> asyncHandler)
AmazonConnectWisdomAsync
Lists the knowledge bases.
listKnowledgeBasesAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists information about quick response.
listQuickResponsesAsync
in interface AmazonConnectWisdomAsync
public Future<ListQuickResponsesResult> listQuickResponsesAsync(ListQuickResponsesRequest request, AsyncHandler<ListQuickResponsesRequest,ListQuickResponsesResult> asyncHandler)
AmazonConnectWisdomAsync
Lists information about quick response.
listQuickResponsesAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonConnectWisdomAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonConnectWisdomAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
public Future<NotifyRecommendationsReceivedResult> notifyRecommendationsReceivedAsync(NotifyRecommendationsReceivedRequest request, AsyncHandler<NotifyRecommendationsReceivedRequest,NotifyRecommendationsReceivedResult> asyncHandler)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantAsync
in interface AmazonConnectWisdomAsync
@Deprecated public Future<QueryAssistantResult> queryAssistantAsync(QueryAssistantRequest request, AsyncHandler<QueryAssistantRequest,QueryAssistantResult> asyncHandler)
AmazonConnectWisdomAsync
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriAsync
in interface AmazonConnectWisdomAsync
public Future<RemoveKnowledgeBaseTemplateUriResult> removeKnowledgeBaseTemplateUriAsync(RemoveKnowledgeBaseTemplateUriRequest request, AsyncHandler<RemoveKnowledgeBaseTemplateUriRequest,RemoveKnowledgeBaseTemplateUriResult> asyncHandler)
AmazonConnectWisdomAsync
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentAsync
in interface AmazonConnectWisdomAsync
public Future<SearchContentResult> searchContentAsync(SearchContentRequest request, AsyncHandler<SearchContentRequest,SearchContentResult> asyncHandler)
AmazonConnectWisdomAsync
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Searches existing Wisdom quick responses in a Wisdom knowledge base.
searchQuickResponsesAsync
in interface AmazonConnectWisdomAsync
public Future<SearchQuickResponsesResult> searchQuickResponsesAsync(SearchQuickResponsesRequest request, AsyncHandler<SearchQuickResponsesRequest,SearchQuickResponsesResult> asyncHandler)
AmazonConnectWisdomAsync
Searches existing Wisdom quick responses in a Wisdom knowledge base.
searchQuickResponsesAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Searches for sessions.
searchSessionsAsync
in interface AmazonConnectWisdomAsync
public Future<SearchSessionsResult> searchSessionsAsync(SearchSessionsRequest request, AsyncHandler<SearchSessionsRequest,SearchSessionsResult> asyncHandler)
AmazonConnectWisdomAsync
Searches for sessions.
searchSessionsAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
public Future<StartContentUploadResult> startContentUploadAsync(StartContentUploadRequest request, AsyncHandler<StartContentUploadRequest,StartContentUploadResult> asyncHandler)
AmazonConnectWisdomAsync
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 AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.
For importing Wisdom 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 AmazonConnectWisdomAsync
public Future<StartImportJobResult> startImportJobAsync(StartImportJobRequest request, AsyncHandler<StartImportJobRequest,StartImportJobResult> asyncHandler)
AmazonConnectWisdomAsync
Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.
For importing Wisdom 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 AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonConnectWisdomAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonConnectWisdomAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonConnectWisdomAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonConnectWisdomAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Updates information about the content.
updateContentAsync
in interface AmazonConnectWisdomAsync
public Future<UpdateContentResult> updateContentAsync(UpdateContentRequest request, AsyncHandler<UpdateContentRequest,UpdateContentResult> asyncHandler)
AmazonConnectWisdomAsync
Updates information about the content.
updateContentAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
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
.
updateKnowledgeBaseTemplateUriAsync
in interface AmazonConnectWisdomAsync
public Future<UpdateKnowledgeBaseTemplateUriResult> updateKnowledgeBaseTemplateUriAsync(UpdateKnowledgeBaseTemplateUriRequest request, AsyncHandler<UpdateKnowledgeBaseTemplateUriRequest,UpdateKnowledgeBaseTemplateUriResult> asyncHandler)
AmazonConnectWisdomAsync
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
.
updateKnowledgeBaseTemplateUriAsync
in interface AmazonConnectWisdomAsync
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)
AmazonConnectWisdomAsync
Updates an existing Wisdom quick response.
updateQuickResponseAsync
in interface AmazonConnectWisdomAsync
public Future<UpdateQuickResponseResult> updateQuickResponseAsync(UpdateQuickResponseRequest request, AsyncHandler<UpdateQuickResponseRequest,UpdateQuickResponseResult> asyncHandler)
AmazonConnectWisdomAsync
Updates an existing Wisdom quick response.
updateQuickResponseAsync
in interface AmazonConnectWisdomAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonConnectWisdom
shutdown
in class AmazonConnectWisdomClient