amazonka-cloudwatch-0.2.2: Amazon CloudWatch SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatch.DescribeAlarmsForMetric

Contents

Description

Retrieves all alarms for a single metric. Specify a statistic, period, or unit to filter the set of alarms further.

http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarmsForMetric.html

Synopsis

Request

Request constructor

Request lenses

dafmDimensions :: Lens' DescribeAlarmsForMetric [Dimension] Source

The list of dimensions associated with the metric.

dafmNamespace :: Lens' DescribeAlarmsForMetric Text Source

The namespace of the metric.

dafmPeriod :: Lens' DescribeAlarmsForMetric (Maybe Natural) Source

The period in seconds over which the statistic is applied.

Response

Response constructor

Response lenses

dafmrMetricAlarms :: Lens' DescribeAlarmsForMetricResponse [MetricAlarm] Source

A list of information for each alarm with the specified metric.