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 Alert = Alert' {
- action :: Maybe Action
- alertArn :: Maybe Text
- alertDescription :: Maybe Text
- alertFilters :: Maybe AlertFilters
- alertName :: Maybe Text
- alertSensitivityThreshold :: Maybe Natural
- alertStatus :: Maybe AlertStatus
- alertType :: Maybe AlertType
- anomalyDetectorArn :: Maybe Text
- creationTime :: Maybe POSIX
- lastModificationTime :: Maybe POSIX
- newAlert :: Alert
- alert_action :: Lens' Alert (Maybe Action)
- alert_alertArn :: Lens' Alert (Maybe Text)
- alert_alertDescription :: Lens' Alert (Maybe Text)
- alert_alertFilters :: Lens' Alert (Maybe AlertFilters)
- alert_alertName :: Lens' Alert (Maybe Text)
- alert_alertSensitivityThreshold :: Lens' Alert (Maybe Natural)
- alert_alertStatus :: Lens' Alert (Maybe AlertStatus)
- alert_alertType :: Lens' Alert (Maybe AlertType)
- alert_anomalyDetectorArn :: Lens' Alert (Maybe Text)
- alert_creationTime :: Lens' Alert (Maybe UTCTime)
- 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:action:Alert'
, alert_action
- Action that will be triggered when there is an alert.
$sel:alertArn:Alert'
, alert_alertArn
- The ARN of the alert.
$sel:alertDescription:Alert'
, alert_alertDescription
- A description of the alert.
$sel:alertFilters:Alert'
, alert_alertFilters
- The configuration of the alert filters, containing MetricList and
DimensionFilter.
$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:alertType:Alert'
, alert_alertType
- The type of the alert.
$sel:anomalyDetectorArn:Alert'
, alert_anomalyDetectorArn
- The ARN of the detector to which the alert is attached.
$sel:creationTime:Alert'
, alert_creationTime
- The time at which the alert was created.
$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_alertFilters :: Lens' Alert (Maybe AlertFilters) Source #
The configuration of the alert filters, containing MetricList and DimensionFilter.
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.