File Coverage

blib/lib/Paws/CloudWatch/DescribeAlarmHistory.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CloudWatch::DescribeAlarmHistory;
3 1     1   431 use Moose;
  1     1   2  
  1         7  
  1         400  
  1         2  
  1         7  
4             has AlarmName => (is => 'ro', isa => 'Str');
5             has EndDate => (is => 'ro', isa => 'Str');
6             has HistoryItemType => (is => 'ro', isa => 'Str');
7             has MaxRecords => (is => 'ro', isa => 'Int');
8             has NextToken => (is => 'ro', isa => 'Str');
9             has StartDate => (is => 'ro', isa => 'Str');
10              
11 1     1   5690 use MooseX::ClassAttribute;
  1     1   2  
  1         7  
  1         5872  
  1         3  
  1         7  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeAlarmHistory');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatch::DescribeAlarmHistoryOutput');
15             class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeAlarmHistoryResult');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::CloudWatch::DescribeAlarmHistory - Arguments for method DescribeAlarmHistory on Paws::CloudWatch
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method DescribeAlarmHistory on the
27             Amazon CloudWatch service. Use the attributes of this class
28             as arguments to method DescribeAlarmHistory.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAlarmHistory.
31              
32             As an example:
33              
34             $service_obj->DescribeAlarmHistory(Att1 => $value1, Att2 => $value2, ...);
35              
36             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 AlarmName => Str
42              
43             The name of the alarm.
44              
45              
46              
47             =head2 EndDate => Str
48              
49             The ending date to retrieve alarm history.
50              
51              
52              
53             =head2 HistoryItemType => Str
54              
55             The type of alarm histories to retrieve.
56              
57             Valid values are: C<"ConfigurationUpdate">, C<"StateUpdate">, C<"Action">
58              
59             =head2 MaxRecords => Int
60              
61             The maximum number of alarm history records to retrieve.
62              
63              
64              
65             =head2 NextToken => Str
66              
67             The token returned by a previous call to indicate that there is more
68             data available.
69              
70              
71              
72             =head2 StartDate => Str
73              
74             The starting date to retrieve alarm history.
75              
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, documenting arguments for method DescribeAlarmHistory in L<Paws::CloudWatch>
82              
83             =head1 BUGS and CONTRIBUTIONS
84              
85             The source code is located here: https://github.com/pplu/aws-sdk-perl
86              
87             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
88              
89             =cut
90