blib/lib/Paws/IoT/ActiveViolation.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::ActiveViolation;
3 use Moose;
4 has Behavior => (is => 'ro', isa => 'Paws::IoT::Behavior', request_name => 'behavior', traits => ['NameInRequest']);
5 has LastViolationTime => (is => 'ro', isa => 'Str', request_name => 'lastViolationTime', traits => ['NameInRequest']);
6 has LastViolationValue => (is => 'ro', isa => 'Paws::IoT::MetricValue', request_name => 'lastViolationValue', traits => ['NameInRequest']);
7 has SecurityProfileName => (is => 'ro', isa => 'Str', request_name => 'securityProfileName', traits => ['NameInRequest']);
8 has ThingName => (is => 'ro', isa => 'Str', request_name => 'thingName', traits => ['NameInRequest']);
9 has ViolationEventAdditionalInfo => (is => 'ro', isa => 'Paws::IoT::ViolationEventAdditionalInfo', request_name => 'violationEventAdditionalInfo', traits => ['NameInRequest']);
10 has ViolationId => (is => 'ro', isa => 'Str', request_name => 'violationId', traits => ['NameInRequest']);
11 has ViolationStartTime => (is => 'ro', isa => 'Str', request_name => 'violationStartTime', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::IoT::ActiveViolation
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::ActiveViolation object:
31  
32 $service_obj->Method(Att1 => { Behavior => $value, ..., ViolationStartTime => $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::ActiveViolation object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Behavior
40  
41 =head1 DESCRIPTION
42  
43 Information about an active Device Defender security profile behavior
44 violation.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Behavior => L<Paws::IoT::Behavior>
50  
51 The behavior that is being violated.
52  
53  
54 =head2 LastViolationTime => Str
55  
56 The time the most recent violation occurred.
57  
58  
59 =head2 LastViolationValue => L<Paws::IoT::MetricValue>
60  
61 The value of the metric (the measurement) that caused the most recent
62 violation.
63  
64  
65 =head2 SecurityProfileName => Str
66  
67 The security profile with the behavior is in violation.
68  
69  
70 =head2 ThingName => Str
71  
72 The name of the thing responsible for the active violation.
73  
74  
75 =head2 ViolationEventAdditionalInfo => L<Paws::IoT::ViolationEventAdditionalInfo>
76  
77 The details of a violation event.
78  
79  
80 =head2 ViolationId => Str
81  
82 The ID of the active violation.
83  
84  
85 =head2 ViolationStartTime => Str
86  
87 The time the violation started.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102