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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 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::Activity;
3 use Moose;
4 has ConditionalSplit => (is => 'ro', isa => 'Paws::Pinpoint::ConditionalSplitActivity');
5 has CUSTOM => (is => 'ro', isa => 'Paws::Pinpoint::CustomMessageActivity');
6 has Description => (is => 'ro', isa => 'Str');
7 has EMAIL => (is => 'ro', isa => 'Paws::Pinpoint::EmailMessageActivity');
8 has Holdout => (is => 'ro', isa => 'Paws::Pinpoint::HoldoutActivity');
9 has MultiCondition => (is => 'ro', isa => 'Paws::Pinpoint::MultiConditionalSplitActivity');
10 has PUSH => (is => 'ro', isa => 'Paws::Pinpoint::PushMessageActivity');
11 has RandomSplit => (is => 'ro', isa => 'Paws::Pinpoint::RandomSplitActivity');
12 has SMS => (is => 'ro', isa => 'Paws::Pinpoint::SMSMessageActivity');
13 has Wait => (is => 'ro', isa => 'Paws::Pinpoint::WaitActivity');
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Pinpoint::Activity
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::Pinpoint::Activity object:
33  
34 $service_obj->Method(Att1 => { ConditionalSplit => $value, ..., Wait => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::Activity object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->ConditionalSplit
42  
43 =head1 DESCRIPTION
44  
45 Specifies the configuration and other settings for an activity in a
46 journey.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ConditionalSplit => L<Paws::Pinpoint::ConditionalSplitActivity>
52  
53 The settings for a yes/no split activity. This type of activity sends
54 participants down one of two paths in a journey, based on conditions
55 that you specify.
56  
57  
58 =head2 CUSTOM => L<Paws::Pinpoint::CustomMessageActivity>
59  
60 The settings for a custom message activity. This type of activity calls
61 an AWS Lambda function or web hook that sends messages to participants.
62  
63  
64 =head2 Description => Str
65  
66 The custom description of the activity.
67  
68  
69 =head2 EMAIL => L<Paws::Pinpoint::EmailMessageActivity>
70  
71 The settings for an email activity. This type of activity sends an
72 email message to participants.
73  
74  
75 =head2 Holdout => L<Paws::Pinpoint::HoldoutActivity>
76  
77 The settings for a holdout activity. This type of activity stops a
78 journey for a specified percentage of participants.
79  
80  
81 =head2 MultiCondition => L<Paws::Pinpoint::MultiConditionalSplitActivity>
82  
83 The settings for a multivariate split activity. This type of activity
84 sends participants down one of as many as five paths (including a
85 default I<Else> path) in a journey, based on conditions that you
86 specify.
87  
88  
89 =head2 PUSH => L<Paws::Pinpoint::PushMessageActivity>
90  
91 The settings for a push notification activity. This type of activity
92 sends a push notification to participants.
93  
94  
95 =head2 RandomSplit => L<Paws::Pinpoint::RandomSplitActivity>
96  
97 The settings for a random split activity. This type of activity
98 randomly sends specified percentages of participants down one of as
99 many as five paths in a journey, based on conditions that you specify.
100  
101  
102 =head2 SMS => L<Paws::Pinpoint::SMSMessageActivity>
103  
104 The settings for an SMS activity. This type of activity sends a text
105 message to participants.
106  
107  
108 =head2 Wait => L<Paws::Pinpoint::WaitActivity>
109  
110 The settings for a wait activity. This type of activity waits for a
111 certain amount of time or until a specific date and time before moving
112 participants to the next activity in a journey.
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127