Paws::CloudWatch::Metric
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CloudWatch::Metric object:
$service_obj->Method(Att1 => { Dimensions => $value, ..., Namespace => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::Metric object:
$result = $service_obj->Method(...); $result->Att1->Dimensions
The Metric data type contains information about a specific metric. If you call ListMetrics, Amazon CloudWatch returns information contained by this data type.
Metric
The example in the Examples section publishes two metrics named buffers and latency. Both metrics are in the examples namespace. Both metrics have two dimensions, InstanceID and InstanceType.
A list of dimensions associated with the metric.
The name of the metric.
The namespace of the metric.
This class forms part of Paws, describing an object used in Paws::CloudWatch
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.