AWS.ConnectContactLens — AWS SDK for JavaScript (original) (raw)
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
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 Summarycollapse
- new AWS.ConnectContactLens(options = {}) ⇒ Object constructor
Constructs a service object.
Property Summarycollapse
- endpoint ⇒ AWS.Endpoint readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summarycollapse
- 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.
Property Details
endpoint ⇒ AWS.Endpoint
Returns an Endpoint object representing the endpoint URL for service requests.
Method Details
listRealtimeContactAnalysisSegments(params = {}, callback) ⇒ AWS.Request
Provides a list of analysis segments for a real-time analysis session.