libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics
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.LookoutMetrics.Types.Alert

Description

 
Synopsis

Documentation

data Alert Source #

A configuration for Amazon SNS-integrated notifications.

See: newAlert smart constructor.

Constructors

Alert' 

Fields

Instances

Instances details
Eq Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

Methods

(==) :: Alert -> Alert -> Bool #

(/=) :: Alert -> Alert -> Bool #

Read Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

Show Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

Methods

showsPrec :: Int -> Alert -> ShowS #

show :: Alert -> String #

showList :: [Alert] -> ShowS #

Generic Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

Associated Types

type Rep Alert :: Type -> Type #

Methods

from :: Alert -> Rep Alert x #

to :: Rep Alert x -> Alert #

NFData Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

Methods

rnf :: Alert -> () #

Hashable Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

Methods

hashWithSalt :: Int -> Alert -> Int #

hash :: Alert -> Int #

FromJSON Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

type Rep Alert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.Alert

newAlert :: Alert Source #

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_creationTime :: Lens' Alert (Maybe UTCTime) Source #

The time at which the alert was created.

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_alertName :: Lens' Alert (Maybe Text) Source #

The name of the alert.

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.

alert_alertDescription :: Lens' Alert (Maybe Text) Source #

A description of the alert.

alert_alertArn :: Lens' Alert (Maybe Text) Source #

The ARN of the alert.

alert_alertType :: Lens' Alert (Maybe AlertType) Source #

The type of the alert.

alert_lastModificationTime :: Lens' Alert (Maybe UTCTime) Source #

The time at which the alert was last modified.