blib/lib/Paws/ApplicationInsights/Observation.pm untested

filter: Statementstmt 0.0% 0 / 48 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 49 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ApplicationInsights::Observation;
3 use Moose;
4 has CloudWatchEventDetailType => (is => 'ro', isa => 'Str');
5 has CloudWatchEventId => (is => 'ro', isa => 'Str');
6 has CloudWatchEventSource => (is => 'ro', isa => 'Str');
7 has CodeDeployApplication => (is => 'ro', isa => 'Str');
8 has CodeDeployDeploymentGroup => (is => 'ro', isa => 'Str');
9 has CodeDeployDeploymentId => (is => 'ro', isa => 'Str');
10 has CodeDeployInstanceGroupId => (is => 'ro', isa => 'Str');
11 has CodeDeployState => (is => 'ro', isa => 'Str');
12 has EbsCause => (is => 'ro', isa => 'Str');
13 has EbsEvent => (is => 'ro', isa => 'Str');
14 has EbsRequestId => (is => 'ro', isa => 'Str');
15 has EbsResult => (is => 'ro', isa => 'Str');
16 has Ec2State => (is => 'ro', isa => 'Str');
17 has EndTime => (is => 'ro', isa => 'Str');
18 has HealthEventArn => (is => 'ro', isa => 'Str');
19 has HealthEventDescription => (is => 'ro', isa => 'Str');
20 has HealthEventTypeCategory => (is => 'ro', isa => 'Str');
21 has HealthEventTypeCode => (is => 'ro', isa => 'Str');
22 has HealthService => (is => 'ro', isa => 'Str');
23 has Id => (is => 'ro', isa => 'Str');
24 has LineTime => (is => 'ro', isa => 'Str');
25 has LogFilter => (is => 'ro', isa => 'Str');
26 has LogGroup => (is => 'ro', isa => 'Str');
27 has LogText => (is => 'ro', isa => 'Str');
28 has MetricName => (is => 'ro', isa => 'Str');
29 has MetricNamespace => (is => 'ro', isa => 'Str');
30 has RdsEventCategories => (is => 'ro', isa => 'Str');
31 has RdsEventMessage => (is => 'ro', isa => 'Str');
32 has S3EventName => (is => 'ro', isa => 'Str');
33 has SourceARN => (is => 'ro', isa => 'Str');
34 has SourceType => (is => 'ro', isa => 'Str');
35 has StartTime => (is => 'ro', isa => 'Str');
36 has StatesArn => (is => 'ro', isa => 'Str');
37 has StatesExecutionArn => (is => 'ro', isa => 'Str');
38 has StatesInput => (is => 'ro', isa => 'Str');
39 has StatesStatus => (is => 'ro', isa => 'Str');
40 has Unit => (is => 'ro', isa => 'Str');
41 has Value => (is => 'ro', isa => 'Num');
42 has XRayErrorPercent => (is => 'ro', isa => 'Int');
43 has XRayFaultPercent => (is => 'ro', isa => 'Int');
44 has XRayNodeName => (is => 'ro', isa => 'Str');
45 has XRayNodeType => (is => 'ro', isa => 'Str');
46 has XRayRequestAverageLatency => (is => 'ro', isa => 'Int');
47 has XRayRequestCount => (is => 'ro', isa => 'Int');
48 has XRayThrottlePercent => (is => 'ro', isa => 'Int');
49  
50 1;
51  
52 ### main pod documentation begin ###
53  
54 =head1 NAME
55  
56 Paws::ApplicationInsights::Observation
57  
58 =head1 USAGE
59  
60 This class represents one of two things:
61  
62 =head3 Arguments in a call to a service
63  
64 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
65 Each attribute should be used as a named argument in the calls that expect this type of object.
66  
67 As an example, if Att1 is expected to be a Paws::ApplicationInsights::Observation object:
68  
69 $service_obj->Method(Att1 => { CloudWatchEventDetailType => $value, ..., XRayThrottlePercent => $value });
70  
71 =head3 Results returned from an API call
72  
73 Use accessors for each attribute. If Att1 is expected to be an Paws::ApplicationInsights::Observation object:
74  
75 $result = $service_obj->Method(...);
76 $result->Att1->CloudWatchEventDetailType
77  
78 =head1 DESCRIPTION
79  
80 Describes an anomaly or error with the application.
81  
82 =head1 ATTRIBUTES
83  
84  
85 =head2 CloudWatchEventDetailType => Str
86  
87 The detail type of the CloudWatch Event-based observation, for example,
88 C<EC2 Instance State-change Notification>.
89  
90  
91 =head2 CloudWatchEventId => Str
92  
93 The ID of the CloudWatch Event-based observation related to the
94 detected problem.
95  
96  
97 =head2 CloudWatchEventSource => Str
98  
99 The source of the CloudWatch Event.
100  
101  
102 =head2 CodeDeployApplication => Str
103  
104 The CodeDeploy application to which the deployment belongs.
105  
106  
107 =head2 CodeDeployDeploymentGroup => Str
108  
109 The deployment group to which the CodeDeploy deployment belongs.
110  
111  
112 =head2 CodeDeployDeploymentId => Str
113  
114 The deployment ID of the CodeDeploy-based observation related to the
115 detected problem.
116  
117  
118 =head2 CodeDeployInstanceGroupId => Str
119  
120 The instance group to which the CodeDeploy instance belongs.
121  
122  
123 =head2 CodeDeployState => Str
124  
125 The status of the CodeDeploy deployment, for example C<SUCCESS> or C<
126 FAILURE>.
127  
128  
129 =head2 EbsCause => Str
130  
131 The cause of an EBS CloudWatch event.
132  
133  
134 =head2 EbsEvent => Str
135  
136 The type of EBS CloudWatch event, such as C<createVolume>,
137 C<deleteVolume> or C<attachVolume>.
138  
139  
140 =head2 EbsRequestId => Str
141  
142 The request ID of an EBS CloudWatch event.
143  
144  
145 =head2 EbsResult => Str
146  
147 The result of an EBS CloudWatch event, such as C<failed> or
148 C<succeeded>.
149  
150  
151 =head2 Ec2State => Str
152  
153 The state of the instance, such as C<STOPPING> or C<TERMINATING>.
154  
155  
156 =head2 EndTime => Str
157  
158 The time when the observation ended, in epoch seconds.
159  
160  
161 =head2 HealthEventArn => Str
162  
163 The Amazon Resource Name (ARN) of the AWS Health Event-based
164 observation.
165  
166  
167 =head2 HealthEventDescription => Str
168  
169 The description of the AWS Health event provided by the service, such
170 as Amazon EC2.
171  
172  
173 =head2 HealthEventTypeCategory => Str
174  
175 The category of the AWS Health event, such as C<issue>.
176  
177  
178 =head2 HealthEventTypeCode => Str
179  
180 The type of the AWS Health event, for example,
181 C<AWS_EC2_POWER_CONNECTIVITY_ISSUE>.
182  
183  
184 =head2 HealthService => Str
185  
186 The service to which the AWS Health Event belongs, such as EC2.
187  
188  
189 =head2 Id => Str
190  
191 The ID of the observation type.
192  
193  
194 =head2 LineTime => Str
195  
196 The timestamp in the CloudWatch Logs that specifies when the matched
197 line occurred.
198  
199  
200 =head2 LogFilter => Str
201  
202 The log filter of the observation.
203  
204  
205 =head2 LogGroup => Str
206  
207 The log group name.
208  
209  
210 =head2 LogText => Str
211  
212 The log text of the observation.
213  
214  
215 =head2 MetricName => Str
216  
217 The name of the observation metric.
218  
219  
220 =head2 MetricNamespace => Str
221  
222 The namespace of the observation metric.
223  
224  
225 =head2 RdsEventCategories => Str
226  
227 The category of an RDS event.
228  
229  
230 =head2 RdsEventMessage => Str
231  
232 The message of an RDS event.
233  
234  
235 =head2 S3EventName => Str
236  
237 The name of the S3 CloudWatch Event-based observation.
238  
239  
240 =head2 SourceARN => Str
241  
242 The source resource ARN of the observation.
243  
244  
245 =head2 SourceType => Str
246  
247 The source type of the observation.
248  
249  
250 =head2 StartTime => Str
251  
252 The time when the observation was first detected, in epoch seconds.
253  
254  
255 =head2 StatesArn => Str
256  
257 The Amazon Resource Name (ARN) of the step function-based observation.
258  
259  
260 =head2 StatesExecutionArn => Str
261  
262 The Amazon Resource Name (ARN) of the step function execution-based
263 observation.
264  
265  
266 =head2 StatesInput => Str
267  
268 The input to the step function-based observation.
269  
270  
271 =head2 StatesStatus => Str
272  
273 The status of the step function-related observation.
274  
275  
276 =head2 Unit => Str
277  
278 The unit of the source observation metric.
279  
280  
281 =head2 Value => Num
282  
283 The value of the source observation metric.
284  
285  
286 =head2 XRayErrorPercent => Int
287  
288 The X-Ray request error percentage for this node.
289  
290  
291 =head2 XRayFaultPercent => Int
292  
293 The X-Ray request fault percentage for this node.
294  
295  
296 =head2 XRayNodeName => Str
297  
298 The name of the X-Ray node.
299  
300  
301 =head2 XRayNodeType => Str
302  
303 The type of the X-Ray node.
304  
305  
306 =head2 XRayRequestAverageLatency => Int
307  
308 The X-Ray node request average latency for this node.
309  
310  
311 =head2 XRayRequestCount => Int
312  
313 The X-Ray request count for this node.
314  
315  
316 =head2 XRayThrottlePercent => Int
317  
318 The X-Ray request throttle percentage for this node.
319  
320  
321  
322 =head1 SEE ALSO
323  
324 This class forms part of L<Paws>, describing an object used in L<Paws::ApplicationInsights>
325  
326 =head1 BUGS and CONTRIBUTIONS
327  
328 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
329  
330 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
331  
332 =cut
333