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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 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::TopicRulePayload;
3 use Moose;
4 has Actions => (is => 'ro', isa => 'ArrayRef[Paws::IoT::Action]', request_name => 'actions', traits => ['NameInRequest'], required => 1);
5 has AwsIotSqlVersion => (is => 'ro', isa => 'Str', request_name => 'awsIotSqlVersion', traits => ['NameInRequest']);
6 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
7 has ErrorAction => (is => 'ro', isa => 'Paws::IoT::Action', request_name => 'errorAction', traits => ['NameInRequest']);
8 has RuleDisabled => (is => 'ro', isa => 'Bool', request_name => 'ruleDisabled', traits => ['NameInRequest']);
9 has Sql => (is => 'ro', isa => 'Str', request_name => 'sql', traits => ['NameInRequest'], required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::IoT::TopicRulePayload
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::IoT::TopicRulePayload object:
29  
30 $service_obj->Method(Att1 => { Actions => $value, ..., Sql => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::TopicRulePayload object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Actions
38  
39 =head1 DESCRIPTION
40  
41 Describes a rule.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> Actions => ArrayRef[L<Paws::IoT::Action>]
47  
48 The actions associated with the rule.
49  
50  
51 =head2 AwsIotSqlVersion => Str
52  
53 The version of the SQL rules engine to use when evaluating the rule.
54  
55  
56 =head2 Description => Str
57  
58 The description of the rule.
59  
60  
61 =head2 ErrorAction => L<Paws::IoT::Action>
62  
63 The action to take when an error occurs.
64  
65  
66 =head2 RuleDisabled => Bool
67  
68 Specifies whether the rule is disabled.
69  
70  
71 =head2 B<REQUIRED> Sql => Str
72  
73 The SQL statement used to query the topic. For more information, see
74 AWS IoT SQL Reference
75 (https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html)
76 in the I<AWS IoT Developer Guide>.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91