SessionState - Amazon Lex

SessionState

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

Contents

activeContexts

One or more contexts that indicate to Amazon Lex V2 the context of a request. When a context is active, Amazon Lex V2 considers intents with the matching context as a trigger as the next intent in a session.

Type: Array of ActiveContext objects

Array Members: Minimum number of 0 items. Maximum number of 20 items.

Required: No

dialogAction

The next step that Amazon Lex V2 should take in the conversation with a user.

Type: DialogAction object

Required: No

intent

The active intent that Amazon Lex V2 is processing.

Type: Intent object

Required: No

originatingRequestId

Type: String

Length Constraints: Minimum length of 1.

Required: No

sessionAttributes

Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex V2 and a client application.

Type: String to string map

Key Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: