blib/lib/Paws/IoTEvents/AnalysisResult.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoTEvents::AnalysisResult;
3 use Moose;
4 has Level => (is => 'ro', isa => 'Str', request_name => 'level', traits => ['NameInRequest']);
5 has Locations => (is => 'ro', isa => 'ArrayRef[Paws::IoTEvents::AnalysisResultLocation]', request_name => 'locations', traits => ['NameInRequest']);
6 has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
7 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IoTEvents::AnalysisResult
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::IoTEvents::AnalysisResult object:
27  
28 $service_obj->Method(Att1 => { Level => $value, ..., Type => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEvents::AnalysisResult object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Level
36  
37 =head1 DESCRIPTION
38  
39 Contains the result of the analysis.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 Level => Str
45  
46 The severity level of the analysis result. Based on the severity level,
47 analysis results fall into three general categories:
48  
49 =over
50  
51 =item *
52  
53 C<INFO> - An information result tells you about a significant field in
54 your detector model. This type of result usually doesn't require
55 immediate action.
56  
57 =item *
58  
59 C<WARNING> - A warning result draws special attention to fields that
60 might cause issues for your detector model. We recommend that you
61 review warnings and take necessary actions before you use your detector
62 model in production environments. Otherwise, the detector model might
63 not work as expected.
64  
65 =item *
66  
67 C<ERROR> - An error result notifies you about a problem found in your
68 detector model. You must fix all errors before you can publish your
69 detector model.
70  
71 =back
72  
73  
74  
75 =head2 Locations => ArrayRef[L<Paws::IoTEvents::AnalysisResultLocation>]
76  
77 Contains one or more locations that you can use to locate the fields in
78 your detector model that the analysis result references.
79  
80  
81 =head2 Message => Str
82  
83 Contains additional information about the analysis result.
84  
85  
86 =head2 Type => Str
87  
88 The type of the analysis result. Analyses fall into the following types
89 based on the validators used to generate the analysis result:
90  
91 =over
92  
93 =item *
94  
95 C<supported-actions> - You must specify AWS IoT Events supported
96 actions that work with other AWS services in a supported AWS Region.
97  
98 =item *
99  
100 C<service-limits> - Resources or API operations can't exceed service
101 quotas (also known as limits). Update your detector model or request a
102 quota increase.
103  
104 =item *
105  
106 C<structure> - The detector model must follow a structure that AWS IoT
107 Events supports.
108  
109 =item *
110  
111 C<expression-syntax> - Your expression must follow the required syntax.
112  
113 =item *
114  
115 C<data-type> - Data types referenced in the detector model must be
116 compatible.
117  
118 =item *
119  
120 C<referenced-data> - You must define the data referenced in your
121 detector model before you can use the data.
122  
123 =item *
124  
125 C<referenced-resource> - Resources that the detector model uses must be
126 available.
127  
128 =back
129  
130 For more information, see Running detector model analyses
131 (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html)
132 in the I<AWS IoT Events Developer Guide>.
133  
134  
135  
136 =head1 SEE ALSO
137  
138 This class forms part of L<Paws>, describing an object used in L<Paws::IoTEvents>
139  
140 =head1 BUGS and CONTRIBUTIONS
141  
142 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
143  
144 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
145  
146 =cut
147