File Coverage

blib/lib/Paws/Pinpoint/EmailMessage.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Pinpoint::EmailMessage;
2 1     1   515 use Moose;
  1         3  
  1         8  
3             has Body => (is => 'ro', isa => 'Str');
4             has FromAddress => (is => 'ro', isa => 'Str');
5             has HtmlBody => (is => 'ro', isa => 'Str');
6             has Substitutions => (is => 'ro', isa => 'Paws::Pinpoint::MapOfListOf__string');
7             has TemplateArn => (is => 'ro', isa => 'Str');
8             has Title => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Pinpoint::EmailMessage
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Pinpoint::EmailMessage object:
27              
28             $service_obj->Method(Att1 => { Body => $value, ..., Title => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::EmailMessage object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Body
36              
37             =head1 DESCRIPTION
38              
39             Email Message.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Body => Str
45              
46             The message body of the notification, the email body or the text
47             message.
48              
49              
50             =head2 FromAddress => Str
51              
52             The email address used to send the email from. Defaults to use
53             FromAddress specified in the Email Channel.
54              
55              
56             =head2 HtmlBody => Str
57              
58             The HTML part of the email.
59              
60              
61             =head2 Substitutions => L<Paws::Pinpoint::MapOfListOf__string>
62              
63             Default message substitutions. Can be overridden by individual address
64             substitutions.
65              
66              
67             =head2 TemplateArn => Str
68              
69             The ARN of the template to use for the email.
70              
71              
72             =head2 Title => Str
73              
74             The subject of the email.
75              
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut
89