Class: Aws::PinpointSMSVoice::Types::SendVoiceMessageRequest

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

Overview

A request to create and send a new voice message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#caller_idString

The phone number that appears on recipients’ devices when they receive the message.

Returns:

  • (String)


467
468
469
470
471
472
473
474
475
# File 'lib/aws-sdk-pinpointsmsvoice/types.rb', line 467

class SendVoiceMessageRequest < Struct.new(
  :caller_id,
  :configuration_set_name,
  :content,
  :destination_phone_number,
  :origination_phone_number)
  SENSITIVE = []
  include Aws::Structure
end

#configuration_set_nameString

The name of the configuration set that you want to use to send the message.

Returns:

  • (String)


467
468
469
470
471
472
473
474
475
# File 'lib/aws-sdk-pinpointsmsvoice/types.rb', line 467

class SendVoiceMessageRequest < Struct.new(
  :caller_id,
  :configuration_set_name,
  :content,
  :destination_phone_number,
  :origination_phone_number)
  SENSITIVE = []
  include Aws::Structure
end

#contentTypes::VoiceMessageContent

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



467
468
469
470
471
472
473
474
475
# File 'lib/aws-sdk-pinpointsmsvoice/types.rb', line 467

class SendVoiceMessageRequest < Struct.new(
  :caller_id,
  :configuration_set_name,
  :content,
  :destination_phone_number,
  :origination_phone_number)
  SENSITIVE = []
  include Aws::Structure
end

#destination_phone_numberString

The phone number that you want to send the voice message to.

Returns:

  • (String)


467
468
469
470
471
472
473
474
475
# File 'lib/aws-sdk-pinpointsmsvoice/types.rb', line 467

class SendVoiceMessageRequest < Struct.new(
  :caller_id,
  :configuration_set_name,
  :content,
  :destination_phone_number,
  :origination_phone_number)
  SENSITIVE = []
  include Aws::Structure
end

#origination_phone_numberString

The phone number that Amazon Pinpoint should use to send the voice message. This isn’t necessarily the phone number that appears on recipients’ devices when they receive the message, because you can specify a CallerId parameter in the request.

Returns:

  • (String)


467
468
469
470
471
472
473
474
475
# File 'lib/aws-sdk-pinpointsmsvoice/types.rb', line 467

class SendVoiceMessageRequest < Struct.new(
  :caller_id,
  :configuration_set_name,
  :content,
  :destination_phone_number,
  :origination_phone_number)
  SENSITIVE = []
  include Aws::Structure
end