@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonConnectWisdom extends Object implements AmazonConnectWisdom
AmazonConnectWisdom. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIXpublic CreateAssistantResult createAssistant(CreateAssistantRequest request)
AmazonConnectWisdomCreates an Amazon Connect Wisdom assistant.
createAssistant in interface AmazonConnectWisdompublic CreateAssistantAssociationResult createAssistantAssociation(CreateAssistantAssociationRequest request)
AmazonConnectWisdomCreates 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.
createAssistantAssociation in interface AmazonConnectWisdompublic CreateContentResult createContent(CreateContentRequest request)
AmazonConnectWisdomCreates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
createContent in interface AmazonConnectWisdompublic CreateKnowledgeBaseResult createKnowledgeBase(CreateKnowledgeBaseRequest request)
AmazonConnectWisdomCreates 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.
createKnowledgeBase in interface AmazonConnectWisdompublic CreateQuickResponseResult createQuickResponse(CreateQuickResponseRequest request)
AmazonConnectWisdomCreates a Wisdom quick response.
createQuickResponse in interface AmazonConnectWisdompublic CreateSessionResult createSession(CreateSessionRequest request)
AmazonConnectWisdomCreates 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.
createSession in interface AmazonConnectWisdompublic DeleteAssistantResult deleteAssistant(DeleteAssistantRequest request)
AmazonConnectWisdomDeletes an assistant.
deleteAssistant in interface AmazonConnectWisdompublic DeleteAssistantAssociationResult deleteAssistantAssociation(DeleteAssistantAssociationRequest request)
AmazonConnectWisdomDeletes an assistant association.
deleteAssistantAssociation in interface AmazonConnectWisdompublic DeleteContentResult deleteContent(DeleteContentRequest request)
AmazonConnectWisdomDeletes the content.
deleteContent in interface AmazonConnectWisdompublic DeleteImportJobResult deleteImportJob(DeleteImportJobRequest request)
AmazonConnectWisdomDeletes the quick response import job.
deleteImportJob in interface AmazonConnectWisdompublic DeleteKnowledgeBaseResult deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
AmazonConnectWisdomDeletes 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.
deleteKnowledgeBase in interface AmazonConnectWisdompublic DeleteQuickResponseResult deleteQuickResponse(DeleteQuickResponseRequest request)
AmazonConnectWisdomDeletes a quick response.
deleteQuickResponse in interface AmazonConnectWisdompublic GetAssistantResult getAssistant(GetAssistantRequest request)
AmazonConnectWisdomRetrieves information about an assistant.
getAssistant in interface AmazonConnectWisdompublic GetAssistantAssociationResult getAssistantAssociation(GetAssistantAssociationRequest request)
AmazonConnectWisdomRetrieves information about an assistant association.
getAssistantAssociation in interface AmazonConnectWisdompublic GetContentResult getContent(GetContentRequest request)
AmazonConnectWisdomRetrieves content, including a pre-signed URL to download the content.
getContent in interface AmazonConnectWisdompublic GetContentSummaryResult getContentSummary(GetContentSummaryRequest request)
AmazonConnectWisdomRetrieves summary information about the content.
getContentSummary in interface AmazonConnectWisdompublic GetImportJobResult getImportJob(GetImportJobRequest request)
AmazonConnectWisdomRetrieves the started import job.
getImportJob in interface AmazonConnectWisdompublic GetKnowledgeBaseResult getKnowledgeBase(GetKnowledgeBaseRequest request)
AmazonConnectWisdomRetrieves information about the knowledge base.
getKnowledgeBase in interface AmazonConnectWisdompublic GetQuickResponseResult getQuickResponse(GetQuickResponseRequest request)
AmazonConnectWisdomRetrieves the quick response.
getQuickResponse in interface AmazonConnectWisdom@Deprecated public GetRecommendationsResult getRecommendations(GetRecommendationsRequest request)
AmazonConnectWisdom
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.
getRecommendations in interface AmazonConnectWisdompublic GetSessionResult getSession(GetSessionRequest request)
AmazonConnectWisdomRetrieves information for a specified session.
getSession in interface AmazonConnectWisdompublic ListAssistantAssociationsResult listAssistantAssociations(ListAssistantAssociationsRequest request)
AmazonConnectWisdomLists information about assistant associations.
listAssistantAssociations in interface AmazonConnectWisdompublic ListAssistantsResult listAssistants(ListAssistantsRequest request)
AmazonConnectWisdomLists information about assistants.
listAssistants in interface AmazonConnectWisdompublic ListContentsResult listContents(ListContentsRequest request)
AmazonConnectWisdomLists the content.
listContents in interface AmazonConnectWisdompublic ListImportJobsResult listImportJobs(ListImportJobsRequest request)
AmazonConnectWisdomLists information about import jobs.
listImportJobs in interface AmazonConnectWisdompublic ListKnowledgeBasesResult listKnowledgeBases(ListKnowledgeBasesRequest request)
AmazonConnectWisdomLists the knowledge bases.
listKnowledgeBases in interface AmazonConnectWisdompublic ListQuickResponsesResult listQuickResponses(ListQuickResponsesRequest request)
AmazonConnectWisdomLists information about quick response.
listQuickResponses in interface AmazonConnectWisdompublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonConnectWisdomLists the tags for the specified resource.
listTagsForResource in interface AmazonConnectWisdompublic NotifyRecommendationsReceivedResult notifyRecommendationsReceived(NotifyRecommendationsReceivedRequest request)
AmazonConnectWisdom
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.
notifyRecommendationsReceived in interface AmazonConnectWisdom@Deprecated public QueryAssistantResult queryAssistant(QueryAssistantRequest request)
AmazonConnectWisdomPerforms a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistant in interface AmazonConnectWisdompublic RemoveKnowledgeBaseTemplateUriResult removeKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest request)
AmazonConnectWisdomRemoves a URI template from a knowledge base.
removeKnowledgeBaseTemplateUri in interface AmazonConnectWisdompublic SearchContentResult searchContent(SearchContentRequest request)
AmazonConnectWisdomSearches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContent in interface AmazonConnectWisdompublic SearchQuickResponsesResult searchQuickResponses(SearchQuickResponsesRequest request)
AmazonConnectWisdomSearches existing Wisdom quick responses in a Wisdom knowledge base.
searchQuickResponses in interface AmazonConnectWisdompublic SearchSessionsResult searchSessions(SearchSessionsRequest request)
AmazonConnectWisdomSearches for sessions.
searchSessions in interface AmazonConnectWisdompublic StartContentUploadResult startContentUpload(StartContentUploadRequest request)
AmazonConnectWisdomGet 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.
startContentUpload in interface AmazonConnectWisdompublic StartImportJobResult startImportJob(StartImportJobRequest request)
AmazonConnectWisdomStart 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.
startImportJob in interface AmazonConnectWisdompublic TagResourceResult tagResource(TagResourceRequest request)
AmazonConnectWisdomAdds the specified tags to the specified resource.
tagResource in interface AmazonConnectWisdompublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonConnectWisdomRemoves the specified tags from the specified resource.
untagResource in interface AmazonConnectWisdompublic UpdateContentResult updateContent(UpdateContentRequest request)
AmazonConnectWisdomUpdates information about the content.
updateContent in interface AmazonConnectWisdompublic UpdateKnowledgeBaseTemplateUriResult updateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest request)
AmazonConnectWisdom
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.
updateKnowledgeBaseTemplateUri in interface AmazonConnectWisdompublic UpdateQuickResponseResult updateQuickResponse(UpdateQuickResponseRequest request)
AmazonConnectWisdomUpdates an existing Wisdom quick response.
updateQuickResponse in interface AmazonConnectWisdompublic void shutdown()
AmazonConnectWisdomshutdown in interface AmazonConnectWisdompublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonConnectWisdomResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonConnectWisdomrequest - The originally executed request.