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

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 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::CampaignHook;
3 use Moose;
4 has LambdaFunctionName => (is => 'ro', isa => 'Str');
5 has Mode => (is => 'ro', isa => 'Str');
6 has WebUrl => (is => 'ro', isa => 'Str');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Pinpoint::CampaignHook
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::Pinpoint::CampaignHook object:
26  
27 $service_obj->Method(Att1 => { LambdaFunctionName => $value, ..., WebUrl => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::CampaignHook object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->LambdaFunctionName
35  
36 =head1 DESCRIPTION
37  
38 Specifies settings for invoking an AWS Lambda function that customizes
39 a segment for a campaign.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 LambdaFunctionName => Str
45  
46 The name or Amazon Resource Name (ARN) of the AWS Lambda function that
47 Amazon Pinpoint invokes to customize a segment for a campaign.
48  
49  
50 =head2 Mode => Str
51  
52 The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
53 Possible values are:
54  
55 =over
56  
57 =item *
58  
59 FILTER - Invoke the function to customize the segment that's used by a
60 campaign.
61  
62 =item *
63  
64 DELIVERY - (Deprecated) Previously, invoked the function to send a
65 campaign through a custom channel. This functionality is not supported
66 anymore. To send a campaign through a custom channel, use the
67 CustomDeliveryConfiguration and CampaignCustomMessage objects of the
68 campaign.
69  
70 =back
71  
72  
73  
74 =head2 WebUrl => Str
75  
76 The web URL that Amazon Pinpoint calls to invoke the AWS Lambda
77 function over HTTPS.
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92