SessionState - Amazon Lex API Reference


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



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


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

Type: DialogAction object

Required: No


The active intent that Amazon Lex V2 is processing.

Type: Intent object

Required: No


A unique identifier for a specific request.

Type: String

Length Constraints: Minimum length of 1.

Required: No


Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2 uses the hints to help determine the correct value of a slot.

Type: RuntimeHints object

Required: No


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: