You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returned by:

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:

#dialog_actionTypes::DialogAction

Describes the current state of the bot.

Returns:

#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:

#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>)

    Map of key/value pairs representing the session-specific context information.

#session_idString

A unique identifier for the session.

Returns:

  • (String)

    A unique identifier for the session.