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 Anomaly = Anomaly' {}
- newAnomaly :: Text -> AnomalyScore -> Impact -> Text -> Anomaly
- anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text)
- anomaly_dimensionValue :: Lens' Anomaly (Maybe Text)
- anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause])
- anomaly_anomalyEndDate :: Lens' Anomaly (Maybe Text)
- anomaly_feedback :: Lens' Anomaly (Maybe AnomalyFeedbackType)
- anomaly_anomalyId :: Lens' Anomaly Text
- anomaly_anomalyScore :: Lens' Anomaly AnomalyScore
- anomaly_impact :: Lens' Anomaly Impact
- anomaly_monitorArn :: Lens' Anomaly Text
Documentation
An unusual cost pattern. This consists of the detailed metadata and the current status of the anomaly object.
See: newAnomaly
smart constructor.
Anomaly' | |
|
Instances
:: Text | |
-> AnomalyScore | |
-> Impact | |
-> Text | |
-> Anomaly |
Create a value of Anomaly
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:anomalyStartDate:Anomaly'
, anomaly_anomalyStartDate
- The first day the anomaly is detected.
$sel:dimensionValue:Anomaly'
, anomaly_dimensionValue
- The dimension for the anomaly (for example, an Amazon Web Services
service in a service monitor).
$sel:rootCauses:Anomaly'
, anomaly_rootCauses
- The list of identified root causes for the anomaly.
$sel:anomalyEndDate:Anomaly'
, anomaly_anomalyEndDate
- The last day the anomaly is detected.
$sel:feedback:Anomaly'
, anomaly_feedback
- The feedback value.
$sel:anomalyId:Anomaly'
, anomaly_anomalyId
- The unique identifier for the anomaly.
$sel:anomalyScore:Anomaly'
, anomaly_anomalyScore
- The latest and maximum score for the anomaly.
$sel:impact:Anomaly'
, anomaly_impact
- The dollar impact for the anomaly.
$sel:monitorArn:Anomaly'
, anomaly_monitorArn
- The Amazon Resource Name (ARN) for the cost monitor that generated this
anomaly.
anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text) Source #
The first day the anomaly is detected.
anomaly_dimensionValue :: Lens' Anomaly (Maybe Text) Source #
The dimension for the anomaly (for example, an Amazon Web Services service in a service monitor).
anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause]) Source #
The list of identified root causes for the anomaly.
anomaly_feedback :: Lens' Anomaly (Maybe AnomalyFeedbackType) Source #
The feedback value.
anomaly_anomalyScore :: Lens' Anomaly AnomalyScore Source #
The latest and maximum score for the anomaly.