IntentResultEvent - Amazon Lex

IntentResultEvent

Contains the current state of the conversation between the client application and Amazon Lex V2.

Contents

eventId

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 100.

Pattern: [0-9a-zA-Z._:-]+

Required: No

inputMode

Indicates whether the input to the operation was text or speech.

Type: String

Valid Values: Text | Speech | DTMF

Required: No

interpretations

A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.

Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.

Type: Array of Interpretation objects

Array Members: Maximum number of 5 items.

Required: No

requestAttributes

The attributes sent in the request.

Type: String to string map

Key Length Constraints: Minimum length of 1.

Required: No

sessionId

The identifier of the session in use.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 100.

Pattern: [0-9a-zA-Z._:-]+

Required: No

sessionState

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

Type: SessionState object

Required: No

See Also

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