Class: Aws::LexModelBuildingService::Types::Statement
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::Statement
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexmodelbuildingservice/types.rb
Overview
Note:
When making an API call, you may pass Statement data as a hash:
{
messages: [ # required
{
content_type: "PlainText", # required, accepts PlainText, SSML
content: "ContentString", # required
},
],
response_card: "ResponseCard",
}
A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.
Instance Attribute Summary collapse
-
#messages ⇒ Array<Types::Message>
A collection of message objects.
-
#response_card ⇒ String
At runtime, if the client is using the [PostText] API, Amazon Lex includes the response card in the response.
Instance Attribute Details
#messages ⇒ Array<Types::Message>
A collection of message objects.
3264 3265 3266 3267 3268 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3264 class Statement < Struct.new( :messages, :response_card) include Aws::Structure end |
#response_card ⇒ String
At runtime, if the client is using the [PostText] API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.
[1]: docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
3264 3265 3266 3267 3268 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3264 class Statement < Struct.new( :messages, :response_card) include Aws::Structure end |