Class: Aws::LexModelsV2::Types::AnalyticsSessionFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::AnalyticsSessionFilter
- Defined in:
- gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
Overview
Contains fields describing a condition by which to filter the
sessions. The expression may be understood as name operator
values. For example:
LocaleId EQ en– The locale is "en".Duration GT 200– The duration is greater than 200 seconds.
The operators that each filter supports are listed below:
BotAlias–EQ.BotVersion–EQ.LocaleId–EQ.Modality–EQ.Channel–EQ.Duration–EQ,GT,LT.conversationEndState–EQ,CO.SessionId–EQ.OriginatingRequestId–EQ.IntentPath–EQ.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The category by which to filter the sessions.
-
#operator ⇒ String
The operation by which to filter the category.
-
#values ⇒ Array<String>
An array containing the values of the category by which to apply the operator to filter the results.
Instance Attribute Details
#name ⇒ String
The category by which to filter the sessions. The descriptions for each option are as follows:
BotAlias– The name of the bot alias.BotVersion– The version of the bot.LocaleId– The locale of the bot.Modality– The modality of the session with the bot (audio, DTMF, or text).Channel– The channel that the bot is integrated with.Duration– The duration of the session.conversationEndState– The final state of the session.SessionId– The identifier of the session with the bot.OriginatingRequestId– The identifier of the first request in a session.IntentPath– The order of intents taken in a session.
1010 1011 1012 1013 1014 1015 1016 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1010 class AnalyticsSessionFilter < Struct.new( :name, :operator, :values) SENSITIVE = [] include Aws::Structure end |
#operator ⇒ String
The operation by which to filter the category. The following operations are possible:
CO– ContainsEQ– EqualsGT– Greater thanLT– Less than
The operators that each filter supports are listed below:
BotAlias–EQ.BotVersion–EQ.LocaleId–EQ.Modality–EQ.Channel–EQ.Duration–EQ,GT,LT.conversationEndState–EQ,CO.SessionId–EQ.OriginatingRequestId–EQ.IntentPath–EQ.
1010 1011 1012 1013 1014 1015 1016 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1010 class AnalyticsSessionFilter < Struct.new( :name, :operator, :values) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
An array containing the values of the category by which to apply the
operator to filter the results. You can provide multiple values if
the operator is EQ or CO. If you provide multiple values, you
filter for results that equal/contain any of the values. For
example, if the name, operator, and values fields are
Modality, EQ, and [Speech, Text], the operation filters for
results where the modality was either Speech or Text.
1010 1011 1012 1013 1014 1015 1016 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1010 class AnalyticsSessionFilter < Struct.new( :name, :operator, :values) SENSITIVE = [] include Aws::Structure end |