Skip to content

/AWS1/CL_LM2ALYSUTTERANCEMET00

Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the utterances across the user sessions with the bot.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/LM2ALYSUTTERANCEMETRIC00 /AWS1/LM2ALYSUTTERANCEMETRIC00

The metric for which you want to get utterance summary statistics.

  • Count – The number of utterances.

  • Missed – The number of utterances that Amazon Lex failed to recognize.

  • Detected – The number of utterances that Amazon Lex managed to detect.

  • UtteranceTimestamp – The date and time of the utterance.

IV_STATISTIC TYPE /AWS1/LM2ALYSMETRICSTATISTIC /AWS1/LM2ALYSMETRICSTATISTIC

The summary statistic to calculate.

  • Sum – The total count for the category you provide in name.

  • Average – The total count divided by the number of utterances in the category you provide in name.

  • Max – The highest count in the category you provide in name.

Optional arguments:

IV_ORDER TYPE /AWS1/LM2ANALYTICSSORTORDER /AWS1/LM2ANALYTICSSORTORDER

Specifies whether to sort the results in ascending or descending order.


Queryable Attributes

name

The metric for which you want to get utterance summary statistics.

  • Count – The number of utterances.

  • Missed – The number of utterances that Amazon Lex failed to recognize.

  • Detected – The number of utterances that Amazon Lex managed to detect.

  • UtteranceTimestamp – The date and time of the utterance.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

statistic

The summary statistic to calculate.

  • Sum – The total count for the category you provide in name.

  • Average – The total count divided by the number of utterances in the category you provide in name.

  • Max – The highest count in the category you provide in name.

Accessible with the following methods

Method Description
GET_STATISTIC() Getter for STATISTIC, with configurable default
ASK_STATISTIC() Getter for STATISTIC w/ exceptions if field has no value
HAS_STATISTIC() Determine if STATISTIC has a value

order

Specifies whether to sort the results in ascending or descending order.

Accessible with the following methods

Method Description
GET_ORDER() Getter for ORDER, with configurable default
ASK_ORDER() Getter for ORDER w/ exceptions if field has no value
HAS_ORDER() Determine if ORDER has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ANALYTICSUTTERANCEMETRICS

TYPES TT_ANALYTICSUTTERANCEMETRICS TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2ALYSUTTERANCEMET00 WITH DEFAULT KEY
.