blib/lib/Paws/CloudWatch/Metric.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/CloudWatch/ListMetricsOutput.pm ↑ Summary blib/lib/Paws/CloudWatch/MetricAlarm.pm »
1 # Generated by default/object.tt
2 package Paws::CloudWatch::Metric;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Dimensions => (is => 'ro', isa => 'ArrayRef[Paws::CloudWatch::Dimension]');
5 1 has MetricName => (is => 'ro', isa => 'Str');
6 1 has Namespace => (is => 'ro', isa => 'Str');
7  
8 1 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::CloudWatch::Metric
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::CloudWatch::Metric object:
26  
27 $service_obj->Method(Att1 => { Dimensions => $value, ..., Namespace => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::Metric object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Dimensions
35  
36 =head1 DESCRIPTION
37  
38 Represents a specific metric.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 Dimensions => ArrayRef[L<Paws::CloudWatch::Dimension>]
44  
45 The dimensions for the metric.
46  
47  
48 =head2 MetricName => Str
49  
50 The name of the metric. This is a required field.
51  
52  
53 =head2 Namespace => Str
54  
55 The namespace of the metric.
56  
57  
58  
59 =head1 SEE ALSO
60  
61 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatch>
62  
63 =head1 BUGS and CONTRIBUTIONS
64  
65 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
66  
67 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
68  
69 =cut
70  
« blib/lib/Paws/CloudWatch/ListMetricsOutput.pm ↑ Summary blib/lib/Paws/CloudWatch/MetricAlarm.pm »