The AWS SDK for JavaScript v2 has reached end-of-support.
We recommend that you migrate to AWS SDK for JavaScript v3. For additional details and information on how to migrate, please refer to the announcement.

Class: AWS.Wisdom

Inherits:
AWS.Service show all
Identifier:
wisdom
API Version:
2020-10-19
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

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.

Sending a Request Using Wisdom

var wisdom = new AWS.Wisdom();
wisdom.createAssistant(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the Wisdom object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var wisdom = new AWS.Wisdom({apiVersion: '2020-10-19'});

You can also set the API version globally in AWS.config.apiVersions using the wisdom service identifier:

AWS.config.apiVersions = {
  wisdom: '2020-10-19',
  // other service API versions
};

var wisdom = new AWS.Wisdom();

Version:

  • 2020-10-19

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse