NAME

Paws::Pinpoint::MessageRequest

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::MessageRequest object:

$service_obj->Method(Att1 => { Addresses => $value, ..., TraceId => $value  });

Results returned from an API call

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

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

DESCRIPTION

Specifies the configuration and other settings for a message.

ATTRIBUTES

Addresses => Paws::Pinpoint::MapOfAddressConfiguration

A map of key-value pairs, where each key is an address and each value is an AddressConfiguration object. An address can be a push notification token, a phone number, or an email address. You can use an AddressConfiguration object to tailor the message for an address by specifying settings such as content overrides and message variables.

Context => Paws::Pinpoint::MapOf__string

A map of custom attributes to attach to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.

Endpoints => Paws::Pinpoint::MapOfEndpointSendConfiguration

A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object. You can use an EndpointSendConfiguration object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.

REQUIRED MessageConfiguration => Paws::Pinpoint::DirectMessageConfiguration

The settings and content for the default message and any default messages that you defined for specific channels.

TemplateConfiguration => Paws::Pinpoint::TemplateConfiguration

The message template to use for the message.

TraceId => Str

The unique identifier for tracing the message. This identifier is visible to message recipients.

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