Safe Haskell | None |
---|---|
Language | Haskell2010 |
Retrieves alarms with the specified names. If no name is specified, all alarms for the user are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action.
http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html
- data DescribeAlarms
- describeAlarms :: DescribeAlarms
- daActionPrefix :: Lens' DescribeAlarms (Maybe Text)
- daAlarmNamePrefix :: Lens' DescribeAlarms (Maybe Text)
- daAlarmNames :: Lens' DescribeAlarms [Text]
- daMaxRecords :: Lens' DescribeAlarms (Maybe Natural)
- daNextToken :: Lens' DescribeAlarms (Maybe Text)
- daStateValue :: Lens' DescribeAlarms (Maybe StateValue)
- data DescribeAlarmsResponse
- describeAlarmsResponse :: DescribeAlarmsResponse
- darMetricAlarms :: Lens' DescribeAlarmsResponse [MetricAlarm]
- darNextToken :: Lens' DescribeAlarmsResponse (Maybe Text)
Request
data DescribeAlarms Source
Request constructor
describeAlarms :: DescribeAlarms Source
DescribeAlarms
constructor.
The fields accessible through corresponding lenses are:
Request lenses
daActionPrefix :: Lens' DescribeAlarms (Maybe Text) Source
The action name prefix.
daAlarmNamePrefix :: Lens' DescribeAlarms (Maybe Text) Source
The alarm name prefix. AlarmNames
cannot be specified if this parameter is
specified.
daAlarmNames :: Lens' DescribeAlarms [Text] Source
A list of alarm names to retrieve information for.
daMaxRecords :: Lens' DescribeAlarms (Maybe Natural) Source
The maximum number of alarm descriptions to retrieve.
daNextToken :: Lens' DescribeAlarms (Maybe Text) Source
The token returned by a previous call to indicate that there is more data available.
daStateValue :: Lens' DescribeAlarms (Maybe StateValue) Source
The state value to be used in matching alarms.
Response
Response constructor
describeAlarmsResponse :: DescribeAlarmsResponse Source
DescribeAlarmsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
darMetricAlarms :: Lens' DescribeAlarmsResponse [MetricAlarm] Source
A list of information for the specified alarms.
darNextToken :: Lens' DescribeAlarmsResponse (Maybe Text) Source
A string that marks the start of the next batch of returned results.