Class: Aws::LexModelBuildingService::Types::Message

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#contentString

The text of the message.

Returns:

  • (String)


2836
2837
2838
2839
2840
2841
2842
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2836

class Message < Struct.new(
  :content_type,
  :content,
  :group_number)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

The content type of the message string.

Returns:

  • (String)


2836
2837
2838
2839
2840
2841
2842
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2836

class Message < Struct.new(
  :content_type,
  :content,
  :group_number)
  SENSITIVE = []
  include Aws::Structure
end

#group_numberInteger

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.

Returns:

  • (Integer)


2836
2837
2838
2839
2840
2841
2842
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2836

class Message < Struct.new(
  :content_type,
  :content,
  :group_number)
  SENSITIVE = []
  include Aws::Structure
end