blib/lib/Paws/Pinpoint/SendUsersMessageRequest.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Pinpoint::SendUsersMessageRequest;
3 use Moose;
4 has Context => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__string');
5 has MessageConfiguration => (is => 'ro', isa => 'Paws::Pinpoint::DirectMessageConfiguration', required => 1);
6 has TemplateConfiguration => (is => 'ro', isa => 'Paws::Pinpoint::TemplateConfiguration');
7 has TraceId => (is => 'ro', isa => 'Str');
8 has Users => (is => 'ro', isa => 'Paws::Pinpoint::MapOfEndpointSendConfiguration', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Pinpoint::SendUsersMessageRequest
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::Pinpoint::SendUsersMessageRequest object:
28  
29 $service_obj->Method(Att1 => { Context => $value, ..., Users => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::SendUsersMessageRequest object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Context
37  
38 =head1 DESCRIPTION
39  
40 Specifies the configuration and other settings for a message to send to
41 all the endpoints that are associated with a list of users.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Context => L<Paws::Pinpoint::MapOf__string>
47  
48 A map of custom attribute-value pairs. For a push notification, Amazon
49 Pinpoint adds these attributes to the data.pinpoint object in the body
50 of the notification payload. Amazon Pinpoint also provides these
51 attributes in the events that it generates for users-messages
52 deliveries.
53  
54  
55 =head2 B<REQUIRED> MessageConfiguration => L<Paws::Pinpoint::DirectMessageConfiguration>
56  
57 The settings and content for the default message and any default
58 messages that you defined for specific channels.
59  
60  
61 =head2 TemplateConfiguration => L<Paws::Pinpoint::TemplateConfiguration>
62  
63 The message template to use for the message.
64  
65  
66 =head2 TraceId => Str
67  
68 The unique identifier for tracing the message. This identifier is
69 visible to message recipients.
70  
71  
72 =head2 B<REQUIRED> Users => L<Paws::Pinpoint::MapOfEndpointSendConfiguration>
73  
74 A map that associates user IDs with EndpointSendConfiguration
75 (https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration)
76 objects. You can use an EndpointSendConfiguration
77 (https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration)
78 object to tailor the message for a user by specifying settings such as
79 content overrides and message variables.
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94