Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Alert = Alert' {}
- newAlert :: Alert
- alert_creationTime :: Lens' Alert (Maybe UTCTime)
- alert_action :: Lens' Alert (Maybe Action)
- alert_anomalyDetectorArn :: Lens' Alert (Maybe Text)
- alert_alertName :: Lens' Alert (Maybe Text)
- alert_alertSensitivityThreshold :: Lens' Alert (Maybe Natural)
- alert_alertStatus :: Lens' Alert (Maybe AlertStatus)
- alert_alertDescription :: Lens' Alert (Maybe Text)
- alert_alertArn :: Lens' Alert (Maybe Text)
- alert_alertType :: Lens' Alert (Maybe AlertType)
- alert_lastModificationTime :: Lens' Alert (Maybe UTCTime)
Documentation
A configuration for Amazon SNS-integrated notifications.
See: newAlert
smart constructor.
Alert' | |
|
Instances
Create a value of Alert
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:creationTime:Alert'
, alert_creationTime
- The time at which the alert was created.
$sel:action:Alert'
, alert_action
- Action that will be triggered when there is an alert.
$sel:anomalyDetectorArn:Alert'
, alert_anomalyDetectorArn
- The ARN of the detector to which the alert is attached.
$sel:alertName:Alert'
, alert_alertName
- The name of the alert.
$sel:alertSensitivityThreshold:Alert'
, alert_alertSensitivityThreshold
- The minimum severity for an anomaly to trigger the alert.
$sel:alertStatus:Alert'
, alert_alertStatus
- The status of the alert.
$sel:alertDescription:Alert'
, alert_alertDescription
- A description of the alert.
$sel:alertArn:Alert'
, alert_alertArn
- The ARN of the alert.
$sel:alertType:Alert'
, alert_alertType
- The type of the alert.
$sel:lastModificationTime:Alert'
, alert_lastModificationTime
- The time at which the alert was last modified.
alert_action :: Lens' Alert (Maybe Action) Source #
Action that will be triggered when there is an alert.
alert_anomalyDetectorArn :: Lens' Alert (Maybe Text) Source #
The ARN of the detector to which the alert is attached.
alert_alertSensitivityThreshold :: Lens' Alert (Maybe Natural) Source #
The minimum severity for an anomaly to trigger the alert.
alert_alertStatus :: Lens' Alert (Maybe AlertStatus) Source #
The status of the alert.