![]() |
![]()
| ![]() |
![]()
NAMEPaws::PinpointSMSVoice::SendVoiceMessage - Arguments for method SendVoiceMessage on Paws::PinpointSMSVoice DESCRIPTIONThis class represents the parameters used for calling the method SendVoiceMessage on the Amazon Pinpoint SMS and Voice Service service. Use the attributes of this class as arguments to method SendVoiceMessage. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendVoiceMessage. SYNOPSISmy $sms-voice.pinpoint = Paws->service('PinpointSMSVoice'); my $SendVoiceMessageResponse = $sms -voice . pinpoint->SendVoiceMessage( CallerId => 'MyString', # OPTIONAL ConfigurationSetName => 'MyWordCharactersWithDelimiters', # OPTIONAL Content => { CallInstructionsMessage => { Text => 'MyNonEmptyString', # OPTIONAL }, # OPTIONAL PlainTextMessage => { LanguageCode => 'MyString', Text => 'MyNonEmptyString', # OPTIONAL VoiceId => 'MyString', }, # OPTIONAL SSMLMessage => { LanguageCode => 'MyString', Text => 'MyNonEmptyString', # OPTIONAL VoiceId => 'MyString', }, # OPTIONAL }, # OPTIONAL DestinationPhoneNumber => 'MyNonEmptyString', # OPTIONAL OriginationPhoneNumber => 'MyNonEmptyString', # OPTIONAL ); # Results: my $MessageId = $SendVoiceMessageResponse->MessageId; # Returns a L<Paws::PinpointSMSVoice::SendVoiceMessageResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/sms-voice.pinpoint/SendVoiceMessage> ATTRIBUTESCallerId => StrThe phone number that appears on recipients' devices when they receive the message. ConfigurationSetName => StrThe name of the configuration set that you want to use to send the message. Content => Paws::PinpointSMSVoice::VoiceMessageContentDestinationPhoneNumber => StrThe phone number that you want to send the voice message to. OriginationPhoneNumber => StrThe 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. SEE ALSOThis class forms part of Paws, documenting arguments for method SendVoiceMessage in Paws::PinpointSMSVoice BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|