Class: Aws::LexModelBuildingService::Types::Message
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::Message
- Defined in:
- gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb
Overview
Note:
When making an API call, you may pass Message data as a hash:
{
content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
content: "ContentString", # required
group_number: 1,
}
The message object that provides the message text and its type.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content ⇒ String
The text of the message.
-
#content_type ⇒ String
The content type of the message string.
-
#group_number ⇒ Integer
Identifies the message group that the message belongs to.
Instance Attribute Details
#content ⇒ String
The text of the message.
3075 3076 3077 3078 3079 3080 3081 |
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3075 class Message < Struct.new( :content_type, :content, :group_number) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
The content type of the message string.
3075 3076 3077 3078 3079 3080 3081 |
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3075 class Message < Struct.new( :content_type, :content, :group_number) SENSITIVE = [] include Aws::Structure end |
#group_number ⇒ Integer
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.
3075 3076 3077 3078 3079 3080 3081 |
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3075 class Message < Struct.new( :content_type, :content, :group_number) SENSITIVE = [] include Aws::Structure end |