amazonka-cloudwatch-0.3.0: Amazon CloudWatch SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatch.DescribeAlarmHistory

Contents

Description

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.

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

Synopsis

Request

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

Response constructor

Response lenses

dahrNextToken :: Lens' DescribeAlarmHistoryResponse (Maybe Text) Source

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