blib/lib/Paws/SES/ReceiptAction.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SES::ReceiptAction;
3 use Moose;
4 has AddHeaderAction => (is => 'ro', isa => 'Paws::SES::AddHeaderAction');
5 has BounceAction => (is => 'ro', isa => 'Paws::SES::BounceAction');
6 has LambdaAction => (is => 'ro', isa => 'Paws::SES::LambdaAction');
7 has S3Action => (is => 'ro', isa => 'Paws::SES::S3Action');
8 has SNSAction => (is => 'ro', isa => 'Paws::SES::SNSAction');
9 has StopAction => (is => 'ro', isa => 'Paws::SES::StopAction');
10 has WorkmailAction => (is => 'ro', isa => 'Paws::SES::WorkmailAction');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::SES::ReceiptAction
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::SES::ReceiptAction object:
30  
31 $service_obj->Method(Att1 => { AddHeaderAction => $value, ..., WorkmailAction => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::SES::ReceiptAction object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AddHeaderAction
39  
40 =head1 DESCRIPTION
41  
42 An action that Amazon SES can take when it receives an email on behalf
43 of one or more email addresses or domains that you own. An instance of
44 this data type can represent only one action.
45  
46 For information about setting up receipt rules, see the Amazon SES
47 Developer Guide
48 (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html).
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AddHeaderAction => L<Paws::SES::AddHeaderAction>
54  
55 Adds a header to the received email.
56  
57  
58 =head2 BounceAction => L<Paws::SES::BounceAction>
59  
60 Rejects the received email by returning a bounce response to the sender
61 and, optionally, publishes a notification to Amazon Simple Notification
62 Service (Amazon SNS).
63  
64  
65 =head2 LambdaAction => L<Paws::SES::LambdaAction>
66  
67 Calls an AWS Lambda function, and optionally, publishes a notification
68 to Amazon SNS.
69  
70  
71 =head2 S3Action => L<Paws::SES::S3Action>
72  
73 Saves the received message to an Amazon Simple Storage Service (Amazon
74 S3) bucket and, optionally, publishes a notification to Amazon SNS.
75  
76  
77 =head2 SNSAction => L<Paws::SES::SNSAction>
78  
79 Publishes the email content within a notification to Amazon SNS.
80  
81  
82 =head2 StopAction => L<Paws::SES::StopAction>
83  
84 Terminates the evaluation of the receipt rule set and optionally
85 publishes a notification to Amazon SNS.
86  
87  
88 =head2 WorkmailAction => L<Paws::SES::WorkmailAction>
89  
90 Calls Amazon WorkMail and, optionally, publishes a notification to
91 Amazon Amazon SNS.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::SES>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106