Class: Aws::LexRuntimeV2::Types::IntentResultEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::IntentResultEvent
- Defined in:
- gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb
Overview
Contains the current state of the conversation between the client application and Amazon Lex V2.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event_id ⇒ String
A unique identifier of the event sent by Amazon Lex V2.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#input_mode ⇒ String
Indicates whether the input to the operation was text or speech.
-
#interpretations ⇒ Array<Types::Interpretation>
A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
-
#request_attributes ⇒ Hash<String,String>
The attributes sent in the request.
-
#session_id ⇒ String
The identifier of the session in use.
-
#session_state ⇒ Types::SessionState
The state of the user's session with Amazon Lex V2.
Instance Attribute Details
#event_id ⇒ String
A unique identifier of the event sent by Amazon Lex V2. The
identifier is in the form RESPONSE-N
, where N is a number starting
with one and incremented for each event sent by Amazon Lex V2 in the
current session.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
883 884 885 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 def event_type @event_type end |
#input_mode ⇒ String
Indicates whether the input to the operation was text or speech.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |
#interpretations ⇒ Array<Types::Interpretation>
A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |
#request_attributes ⇒ Hash<String,String>
The attributes sent in the request.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |
#session_id ⇒ String
The identifier of the session in use.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |
#session_state ⇒ Types::SessionState
The state of the user's session with Amazon Lex V2.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 883 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |