The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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, ..., TemplateId => $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.

EntityId => Str

The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.

Keyword => Str

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

MediaUrl => Str

This field is reserved for future use.

MessageType => Str

The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).

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.

TemplateId => Str

The template ID received from the regulatory body for sending SMS in your country.

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