class Aws::PinpointSMSVoice::Types::SendVoiceMessageRequest
A request to create and send a new voice message.
@note When making an API call, you may pass SendVoiceMessageRequest
data as a hash: { caller_id: "String", configuration_set_name: "WordCharactersWithDelimiters", content: { 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", }, }, destination_phone_number: "NonEmptyString", origination_phone_number: "NonEmptyString", }
@!attribute [rw] caller_id
The phone number that appears on recipients' devices when they receive the message. @return [String]
@!attribute [rw] configuration_set_name
The name of the configuration set that you want to use to send the message. @return [String]
@!attribute [rw] content
An object that contains a voice message and information about the recipient that you want to send it to. @return [Types::VoiceMessageContent]
@!attribute [rw] destination_phone_number
The phone number that you want to send the voice message to. @return [String]
@!attribute [rw] origination_phone_number
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/SendVoiceMessageRequest AWS API Documentation
Constants
- SENSITIVE