File Coverage

blib/lib/Paws/CloudWatchEvents/Rule.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::CloudWatchEvents::Rule;
2 1     1   448 use Moose;
  1         2  
  1         6  
3             has Arn => (is => 'ro', isa => 'Str');
4             has Description => (is => 'ro', isa => 'Str');
5             has EventPattern => (is => 'ro', isa => 'Str');
6             has Name => (is => 'ro', isa => 'Str');
7             has RoleArn => (is => 'ro', isa => 'Str');
8             has ScheduleExpression => (is => 'ro', isa => 'Str');
9             has State => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::CloudWatchEvents::Rule
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::CloudWatchEvents::Rule object:
28              
29             $service_obj->Method(Att1 => { Arn => $value, ..., State => $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::CloudWatchEvents::Rule object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Arn
37              
38             =head1 DESCRIPTION
39              
40             Contains information about a rule in Amazon CloudWatch Events.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Arn => Str
46              
47             The Amazon Resource Name (ARN) of the rule.
48              
49              
50             =head2 Description => Str
51              
52             The description of the rule.
53              
54              
55             =head2 EventPattern => Str
56              
57             The event pattern of the rule. For more information, see Events and
58             Event Patterns in the I<Amazon CloudWatch Events User Guide>.
59              
60              
61             =head2 Name => Str
62              
63             The name of the rule.
64              
65              
66             =head2 RoleArn => Str
67              
68             The Amazon Resource Name (ARN) of the role that is used for target
69             invocation.
70              
71              
72             =head2 ScheduleExpression => Str
73              
74             The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5
75             minutes)".
76              
77              
78             =head2 State => Str
79              
80             The state of the rule.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchEvents>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95