blib/lib/Paws/LookoutMetrics/Alert.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::LookoutMetrics::Alert;
3 use Moose;
4 has Action => (is => 'ro', isa => 'Paws::LookoutMetrics::Action');
5 has AlertArn => (is => 'ro', isa => 'Str');
6 has AlertDescription => (is => 'ro', isa => 'Str');
7 has AlertName => (is => 'ro', isa => 'Str');
8 has AlertSensitivityThreshold => (is => 'ro', isa => 'Int');
9 has AlertStatus => (is => 'ro', isa => 'Str');
10 has AlertType => (is => 'ro', isa => 'Str');
11 has AnomalyDetectorArn => (is => 'ro', isa => 'Str');
12 has CreationTime => (is => 'ro', isa => 'Str');
13 has LastModificationTime => (is => 'ro', isa => 'Str');
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::LookoutMetrics::Alert
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::LookoutMetrics::Alert object:
33  
34 $service_obj->Method(Att1 => { Action => $value, ..., LastModificationTime => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::LookoutMetrics::Alert object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->Action
42  
43 =head1 DESCRIPTION
44  
45 A configuration for Amazon SNS-integrated notifications.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 Action => L<Paws::LookoutMetrics::Action>
51  
52 Action that will be triggered when there is an alert.
53  
54  
55 =head2 AlertArn => Str
56  
57 The ARN of the alert.
58  
59  
60 =head2 AlertDescription => Str
61  
62 A description of the alert.
63  
64  
65 =head2 AlertName => Str
66  
67 The name of the alert.
68  
69  
70 =head2 AlertSensitivityThreshold => Int
71  
72 The minimum severity for an anomaly to trigger the alert.
73  
74  
75 =head2 AlertStatus => Str
76  
77 The status of the alert.
78  
79  
80 =head2 AlertType => Str
81  
82 The type of the alert.
83  
84  
85 =head2 AnomalyDetectorArn => Str
86  
87 The ARN of the detector to which the alert is attached.
88  
89  
90 =head2 CreationTime => Str
91  
92 The time at which the alert was created.
93  
94  
95 =head2 LastModificationTime => Str
96  
97 The time at which the alert was last modified.
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, describing an object used in L<Paws::LookoutMetrics>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112