File Coverage

blib/lib/Paws/CloudWatch/ListMetrics.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::ListMetrics;
3 1     1   327 use Moose;
  1     1   2  
  1         6  
  1         408  
  1         2  
  1         7  
4             has Dimensions => (is => 'ro', isa => 'ArrayRef[Paws::CloudWatch::DimensionFilter]');
5             has MetricName => (is => 'ro', isa => 'Str');
6             has Namespace => (is => 'ro', isa => 'Str');
7             has NextToken => (is => 'ro', isa => 'Str');
8              
9 1     1   5480 use MooseX::ClassAttribute;
  1     1   2  
  1         7  
  1         6019  
  1         3  
  1         6  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListMetrics');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatch::ListMetricsOutput');
13             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ListMetricsResult');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::CloudWatch::ListMetrics - Arguments for method ListMetrics on Paws::CloudWatch
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method ListMetrics on the
25             Amazon CloudWatch service. Use the attributes of this class
26             as arguments to method ListMetrics.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListMetrics.
29              
30             As an example:
31              
32             $service_obj->ListMetrics(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Dimensions => ArrayRef[L<Paws::CloudWatch::DimensionFilter>]
40              
41             The dimensions to filter against.
42              
43              
44              
45             =head2 MetricName => Str
46              
47             The name of the metric to filter against.
48              
49              
50              
51             =head2 Namespace => Str
52              
53             The namespace to filter against.
54              
55              
56              
57             =head2 NextToken => Str
58              
59             The token returned by a previous call to indicate that there is more
60             data available.
61              
62              
63              
64              
65             =head1 SEE ALSO
66              
67             This class forms part of L<Paws>, documenting arguments for method ListMetrics in L<Paws::CloudWatch>
68              
69             =head1 BUGS and CONTRIBUTIONS
70              
71             The source code is located here: https://github.com/pplu/aws-sdk-perl
72              
73             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
74              
75             =cut
76