Class: Aws::Lex::Types::GetSessionResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:session_attributes, :active_contexts]

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns:



449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 449

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_actionTypes::DialogAction

Describes the current state of the bot.

Returns:



449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 449

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_viewArray<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.

Returns:



449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 449

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_attributesHash<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.

Returns:

  • (Hash<String,String>)


449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 449

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_idString

A unique identifier for the session.

Returns:

  • (String)


449
450
451
452
453
454
455
456
457
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 449

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