You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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
  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)


2268
2269
2270
2271
2272
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2268

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

#content_typeString

The content type of the message string.

Returns:

  • (String)


2268
2269
2270
2271
2272
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2268

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