Class: Aws::Lex::Types::GetSessionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lex::Types::GetSessionResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lex/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:session_attributes, :active_contexts]
Instance Attribute Summary collapse
-
#active_contexts ⇒ Array<Types::ActiveContext>
A list of active contexts for the session.
-
#dialog_action ⇒ Types::DialogAction
Describes the current state of the bot.
-
#recent_intent_summary_view ⇒ Array<Types::IntentSummary>
An array of information about the intents used in the session.
-
#session_attributes ⇒ Hash<String,String>
Map of key/value pairs representing the session-specific context information.
-
#session_id ⇒ String
A unique identifier for the session.
Instance Attribute Details
#active_contexts ⇒ Array<Types::ActiveContext>
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the ‘PostContent`, `PostText`, or `PutSession` operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
393 394 395 396 397 398 399 400 401 |
# File 'lib/aws-sdk-lex/types.rb', line 393 class GetSessionResponse < Struct.new( :recent_intent_summary_view, :session_attributes, :session_id, :dialog_action, :active_contexts) SENSITIVE = [:session_attributes, :active_contexts] include Aws::Structure end |
#dialog_action ⇒ Types::DialogAction
Describes the current state of the bot.
393 394 395 396 397 398 399 400 401 |
# File 'lib/aws-sdk-lex/types.rb', line 393 class GetSessionResponse < Struct.new( :recent_intent_summary_view, :session_attributes, :session_id, :dialog_action, :active_contexts) SENSITIVE = [:session_attributes, :active_contexts] include Aws::Structure end |
#recent_intent_summary_view ⇒ Array<Types::IntentSummary>
An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the ‘recentIntentSummaryView` operation contains information about the last three intents used.
If you set the ‘checkpointLabelFilter` parameter in the request, the array contains only the intents with the specified label.
393 394 395 396 397 398 399 400 401 |
# File 'lib/aws-sdk-lex/types.rb', line 393 class GetSessionResponse < Struct.new( :recent_intent_summary_view, :session_attributes, :session_id, :dialog_action, :active_contexts) SENSITIVE = [:session_attributes, :active_contexts] include Aws::Structure end |
#session_attributes ⇒ Hash<String,String>
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
393 394 395 396 397 398 399 400 401 |
# File 'lib/aws-sdk-lex/types.rb', line 393 class GetSessionResponse < Struct.new( :recent_intent_summary_view, :session_attributes, :session_id, :dialog_action, :active_contexts) SENSITIVE = [:session_attributes, :active_contexts] include Aws::Structure end |
#session_id ⇒ String
A unique identifier for the session.
393 394 395 396 397 398 399 400 401 |
# File 'lib/aws-sdk-lex/types.rb', line 393 class GetSessionResponse < Struct.new( :recent_intent_summary_view, :session_attributes, :session_id, :dialog_action, :active_contexts) SENSITIVE = [:session_attributes, :active_contexts] include Aws::Structure end |