Class: Aws::LexRuntimeV2::Types::TextResponseEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::TextResponseEvent
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexruntimev2/types.rb
Overview
The event sent from Amazon Lex V2 to your application with text to present to the user.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event_id ⇒ String
A unique identifier of the event sent by Amazon Lex V2.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#messages ⇒ Array<Types::Message>
A list of messages to send to the user.
Instance Attribute Details
#event_id ⇒ String
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.
1665 1666 1667 1668 1669 1670 1671 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1665 class TextResponseEvent < Struct.new( :messages, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
1665 1666 1667 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1665 def event_type @event_type end |
#messages ⇒ Array<Types::Message>
A list of messages to send to the user. Messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.
1665 1666 1667 1668 1669 1670 1671 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1665 class TextResponseEvent < Struct.new( :messages, :event_id, :event_type) SENSITIVE = [] include Aws::Structure end |