AnalyticsSessionMetric
Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the user sessions with the bot.
Contents
- name
-
The metric for which you want to get session summary statistics.
-
Countâ The number of sessions. -
Successâ The number of sessions that succeeded. -
Failureâ The number of sessions that failed. -
Droppedâ The number of sessions that the user dropped. -
Durationâ The duration of sessions. -
TurnsPerSessionâ The number of turns in the sessions. -
Concurrencyâ The number of sessions occurring in the same period of time.
Type: String
Valid Values:
Count | Success | Failure | Dropped | Duration | TurnsPerConversation | ConcurrencyRequired: Yes
-
- statistic
-
The summary statistic to calculate.
-
Sumâ The total count for the category you provide inname. -
Averageâ The total count divided by the number of sessions in the category you provide inname. -
Maxâ The highest count in the category you provide inname.
Type: String
Valid Values:
Sum | Avg | MaxRequired: Yes
-
- order
-
Specifies whether to sort the results in ascending or descending order.
Type: String
Valid Values:
Ascending | DescendingRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: