AWS.QConnect — AWS SDK for JavaScript (original) (raw)
Property Details
endpoint ⇒ AWS.Endpoint
Returns an Endpoint object representing the endpoint URL for service requests.
Method Details
createAssistant(params = {}, callback) ⇒ AWS.Request
Creates an Amazon Q in Connect assistant.
createAssistantAssociation(params = {}, callback) ⇒ AWS.Request
Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
createContent(params = {}, callback) ⇒ AWS.Request
Creates Amazon Q in Connect content. Before to calling this API, use StartContentUpload to upload an asset.
createContentAssociation(params = {}, callback) ⇒ AWS.Request
Creates an association between a content resource in a knowledge base and step-by-step guides. Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides.
After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content.
Note the following limitations:
- You can create only one content association for each content resource in a knowledge base.
- You can associate a step-by-step guide with multiple content resources.
For more information, see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
createKnowledgeBase(params = {}, callback) ⇒ AWS.Request
Creates a knowledge base.
Note: 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.
createQuickResponse(params = {}, callback) ⇒ AWS.Request
Creates an Amazon Q in Connect quick response.
createSession(params = {}, callback) ⇒ AWS.Request
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
deleteAssistant(params = {}, callback) ⇒ AWS.Request
deleteAssistantAssociation(params = {}, callback) ⇒ AWS.Request
Deletes an assistant association.
deleteContent(params = {}, callback) ⇒ AWS.Request
deleteContentAssociation(params = {}, callback) ⇒ AWS.Request
deleteImportJob(params = {}, callback) ⇒ AWS.Request
Deletes the quick response import job.
deleteKnowledgeBase(params = {}, callback) ⇒ AWS.Request
Deletes the knowledge base.
Note: 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.
deleteQuickResponse(params = {}, callback) ⇒ AWS.Request
Deletes a quick response.
getAssistant(params = {}, callback) ⇒ AWS.Request
Retrieves information about an assistant.
getAssistantAssociation(params = {}, callback) ⇒ AWS.Request
Retrieves information about an assistant association.
getContent(params = {}, callback) ⇒ AWS.Request
Retrieves content, including a pre-signed URL to download the content.
getContentAssociation(params = {}, callback) ⇒ AWS.Request
getContentSummary(params = {}, callback) ⇒ AWS.Request
Retrieves summary information about the content.
getImportJob(params = {}, callback) ⇒ AWS.Request
Retrieves the started import job.
getKnowledgeBase(params = {}, callback) ⇒ AWS.Request
Retrieves information about the knowledge base.
getQuickResponse(params = {}, callback) ⇒ AWS.Request
Retrieves the quick response.
getRecommendations(params = {}, callback) ⇒ AWS.Request
This API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds
parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.
getSession(params = {}, callback) ⇒ AWS.Request
Retrieves information for a specified session.
listAssistantAssociations(params = {}, callback) ⇒ AWS.Request
Lists information about assistant associations.
listAssistants(params = {}, callback) ⇒ AWS.Request
Lists information about assistants.
listContentAssociations(params = {}, callback) ⇒ AWS.Request
listImportJobs(params = {}, callback) ⇒ AWS.Request
Lists information about import jobs.
listKnowledgeBases(params = {}, callback) ⇒ AWS.Request
Lists the knowledge bases.
listQuickResponses(params = {}, callback) ⇒ AWS.Request
Lists information about quick response.
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists the tags for the specified resource.
notifyRecommendationsReceived(params = {}, callback) ⇒ AWS.Request
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.
putFeedback(params = {}, callback) ⇒ AWS.Request
Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
queryAssistant(params = {}, callback) ⇒ AWS.Request
This API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
removeKnowledgeBaseTemplateUri(params = {}, callback) ⇒ AWS.Request
Removes a URI template from a knowledge base.
searchContent(params = {}, callback) ⇒ AWS.Request
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchQuickResponses(params = {}, callback) ⇒ AWS.Request
Searches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
searchSessions(params = {}, callback) ⇒ AWS.Request
startContentUpload(params = {}, callback) ⇒ AWS.Request
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.
startImportJob(params = {}, callback) ⇒ AWS.Request
Start an asynchronous job to import Amazon Q in Connect resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.
- For importing Amazon Q in Connect quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.
tagResource(params = {}, callback) ⇒ AWS.Request
Adds the specified tags to the specified resource.
untagResource(params = {}, callback) ⇒ AWS.Request
Removes the specified tags from the specified resource.
updateContent(params = {}, callback) ⇒ AWS.Request
Updates information about the content.
updateKnowledgeBaseTemplateUri(params = {}, callback) ⇒ AWS.Request
Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in ${variable}
format; this interpolated by Amazon Q in Connect using ingested content. For example, if you ingest a Salesforce article, it has an Id
value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view
.
updateQuickResponse(params = {}, callback) ⇒ AWS.Request
Updates an existing Amazon Q in Connect quick response.
updateSession(params = {}, callback) ⇒ AWS.Request
Updates a session. A session is a contextual container used for generating recommendations. Amazon Connect updates the existing Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.