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

Class: Aws::PinpointSMSVoice::Types::VoiceMessageContent

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 VoiceMessageContent data as a hash:

{
  call_instructions_message: {
    text: "NonEmptyString",
  },
  plain_text_message: {
    language_code: "String",
    text: "NonEmptyString",
    voice_id: "String",
  },
  ssml_message: {
    language_code: "String",
    text: "NonEmptyString",
    voice_id: "String",
  },
}

An object that contains a voice message and information about the recipient that you want to send it to.

Instance Attribute Summary collapse

Instance Attribute Details

#call_instructions_messageTypes::CallInstructionsMessageType

An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.



737
738
739
740
741
742
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 737

class VoiceMessageContent < Struct.new(
  :call_instructions_message,
  :plain_text_message,
  :ssml_message)
  include Aws::Structure
end

#plain_text_messageTypes::PlainTextMessageType

An object that defines a message that contains unformatted text.



737
738
739
740
741
742
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 737

class VoiceMessageContent < Struct.new(
  :call_instructions_message,
  :plain_text_message,
  :ssml_message)
  include Aws::Structure
end

#ssml_messageTypes::SSMLMessageType

An object that defines a message that contains SSML-formatted text.



737
738
739
740
741
742
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 737

class VoiceMessageContent < Struct.new(
  :call_instructions_message,
  :plain_text_message,
  :ssml_message)
  include Aws::Structure
end