| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Paws::SES::LambdaAction; |
|
2
|
1
|
|
|
1
|
|
883
|
use Moose; |
|
|
1
|
|
|
|
|
6
|
|
|
|
1
|
|
|
|
|
14
|
|
|
3
|
|
|
|
|
|
|
has FunctionArn => (is => 'ro', isa => 'Str', required => 1); |
|
4
|
|
|
|
|
|
|
has InvocationType => (is => 'ro', isa => 'Str'); |
|
5
|
|
|
|
|
|
|
has TopicArn => (is => 'ro', isa => 'Str'); |
|
6
|
|
|
|
|
|
|
1; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Paws::SES::LambdaAction |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 USAGE |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
This class represents one of two things: |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
|
21
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::SES::LambdaAction object: |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { FunctionArn => $value, ..., TopicArn => $value }); |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head3 Results returned from an API call |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::SES::LambdaAction object: |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
|
32
|
|
|
|
|
|
|
$result->Att1->FunctionArn |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
When included in a receipt rule, this action calls an AWS Lambda |
|
37
|
|
|
|
|
|
|
function and, optionally, publishes a notification to Amazon Simple |
|
38
|
|
|
|
|
|
|
Notification Service (Amazon SNS). |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
To enable Amazon SES to call your AWS Lambda function or to publish to |
|
41
|
|
|
|
|
|
|
an Amazon SNS topic of another account, Amazon SES must have permission |
|
42
|
|
|
|
|
|
|
to access those resources. For information about giving permissions, |
|
43
|
|
|
|
|
|
|
see the Amazon SES Developer Guide. |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
For information about using AWS Lambda actions in receipt rules, see |
|
46
|
|
|
|
|
|
|
the Amazon SES Developer Guide. |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 B<REQUIRED> FunctionArn => Str |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the AWS Lambda function. An example |
|
54
|
|
|
|
|
|
|
of an AWS Lambda function ARN is |
|
55
|
|
|
|
|
|
|
C<arn:aws:lambda:us-west-2:account-id:function:MyFunction>. For more |
|
56
|
|
|
|
|
|
|
information about AWS Lambda, see the AWS Lambda Developer Guide. |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 InvocationType => Str |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The invocation type of the AWS Lambda function. An invocation type of |
|
62
|
|
|
|
|
|
|
C<RequestResponse> means that the execution of the function will |
|
63
|
|
|
|
|
|
|
immediately result in a response, and a value of C<Event> means that |
|
64
|
|
|
|
|
|
|
the function will be invoked asynchronously. The default value is |
|
65
|
|
|
|
|
|
|
C<Event>. For information about AWS Lambda invocation types, see the |
|
66
|
|
|
|
|
|
|
AWS Lambda Developer Guide. |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
There is a 30-second timeout on C<RequestResponse> invocations. You |
|
69
|
|
|
|
|
|
|
should use C<Event> invocation in most cases. Use C<RequestResponse> |
|
70
|
|
|
|
|
|
|
only when you want to make a mail flow decision, such as whether to |
|
71
|
|
|
|
|
|
|
stop the receipt rule or the receipt rule set. |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 TopicArn => Str |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when |
|
77
|
|
|
|
|
|
|
the Lambda action is taken. An example of an Amazon SNS topic ARN is |
|
78
|
|
|
|
|
|
|
C<arn:aws:sns:us-west-2:123456789012:MyTopic>. For more information |
|
79
|
|
|
|
|
|
|
about Amazon SNS topics, see the Amazon SNS Developer Guide. |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::SES> |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
|
94
|
|
|
|
|
|
|
|