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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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
  content: "ContentString", # required
}

The message object that provides the message text and its type.

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The text of the message.

Returns:

  • (String)


2163
2164
2165
2166
2167
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2163

class Message < Struct.new(
  :content_type,
  :content)
  include Aws::Structure
end

#content_typeString

The content type of the message string.

Returns:

  • (String)


2163
2164
2165
2166
2167
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2163

class Message < Struct.new(
  :content_type,
  :content)
  include Aws::Structure
end