NAME

Paws::Pinpoint::SMSMessage

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Pinpoint::SMSMessage object:

$service_obj->Method(Att1 => { Body => $value, ..., Substitutions => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::SMSMessage object:

$result = $service_obj->Method(...);
$result->Att1->Body

DESCRIPTION

Specifies the default settings for a one-time SMS message that's sent directly to an endpoint.

ATTRIBUTES

Body => Str

The body of the SMS message.

Keyword => Str

The SMS program name that you provided to AWS Support when you requested your dedicated number.

MessageType => Str

The SMS message type. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message is not critical or time-sensitive, such as a marketing message.

OriginationNumber => Str

The number to send the SMS message from. This value should be one of the dedicated long or short codes that's assigned to your AWS account. If you don't specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message and sends the message from that code.

SenderId => Str

The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region.

Substitutions => Paws::Pinpoint::MapOfListOf__string

The message variables to use in the SMS message. You can override the default variables with individual address variables.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Pinpoint

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues