libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatch.Types.AlarmHistoryItem

Description

 
Synopsis

Documentation

data AlarmHistoryItem Source #

Represents the history of a specific alarm.

See: newAlarmHistoryItem smart constructor.

Constructors

AlarmHistoryItem' 

Fields

Instances

Instances details
Eq AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Read AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Show AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Generic AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Associated Types

type Rep AlarmHistoryItem :: Type -> Type #

NFData AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Methods

rnf :: AlarmHistoryItem -> () #

Hashable AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

FromXML AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

type Rep AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

type Rep AlarmHistoryItem = D1 ('MetaData "AlarmHistoryItem" "Amazonka.CloudWatch.Types.AlarmHistoryItem" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "AlarmHistoryItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "historyItemType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HistoryItemType)) :*: S1 ('MetaSel ('Just "historyData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "alarmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmType)) :*: (S1 ('MetaSel ('Just "historySummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newAlarmHistoryItem :: AlarmHistoryItem Source #

Create a value of AlarmHistoryItem with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:alarmName:AlarmHistoryItem', alarmHistoryItem_alarmName - The descriptive name for the alarm.

$sel:historyItemType:AlarmHistoryItem', alarmHistoryItem_historyItemType - The type of alarm history item.

$sel:historyData:AlarmHistoryItem', alarmHistoryItem_historyData - Data about the alarm, in JSON format.

$sel:alarmType:AlarmHistoryItem', alarmHistoryItem_alarmType - The type of alarm, either metric alarm or composite alarm.

$sel:historySummary:AlarmHistoryItem', alarmHistoryItem_historySummary - A summary of the alarm history, in text format.

$sel:timestamp:AlarmHistoryItem', alarmHistoryItem_timestamp - The time stamp for the alarm history item.

alarmHistoryItem_alarmName :: Lens' AlarmHistoryItem (Maybe Text) Source #

The descriptive name for the alarm.

alarmHistoryItem_historyData :: Lens' AlarmHistoryItem (Maybe Text) Source #

Data about the alarm, in JSON format.

alarmHistoryItem_alarmType :: Lens' AlarmHistoryItem (Maybe AlarmType) Source #

The type of alarm, either metric alarm or composite alarm.

alarmHistoryItem_historySummary :: Lens' AlarmHistoryItem (Maybe Text) Source #

A summary of the alarm history, in text format.

alarmHistoryItem_timestamp :: Lens' AlarmHistoryItem (Maybe UTCTime) Source #

The time stamp for the alarm history item.