Class: Aws::LexModelsV2::Types::AnalyticsSessionMetric

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelsv2/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)


1095
1096
1097
1098
1099
1100
1101
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 1095

class AnalyticsSessionMetric < Struct.new(
  :name,
  :statistic,
  :order)
  SENSITIVE = []
  include Aws::Structure
end

#orderString

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

Returns:

  • (String)


1095
1096
1097
1098
1099
1100
1101
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 1095

class AnalyticsSessionMetric < Struct.new(
  :name,
  :statistic,
  :order)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

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

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

Returns:

  • (String)


1095
1096
1097
1098
1099
1100
1101
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 1095

class AnalyticsSessionMetric < Struct.new(
  :name,
  :statistic,
  :order)
  SENSITIVE = []
  include Aws::Structure
end