Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.
cloudwatch_put_anomaly_detector(Namespace, MetricName, Dimensions, Stat,
Configuration)
[required] The namespace of the metric to create the anomaly detection model for.
[required] The name of the metric to create the anomaly detection model for.
The metric dimensions to create the anomaly detection model for.
[required] The statistic to use for the metric and the anomaly detection model.
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
You can in
svc$put_anomaly_detector( Namespace = "string", MetricName = "string", Dimensions = list( list( Name = "string", Value = "string" ) ), Stat = "string", Configuration = list( ExcludedTimeRanges = list( list( StartTime = as.POSIXct( "2015-01-01" ), EndTime = as.POSIXct( "2015-01-01" ) ) ), MetricTimezone = "string" ) )
For more information, see CloudWatch Anomaly Detection.