amazonka-cloudwatch-0.1.2: Amazon CloudWatch SDK.

Safe HaskellNone




Retrieves history for the specified alarm. Filter alarms by date range or item type. If an alarm name is not specified, Amazon CloudWatch returns histories for all of the owner's alarms.



Request constructor

Request lenses

dahEndDate :: Lens' DescribeAlarmHistory (Maybe UTCTime) Source

The ending date to retrieve alarm history.

dahHistoryItemType :: Lens' DescribeAlarmHistory (Maybe HistoryItemType) Source

The type of alarm histories to retrieve.

dahMaxRecords :: Lens' DescribeAlarmHistory (Maybe Natural) Source

The maximum number of alarm history records to retrieve.

dahNextToken :: Lens' DescribeAlarmHistory (Maybe Text) Source

The token returned by a previous call to indicate that there is more data available.

dahStartDate :: Lens' DescribeAlarmHistory (Maybe UTCTime) Source

The starting date to retrieve alarm history.


Response constructor

Response lenses

dahrNextToken :: Lens' DescribeAlarmHistoryResponse (Maybe Text) Source

A string that marks the start of the next batch of returned results.