blib/lib/Paws/PerformanceInsights/ResponseResourceMetricKey.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::PerformanceInsights::ResponseResourceMetricKey;
3 use Moose;
4 has Dimensions => (is => 'ro', isa => 'Paws::PerformanceInsights::DimensionMap');
5 has Metric => (is => 'ro', isa => 'Str', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::PerformanceInsights::ResponseResourceMetricKey
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::PerformanceInsights::ResponseResourceMetricKey object:
25  
26 $service_obj->Method(Att1 => { Dimensions => $value, ..., Metric => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::PerformanceInsights::ResponseResourceMetricKey object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Dimensions
34  
35 =head1 DESCRIPTION
36  
37 An object describing a Performance Insights metric and one or more
38 dimensions for that metric.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 Dimensions => L<Paws::PerformanceInsights::DimensionMap>
44  
45 The valid dimensions for the metric.
46  
47  
48 =head2 B<REQUIRED> Metric => Str
49  
50 The name of a Performance Insights metric to be measured.
51  
52 Valid values for C<Metric> are:
53  
54 =over
55  
56 =item *
57  
58 C<db.load.avg> - a scaled representation of the number of active
59 sessions for the database engine.
60  
61 =item *
62  
63 C<db.sampledload.avg> - the raw number of active sessions for the
64 database engine.
65  
66 =back
67  
68 If the number of active sessions is less than an internal Performance
69 Insights threshold, C<db.load.avg> and C<db.sampledload.avg> are the
70 same value. If the number of active sessions is greater than the
71 internal threshold, Performance Insights samples the active sessions,
72 with C<db.load.avg> showing the scaled values, C<db.sampledload.avg>
73 showing the raw values, and C<db.sampledload.avg> less than
74 C<db.load.avg>. For most use cases, you can query C<db.load.avg> only.
75  
76  
77  
78 =head1 SEE ALSO
79  
80 This class forms part of L<Paws>, describing an object used in L<Paws::PerformanceInsights>
81  
82 =head1 BUGS and CONTRIBUTIONS
83  
84 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
85  
86 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
87  
88 =cut
89