| 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 |
Amazonka.CostExplorer.Types.Anomaly
Description
Synopsis
- data Anomaly = Anomaly' {}
- newAnomaly :: Text -> AnomalyScore -> Impact -> Text -> Anomaly
- anomaly_anomalyEndDate :: Lens' Anomaly (Maybe Text)
- anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text)
- anomaly_dimensionValue :: Lens' Anomaly (Maybe Text)
- anomaly_feedback :: Lens' Anomaly (Maybe AnomalyFeedbackType)
- anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause])
- 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.
Constructors
| Anomaly' | |
Fields
| |
Instances
Arguments
| :: 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:anomalyEndDate:Anomaly', anomaly_anomalyEndDate - The last day the anomaly is detected.
$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 Service in a
service monitor).
$sel:feedback:Anomaly', anomaly_feedback - The feedback value.
$sel:rootCauses:Anomaly', anomaly_rootCauses - The list of identified root causes for the anomaly.
$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 Service in a service monitor).
anomaly_feedback :: Lens' Anomaly (Maybe AnomalyFeedbackType) Source #
The feedback value.
anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause]) Source #
The list of identified root causes for the anomaly.
anomaly_anomalyScore :: Lens' Anomaly AnomalyScore Source #
The latest and maximum score for the anomaly.