Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data DescribeAlarmHistory
- describeAlarmHistory :: DescribeAlarmHistory
- dahAlarmName :: Lens' DescribeAlarmHistory (Maybe Text)
- dahEndDate :: Lens' DescribeAlarmHistory (Maybe UTCTime)
- dahHistoryItemType :: Lens' DescribeAlarmHistory (Maybe HistoryItemType)
- dahMaxRecords :: Lens' DescribeAlarmHistory (Maybe Natural)
- dahNextToken :: Lens' DescribeAlarmHistory (Maybe Text)
- dahStartDate :: Lens' DescribeAlarmHistory (Maybe UTCTime)
- data DescribeAlarmHistoryResponse
- describeAlarmHistoryResponse :: DescribeAlarmHistoryResponse
- dahrAlarmHistoryItems :: Lens' DescribeAlarmHistoryResponse [AlarmHistoryItem]
- dahrNextToken :: Lens' DescribeAlarmHistoryResponse (Maybe Text)
Request
data DescribeAlarmHistory Source
Request constructor
describeAlarmHistory :: DescribeAlarmHistory Source
DescribeAlarmHistory
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dahAlarmName :: Lens' DescribeAlarmHistory (Maybe Text) Source
The name of the alarm.
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
describeAlarmHistoryResponse :: DescribeAlarmHistoryResponse Source
DescribeAlarmHistoryResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
dahrAlarmHistoryItems :: Lens' DescribeAlarmHistoryResponse [AlarmHistoryItem] Source
A list of alarm histories in JSON format.
dahrNextToken :: Lens' DescribeAlarmHistoryResponse (Maybe Text) Source
A string that marks the start of the next batch of returned results.