@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonConnectWisdom
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonConnectWisdom
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateAssistantResult |
createAssistant(CreateAssistantRequest createAssistantRequest)
Creates an Amazon Connect Wisdom assistant.
|
CreateAssistantAssociationResult |
createAssistantAssociation(CreateAssistantAssociationRequest createAssistantAssociationRequest)
Creates an association between an Amazon Connect Wisdom assistant and another resource.
|
CreateContentResult |
createContent(CreateContentRequest createContentRequest)
Creates Wisdom content.
|
CreateKnowledgeBaseResult |
createKnowledgeBase(CreateKnowledgeBaseRequest createKnowledgeBaseRequest)
Creates a knowledge base.
|
CreateQuickResponseResult |
createQuickResponse(CreateQuickResponseRequest createQuickResponseRequest)
Creates a Wisdom quick response.
|
CreateSessionResult |
createSession(CreateSessionRequest createSessionRequest)
Creates a session.
|
DeleteAssistantResult |
deleteAssistant(DeleteAssistantRequest deleteAssistantRequest)
Deletes an assistant.
|
DeleteAssistantAssociationResult |
deleteAssistantAssociation(DeleteAssistantAssociationRequest deleteAssistantAssociationRequest)
Deletes an assistant association.
|
DeleteContentResult |
deleteContent(DeleteContentRequest deleteContentRequest)
Deletes the content.
|
DeleteImportJobResult |
deleteImportJob(DeleteImportJobRequest deleteImportJobRequest)
Deletes the quick response import job.
|
DeleteKnowledgeBaseResult |
deleteKnowledgeBase(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest)
Deletes the knowledge base.
|
DeleteQuickResponseResult |
deleteQuickResponse(DeleteQuickResponseRequest deleteQuickResponseRequest)
Deletes a quick response.
|
GetAssistantResult |
getAssistant(GetAssistantRequest getAssistantRequest)
Retrieves information about an assistant.
|
GetAssistantAssociationResult |
getAssistantAssociation(GetAssistantAssociationRequest getAssistantAssociationRequest)
Retrieves information about an assistant association.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetContentResult |
getContent(GetContentRequest getContentRequest)
Retrieves content, including a pre-signed URL to download the content.
|
GetContentSummaryResult |
getContentSummary(GetContentSummaryRequest getContentSummaryRequest)
Retrieves summary information about the content.
|
GetImportJobResult |
getImportJob(GetImportJobRequest getImportJobRequest)
Retrieves the started import job.
|
GetKnowledgeBaseResult |
getKnowledgeBase(GetKnowledgeBaseRequest getKnowledgeBaseRequest)
Retrieves information about the knowledge base.
|
GetQuickResponseResult |
getQuickResponse(GetQuickResponseRequest getQuickResponseRequest)
Retrieves the quick response.
|
GetRecommendationsResult |
getRecommendations(GetRecommendationsRequest getRecommendationsRequest)
Deprecated.
|
GetSessionResult |
getSession(GetSessionRequest getSessionRequest)
Retrieves information for a specified session.
|
ListAssistantAssociationsResult |
listAssistantAssociations(ListAssistantAssociationsRequest listAssistantAssociationsRequest)
Lists information about assistant associations.
|
ListAssistantsResult |
listAssistants(ListAssistantsRequest listAssistantsRequest)
Lists information about assistants.
|
ListContentsResult |
listContents(ListContentsRequest listContentsRequest)
Lists the content.
|
ListImportJobsResult |
listImportJobs(ListImportJobsRequest listImportJobsRequest)
Lists information about import jobs.
|
ListKnowledgeBasesResult |
listKnowledgeBases(ListKnowledgeBasesRequest listKnowledgeBasesRequest)
Lists the knowledge bases.
|
ListQuickResponsesResult |
listQuickResponses(ListQuickResponsesRequest listQuickResponsesRequest)
Lists information about quick response.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
NotifyRecommendationsReceivedResult |
notifyRecommendationsReceived(NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest)
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
|
QueryAssistantResult |
queryAssistant(QueryAssistantRequest queryAssistantRequest)
Deprecated.
|
RemoveKnowledgeBaseTemplateUriResult |
removeKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest)
Removes a URI template from a knowledge base.
|
SearchContentResult |
searchContent(SearchContentRequest searchContentRequest)
Searches for content in a specified knowledge base.
|
SearchQuickResponsesResult |
searchQuickResponses(SearchQuickResponsesRequest searchQuickResponsesRequest)
Searches existing Wisdom quick responses in a Wisdom knowledge base.
|
SearchSessionsResult |
searchSessions(SearchSessionsRequest searchSessionsRequest)
Searches for sessions.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartContentUploadResult |
startContentUpload(StartContentUploadRequest startContentUploadRequest)
Get a URL to upload content to a knowledge base.
|
StartImportJobResult |
startImportJob(StartImportJobRequest startImportJobRequest)
Start an asynchronous job to import Wisdom resources from an uploaded source file.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
UpdateContentResult |
updateContent(UpdateContentRequest updateContentRequest)
Updates information about the content.
|
UpdateKnowledgeBaseTemplateUriResult |
updateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest)
Updates the template URI of a knowledge base.
|
UpdateQuickResponseResult |
updateQuickResponse(UpdateQuickResponseRequest updateQuickResponseRequest)
Updates an existing Wisdom quick response.
|
static final String ENDPOINT_PREFIX
CreateAssistantResult createAssistant(CreateAssistantRequest createAssistantRequest)
Creates an Amazon Connect Wisdom assistant.
createAssistantRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException
- You've exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use service quotas to request a service quota increase.AccessDeniedException
- You do not have sufficient access to perform this action.CreateAssistantAssociationResult createAssistantAssociation(CreateAssistantAssociationRequest createAssistantAssociationRequest)
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.
createAssistantAssociationRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException
- You've exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use service quotas to request a service quota increase.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.CreateContentResult createContent(CreateContentRequest createContentRequest)
Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
createContentRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException
- You've exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use service quotas to request a service quota increase.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.CreateKnowledgeBaseResult createKnowledgeBase(CreateKnowledgeBaseRequest createKnowledgeBaseRequest)
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.
createKnowledgeBaseRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException
- You've exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use service quotas to request a service quota increase.AccessDeniedException
- You do not have sufficient access to perform this action.CreateQuickResponseResult createQuickResponse(CreateQuickResponseRequest createQuickResponseRequest)
Creates a Wisdom quick response.
createQuickResponseRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException
- You've exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use service quotas to request a service quota increase.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.CreateSessionResult createSession(CreateSessionRequest createSessionRequest)
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.
createSessionRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ResourceNotFoundException
- The specified resource does not exist.DeleteAssistantResult deleteAssistant(DeleteAssistantRequest deleteAssistantRequest)
Deletes an assistant.
deleteAssistantRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.DeleteAssistantAssociationResult deleteAssistantAssociation(DeleteAssistantAssociationRequest deleteAssistantAssociationRequest)
Deletes an assistant association.
deleteAssistantAssociationRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.DeleteContentResult deleteContent(DeleteContentRequest deleteContentRequest)
Deletes the content.
deleteContentRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.DeleteImportJobResult deleteImportJob(DeleteImportJobRequest deleteImportJobRequest)
Deletes the quick response import job.
deleteImportJobRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.DeleteKnowledgeBaseResult deleteKnowledgeBase(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest)
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.
deleteKnowledgeBaseRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.DeleteQuickResponseResult deleteQuickResponse(DeleteQuickResponseRequest deleteQuickResponseRequest)
Deletes a quick response.
deleteQuickResponseRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetAssistantResult getAssistant(GetAssistantRequest getAssistantRequest)
Retrieves information about an assistant.
getAssistantRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetAssistantAssociationResult getAssistantAssociation(GetAssistantAssociationRequest getAssistantAssociationRequest)
Retrieves information about an assistant association.
getAssistantAssociationRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetContentResult getContent(GetContentRequest getContentRequest)
Retrieves content, including a pre-signed URL to download the content.
getContentRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetContentSummaryResult getContentSummary(GetContentSummaryRequest getContentSummaryRequest)
Retrieves summary information about the content.
getContentSummaryRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetImportJobResult getImportJob(GetImportJobRequest getImportJobRequest)
Retrieves the started import job.
getImportJobRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetKnowledgeBaseResult getKnowledgeBase(GetKnowledgeBaseRequest getKnowledgeBaseRequest)
Retrieves information about the knowledge base.
getKnowledgeBaseRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetQuickResponseResult getQuickResponse(GetQuickResponseRequest getQuickResponseRequest)
Retrieves the quick response.
getQuickResponseRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.@Deprecated GetRecommendationsResult getRecommendations(GetRecommendationsRequest getRecommendationsRequest)
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.
getRecommendationsRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.GetSessionResult getSession(GetSessionRequest getSessionRequest)
Retrieves information for a specified session.
getSessionRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.ListAssistantAssociationsResult listAssistantAssociations(ListAssistantAssociationsRequest listAssistantAssociationsRequest)
Lists information about assistant associations.
listAssistantAssociationsRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.ListAssistantsResult listAssistants(ListAssistantsRequest listAssistantsRequest)
Lists information about assistants.
listAssistantsRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ListContentsResult listContents(ListContentsRequest listContentsRequest)
Lists the content.
listContentsRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.ListImportJobsResult listImportJobs(ListImportJobsRequest listImportJobsRequest)
Lists information about import jobs.
listImportJobsRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ListKnowledgeBasesResult listKnowledgeBases(ListKnowledgeBasesRequest listKnowledgeBasesRequest)
Lists the knowledge bases.
listKnowledgeBasesRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ListQuickResponsesResult listQuickResponses(ListQuickResponsesRequest listQuickResponsesRequest)
Lists information about quick response.
listQuickResponsesRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest
- ResourceNotFoundException
- The specified resource does not exist.NotifyRecommendationsReceivedResult notifyRecommendationsReceived(NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest)
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.
notifyRecommendationsReceivedRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.@Deprecated QueryAssistantResult queryAssistant(QueryAssistantRequest queryAssistantRequest)
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantRequest
- RequestTimeoutException
- The request reached the service more than 15 minutes after the date stamp on the request or more than 15
minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request
is more than 15 minutes in the future.ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.RemoveKnowledgeBaseTemplateUriResult removeKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest)
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.SearchContentResult searchContent(SearchContentRequest searchContentRequest)
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.SearchQuickResponsesResult searchQuickResponses(SearchQuickResponsesRequest searchQuickResponsesRequest)
Searches existing Wisdom quick responses in a Wisdom knowledge base.
searchQuickResponsesRequest
- RequestTimeoutException
- The request reached the service more than 15 minutes after the date stamp on the request or more than 15
minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request
is more than 15 minutes in the future.ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.SearchSessionsResult searchSessions(SearchSessionsRequest searchSessionsRequest)
Searches for sessions.
searchSessionsRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.StartContentUploadResult startContentUpload(StartContentUploadRequest startContentUploadRequest)
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.
startContentUploadRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.StartImportJobResult startImportJob(StartImportJobRequest startImportJobRequest)
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.
startImportJobRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException
- You've exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use service quotas to request a service quota increase.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
tagResourceRequest
- TooManyTagsException
- Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.ResourceNotFoundException
- The specified resource does not exist.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
untagResourceRequest
- ResourceNotFoundException
- The specified resource does not exist.UpdateContentResult updateContent(UpdateContentRequest updateContentRequest)
Updates information about the content.
updateContentRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.PreconditionFailedException
- The provided revisionId
does not match, indicating the content has been modified since it
was last read.ResourceNotFoundException
- The specified resource does not exist.UpdateKnowledgeBaseTemplateUriResult updateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest)
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
.
updateKnowledgeBaseTemplateUriRequest
- ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The specified resource does not exist.UpdateQuickResponseResult updateQuickResponse(UpdateQuickResponseRequest updateQuickResponseRequest)
Updates an existing Wisdom quick response.
updateQuickResponseRequest
- ConflictException
- The request could not be processed because of conflict in the current state of the resource. For example,
if you're using a Create
API (such as CreateAssistant
) that accepts name, a
conflicting resource (usually with the same name) is being created or mutated.ValidationException
- The input fails to satisfy the constraints specified by a service.AccessDeniedException
- You do not have sufficient access to perform this action.PreconditionFailedException
- The provided revisionId
does not match, indicating the content has been modified since it
was last read.ResourceNotFoundException
- The specified resource does not exist.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response 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.
request
- The originally executed request.