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 AnomalyDetectorConfiguration = AnomalyDetectorConfiguration' {}
- newAnomalyDetectorConfiguration :: AnomalyDetectorConfiguration
- anomalyDetectorConfiguration_metricTimezone :: Lens' AnomalyDetectorConfiguration (Maybe Text)
- anomalyDetectorConfiguration_excludedTimeRanges :: Lens' AnomalyDetectorConfiguration (Maybe [Range])
Documentation
data AnomalyDetectorConfiguration Source #
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model and the time zone to use for the metric.
See: newAnomalyDetectorConfiguration
smart constructor.
AnomalyDetectorConfiguration' | |
|
Instances
newAnomalyDetectorConfiguration :: AnomalyDetectorConfiguration Source #
Create a value of AnomalyDetectorConfiguration
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:metricTimezone:AnomalyDetectorConfiguration'
, anomalyDetectorConfiguration_metricTimezone
- The time zone to use for the metric. This is useful to enable the model
to automatically account for daylight savings time changes if the metric
is sensitive to such time changes.
To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database.
$sel:excludedTimeRanges:AnomalyDetectorConfiguration'
, anomalyDetectorConfiguration_excludedTimeRanges
- An array of time ranges to exclude from use when the anomaly detection
model is trained. Use this to make sure that events that could cause
unusual values for the metric, such as deployments, aren't used when
CloudWatch creates the model.
anomalyDetectorConfiguration_metricTimezone :: Lens' AnomalyDetectorConfiguration (Maybe Text) Source #
The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.
To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database.
anomalyDetectorConfiguration_excludedTimeRanges :: Lens' AnomalyDetectorConfiguration (Maybe [Range]) Source #
An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.