Class: Aws::LexRuntimeV2::Types::IntentResultEvent

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#event_idString

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.

Returns:

  • (String)


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_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



731
732
733
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 731

def event_type
  @event_type
end

#input_modeString

Indicates whether the input to the operation was text, speech, or from a touch-tone keypad.

Returns:

  • (String)


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

#interpretationsArray<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.

Returns:



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_memberTypes::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_attributesHash<String,String>

The attributes sent in the request.

Returns:

  • (Hash<String,String>)


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_idString

The identifier of the session in use.

Returns:

  • (String)


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_stateTypes::SessionState

The state of the user’s session with Amazon Lex V2.

Returns:



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