Class: Aws::LexRuntimeV2::Types::IntentResultEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::IntentResultEvent
- Includes:
- Structure
- Defined in:
- 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, speech, or from a touch-tone keypad.
-
#interpretations ⇒ Array<Types::Interpretation>
A list of intents that Amazon Lex V2 determined might satisfy the user’s utterance.
-
#recognized_bot_member ⇒ Types::RecognizedBotMember
The bot member that is processing the intent.
-
#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.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :event_type) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
731 732 733 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 def event_type @event_type end |
#input_mode ⇒ String
Indicates whether the input to the operation was text, speech, or from a touch-tone keypad.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :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.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :event_type) SENSITIVE = [] include Aws::Structure end |
#recognized_bot_member ⇒ Types::RecognizedBotMember
The bot member that is processing the intent.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :event_type) SENSITIVE = [] include Aws::Structure end |
#request_attributes ⇒ Hash<String,String>
The attributes sent in the request.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :event_type) SENSITIVE = [] include Aws::Structure end |
#session_id ⇒ String
The identifier of the session in use.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :event_type) SENSITIVE = [] include Aws::Structure end |
#session_state ⇒ Types::SessionState
The state of the user’s session with Amazon Lex V2.
731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731 class IntentResultEvent < Struct.new( :input_mode, :interpretations, :session_state, :request_attributes, :session_id, :event_id, :recognized_bot_member, :event_type) SENSITIVE = [] include Aws::Structure end |