The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Pinpoint::SendUsersMessageRequest

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

$service_obj->Method(Att1 => { Context => $value, ..., Users => $value  });

Results returned from an API call

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

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

DESCRIPTION

Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.

ATTRIBUTES

Context => Paws::Pinpoint::MapOf__string

A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.

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.

REQUIRED Users => Paws::Pinpoint::MapOfEndpointSendConfiguration

A map that associates user IDs with EndpointSendConfiguration (https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration) objects. You can use an EndpointSendConfiguration (https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration) object to tailor the message for a user by specifying settings such as content overrides and message 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