NAME
Paws::CloudWatch::DescribeAlarmsForMetric - Arguments for method DescribeAlarmsForMetric on Paws::CloudWatch
DESCRIPTION
This class represents the parameters used for calling the method DescribeAlarmsForMetric on the Amazon CloudWatch service. Use the attributes of this class as arguments to method DescribeAlarmsForMetric.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAlarmsForMetric.
SYNOPSIS
my $monitoring = Paws->service('CloudWatch');
my $DescribeAlarmsForMetricOutput = $monitoring->DescribeAlarmsForMetric(
MetricName => 'MyMetricName',
Namespace => 'MyNamespace',
Dimensions => [
{
Name => 'MyDimensionName', # min: 1, max: 255
Value => 'MyDimensionValue', # min: 1, max: 255
},
...
], # OPTIONAL
ExtendedStatistic => 'MyExtendedStatistic', # OPTIONAL
Period => 1, # OPTIONAL
Statistic => 'SampleCount', # OPTIONAL
Unit => 'Seconds', # OPTIONAL
);
# Results:
my $MetricAlarms = $DescribeAlarmsForMetricOutput->MetricAlarms;
# Returns a L<Paws::CloudWatch::DescribeAlarmsForMetricOutput> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/monitoring/DescribeAlarmsForMetric
ATTRIBUTES
Dimensions => ArrayRef[Paws::CloudWatch::Dimension]
The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.
ExtendedStatistic => Str
The percentile statistic for the metric. Specify a value between p0.0 and p100.
REQUIRED MetricName => Str
The name of the metric.
REQUIRED Namespace => Str
The namespace of the metric.
Period => Int
The period, in seconds, over which the statistic is applied.
Statistic => Str
The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics
.
Valid values are: "SampleCount"
, "Average"
, "Sum"
, "Minimum"
, "Maximum"
Unit => Str
The unit for the metric.
Valid values are: "Seconds"
, "Microseconds"
, "Milliseconds"
, "Bytes"
, "Kilobytes"
, "Megabytes"
, "Gigabytes"
, "Terabytes"
, "Bits"
, "Kilobits"
, "Megabits"
, "Gigabits"
, "Terabits"
, "Percent"
, "Count"
, "Bytes/Second"
, "Kilobytes/Second"
, "Megabytes/Second"
, "Gigabytes/Second"
, "Terabytes/Second"
, "Bits/Second"
, "Kilobits/Second"
, "Megabits/Second"
, "Gigabits/Second"
, "Terabits/Second"
, "Count/Second"
, "None"
SEE ALSO
This class forms part of Paws, documenting arguments for method DescribeAlarmsForMetric in Paws::CloudWatch
BUGS and CONTRIBUTIONS
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