File Coverage

blib/lib/Paws/SES/ReceiptAction.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::SES::ReceiptAction;
2 1     1   663 use Moose;
  1         4  
  1         9  
3             has AddHeaderAction => (is => 'ro', isa => 'Paws::SES::AddHeaderAction');
4             has BounceAction => (is => 'ro', isa => 'Paws::SES::BounceAction');
5             has LambdaAction => (is => 'ro', isa => 'Paws::SES::LambdaAction');
6             has S3Action => (is => 'ro', isa => 'Paws::SES::S3Action');
7             has SNSAction => (is => 'ro', isa => 'Paws::SES::SNSAction');
8             has StopAction => (is => 'ro', isa => 'Paws::SES::StopAction');
9             has WorkmailAction => (is => 'ro', isa => 'Paws::SES::WorkmailAction');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::SES::ReceiptAction
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::SES::ReceiptAction object:
28              
29             $service_obj->Method(Att1 => { AddHeaderAction => $value, ..., WorkmailAction => $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::SES::ReceiptAction object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AddHeaderAction
37              
38             =head1 DESCRIPTION
39              
40             An action that Amazon SES can take when it receives an email on behalf
41             of one or more email addresses or domains that you own. An instance of
42             this data type can represent only one action.
43              
44             For information about setting up receipt rules, see the Amazon SES
45             Developer Guide.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 AddHeaderAction => L<Paws::SES::AddHeaderAction>
51              
52             Adds a header to the received email.
53              
54              
55             =head2 BounceAction => L<Paws::SES::BounceAction>
56              
57             Rejects the received email by returning a bounce response to the sender
58             and, optionally, publishes a notification to Amazon Simple Notification
59             Service (Amazon SNS).
60              
61              
62             =head2 LambdaAction => L<Paws::SES::LambdaAction>
63              
64             Calls an AWS Lambda function, and optionally, publishes a notification
65             to Amazon SNS.
66              
67              
68             =head2 S3Action => L<Paws::SES::S3Action>
69              
70             Saves the received message to an Amazon Simple Storage Service (Amazon
71             S3) bucket and, optionally, publishes a notification to Amazon SNS.
72              
73              
74             =head2 SNSAction => L<Paws::SES::SNSAction>
75              
76             Publishes the email content within a notification to Amazon SNS.
77              
78              
79             =head2 StopAction => L<Paws::SES::StopAction>
80              
81             Terminates the evaluation of the receipt rule set and optionally
82             publishes a notification to Amazon SNS.
83              
84              
85             =head2 WorkmailAction => L<Paws::SES::WorkmailAction>
86              
87             Calls Amazon WorkMail and, optionally, publishes a notification to
88             Amazon SNS.
89              
90              
91              
92             =head1 SEE ALSO
93              
94             This class forms part of L<Paws>, describing an object used in L<Paws::SES>
95              
96             =head1 BUGS and CONTRIBUTIONS
97              
98             The source code is located here: https://github.com/pplu/aws-sdk-perl
99              
100             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
101              
102             =cut
103