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

Class: Aws::PinpointSMSVoice::Types::PlainTextMessageType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb

Overview

Note:

When making an API call, you may pass PlainTextMessageType data as a hash:

{
  language_code: "String",
  text: "NonEmptyString",
  voice_id: "String",
}

An object that defines a message that contains unformatted text.

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

Returns:

  • (String)


493
494
495
496
497
498
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 493

class PlainTextMessageType < Struct.new(
  :language_code,
  :text,
  :voice_id)
  include Aws::Structure
end

#textString

The plain (not SSML-formatted) text to deliver to the recipient.

Returns:

  • (String)


493
494
495
496
497
498
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 493

class PlainTextMessageType < Struct.new(
  :language_code,
  :text,
  :voice_id)
  include Aws::Structure
end

#voice_idString

The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

Returns:

  • (String)


493
494
495
496
497
498
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 493

class PlainTextMessageType < Struct.new(
  :language_code,
  :text,
  :voice_id)
  include Aws::Structure
end