Class: AWS.ConnectContactLens
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.ConnectContactLens
- Identifier:
- connectcontactlens
- API Version:
- 2020-08-21
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Connect Contact Lens enables you to analyze conversations between customer and agents, by using speech transcription, natural language processing, and intelligent search capabilities. It performs sentiment analysis, detects issues, and enables you to automatically categorize contacts.
Amazon Connect Contact Lens provides both real-time and post-call analytics of customer-agent conversations. For more information, see Analyze conversations using speech analytics in the Amazon Connect Administrator Guide.
Sending a Request Using ConnectContactLens
var connectcontactlens = new AWS.ConnectContactLens();
connectcontactlens.listRealtimeContactAnalysisSegments(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 ConnectContactLens object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var connectcontactlens = new AWS.ConnectContactLens({apiVersion: '2020-08-21'});
You can also set the API version globally in AWS.config.apiVersions
using
the connectcontactlens service identifier:
AWS.config.apiVersions = {
connectcontactlens: '2020-08-21',
// other service API versions
};
var connectcontactlens = new AWS.ConnectContactLens();
Constructor Summary collapse
-
new AWS.ConnectContactLens(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
listRealtimeContactAnalysisSegments(params = {}, callback) ⇒ AWS.Request
Provides a list of analysis segments for a real-time analysis session.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.ConnectContactLens(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.