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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PlainTextMessageType as input to an Aws::Client method, you can use a vanilla Hash:

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

An object that defines a message that contains unformatted text.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#language_code ⇒ String

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

Returns:

  • (String) —

    The language to use when delivering the message.

#text ⇒ String

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

Returns:

  • (String) —

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

#voice_id ⇒ String

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

    The name of the voice that you want to use to deliver the message.