Skip to content

Lex Runtime V2  >  Structures  >  TextInputEvent

TextInputEvent

Structure Class

TextInputEvent dataclass

The event sent from your client application to Amazon Lex V2 with text input from the user.

Attributes

client_timestamp_millis class-attribute instance-attribute
client_timestamp_millis: int = 0

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

event_id class-attribute instance-attribute
event_id: str | None = None

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

text class-attribute instance-attribute
text: str = field(repr=False)

The text from the user. Amazon Lex V2 processes this as a complete statement.