amazonka-cloudwatch-1.3.7: Amazon CloudWatch SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for DescribeAlarmsForMetric.

Synopsis

Creating a Request

describeAlarmsForMetric Source

Creates a value of DescribeAlarmsForMetric with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dafmPeriod :: Lens' DescribeAlarmsForMetric (Maybe Natural) Source

The period in seconds over which the statistic is applied.

dafmDimensions :: Lens' DescribeAlarmsForMetric [Dimension] Source

The list of dimensions associated with the metric.

dafmNamespace :: Lens' DescribeAlarmsForMetric Text Source

The namespace of the metric.

Destructuring the Response

describeAlarmsForMetricResponse Source

Creates a value of DescribeAlarmsForMetricResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dafmrsMetricAlarms :: Lens' DescribeAlarmsForMetricResponse [MetricAlarm] Source

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