AnalyticsIntentMetric - Amazon Lex API Reference

AnalyticsIntentMetric

Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the intents in the bot.

Contents

name

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

  • Count – The number of times the intent was invoked.

  • Success – The number of times the intent succeeded.

  • Failure – The number of times the intent failed.

  • Switched – The number of times there was a switch to a different intent.

  • Dropped – The number of times the user dropped the intent.

Type: String

Valid Values: Count | Success | Failure | Switched | Dropped

Required: Yes

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 intents in the category you provide in name.

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

Type: String

Valid Values: Sum | Avg | Max

Required: Yes

order

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

Type: String

Valid Values: Ascending | Descending

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: