blib/lib/Paws/IoT/TopicRule.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::TopicRule;
3 use Moose;
4 has Actions => (is => 'ro', isa => 'ArrayRef[Paws::IoT::Action]', request_name => 'actions', traits => ['NameInRequest']);
5 has AwsIotSqlVersion => (is => 'ro', isa => 'Str', request_name => 'awsIotSqlVersion', traits => ['NameInRequest']);
6 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
7 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
8 has ErrorAction => (is => 'ro', isa => 'Paws::IoT::Action', request_name => 'errorAction', traits => ['NameInRequest']);
9 has RuleDisabled => (is => 'ro', isa => 'Bool', request_name => 'ruleDisabled', traits => ['NameInRequest']);
10 has RuleName => (is => 'ro', isa => 'Str', request_name => 'ruleName', traits => ['NameInRequest']);
11 has Sql => (is => 'ro', isa => 'Str', request_name => 'sql', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::IoT::TopicRule
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::IoT::TopicRule object:
31  
32 $service_obj->Method(Att1 => { Actions => $value, ..., Sql => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::TopicRule object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Actions
40  
41 =head1 DESCRIPTION
42  
43 Describes a rule.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Actions => ArrayRef[L<Paws::IoT::Action>]
49  
50 The actions associated with the rule.
51  
52  
53 =head2 AwsIotSqlVersion => Str
54  
55 The version of the SQL rules engine to use when evaluating the rule.
56  
57  
58 =head2 CreatedAt => Str
59  
60 The date and time the rule was created.
61  
62  
63 =head2 Description => Str
64  
65 The description of the rule.
66  
67  
68 =head2 ErrorAction => L<Paws::IoT::Action>
69  
70 The action to perform when an error occurs.
71  
72  
73 =head2 RuleDisabled => Bool
74  
75 Specifies whether the rule is disabled.
76  
77  
78 =head2 RuleName => Str
79  
80 The name of the rule.
81  
82  
83 =head2 Sql => Str
84  
85 The SQL statement used to query the topic. When using a SQL query with
86 multiple lines, be sure to escape the newline characters.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101