Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data MonitoringAlertSummary = MonitoringAlertSummary' {}
- newMonitoringAlertSummary :: Text -> UTCTime -> UTCTime -> MonitoringAlertStatus -> Natural -> Natural -> MonitoringAlertActions -> MonitoringAlertSummary
- monitoringAlertSummary_monitoringAlertName :: Lens' MonitoringAlertSummary Text
- monitoringAlertSummary_creationTime :: Lens' MonitoringAlertSummary UTCTime
- monitoringAlertSummary_lastModifiedTime :: Lens' MonitoringAlertSummary UTCTime
- monitoringAlertSummary_alertStatus :: Lens' MonitoringAlertSummary MonitoringAlertStatus
- monitoringAlertSummary_datapointsToAlert :: Lens' MonitoringAlertSummary Natural
- monitoringAlertSummary_evaluationPeriod :: Lens' MonitoringAlertSummary Natural
- monitoringAlertSummary_actions :: Lens' MonitoringAlertSummary MonitoringAlertActions
Documentation
data MonitoringAlertSummary Source #
Provides summary information about a monitor alert.
See: newMonitoringAlertSummary
smart constructor.
MonitoringAlertSummary' | |
|
Instances
newMonitoringAlertSummary Source #
:: Text | |
-> UTCTime | |
-> UTCTime | |
-> MonitoringAlertStatus | |
-> Natural | |
-> Natural | |
-> MonitoringAlertActions | |
-> MonitoringAlertSummary |
Create a value of MonitoringAlertSummary
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:monitoringAlertName:MonitoringAlertSummary'
, monitoringAlertSummary_monitoringAlertName
- The name of a monitoring alert.
$sel:creationTime:MonitoringAlertSummary'
, monitoringAlertSummary_creationTime
- A timestamp that indicates when a monitor alert was created.
$sel:lastModifiedTime:MonitoringAlertSummary'
, monitoringAlertSummary_lastModifiedTime
- A timestamp that indicates when a monitor alert was last updated.
$sel:alertStatus:MonitoringAlertSummary'
, monitoringAlertSummary_alertStatus
- The current status of an alert.
$sel:datapointsToAlert:MonitoringAlertSummary'
, monitoringAlertSummary_datapointsToAlert
- Within EvaluationPeriod
, how many execution failures will raise an
alert.
$sel:evaluationPeriod:MonitoringAlertSummary'
, monitoringAlertSummary_evaluationPeriod
- The number of most recent monitoring executions to consider when
evaluating alert status.
$sel:actions:MonitoringAlertSummary'
, monitoringAlertSummary_actions
- A list of alert actions taken in response to an alert going into
InAlert
status.
monitoringAlertSummary_monitoringAlertName :: Lens' MonitoringAlertSummary Text Source #
The name of a monitoring alert.
monitoringAlertSummary_creationTime :: Lens' MonitoringAlertSummary UTCTime Source #
A timestamp that indicates when a monitor alert was created.
monitoringAlertSummary_lastModifiedTime :: Lens' MonitoringAlertSummary UTCTime Source #
A timestamp that indicates when a monitor alert was last updated.
monitoringAlertSummary_alertStatus :: Lens' MonitoringAlertSummary MonitoringAlertStatus Source #
The current status of an alert.
monitoringAlertSummary_datapointsToAlert :: Lens' MonitoringAlertSummary Natural Source #
Within EvaluationPeriod
, how many execution failures will raise an
alert.
monitoringAlertSummary_evaluationPeriod :: Lens' MonitoringAlertSummary Natural Source #
The number of most recent monitoring executions to consider when evaluating alert status.
monitoringAlertSummary_actions :: Lens' MonitoringAlertSummary MonitoringAlertActions Source #
A list of alert actions taken in response to an alert going into
InAlert
status.