@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonConnectWisdomAsync extends AbstractAmazonConnectWisdom implements AmazonConnectWisdomAsync
AmazonConnectWisdomAsync
. 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, createSession, deleteAssistant, deleteAssistantAssociation, deleteContent, deleteKnowledgeBase, getAssistant, getAssistantAssociation, getCachedResponseMetadata, getContent, getContentSummary, getKnowledgeBase, getRecommendations, getSession, listAssistantAssociations, listAssistants, listContents, listKnowledgeBases, listTagsForResource, notifyRecommendationsReceived, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchSessions, shutdown, startContentUpload, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAssistant, createAssistantAssociation, createContent, createKnowledgeBase, createSession, deleteAssistant, deleteAssistantAssociation, deleteContent, deleteKnowledgeBase, getAssistant, getAssistantAssociation, getCachedResponseMetadata, getContent, getContentSummary, getKnowledgeBase, getRecommendations, getSession, listAssistantAssociations, listAssistants, listContents, listKnowledgeBases, listTagsForResource, notifyRecommendationsReceived, queryAssistant, removeKnowledgeBaseTemplateUri, searchContent, searchSessions, shutdown, startContentUpload, tagResource, untagResource, updateContent, updateKnowledgeBaseTemplateUri
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.
<p>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:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note>
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.
<p>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:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note>
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<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<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<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<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<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
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<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<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.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
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<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<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.