| 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.CloudWatch.DeleteAnomalyDetector
Description
Deletes the specified anomaly detection model from your account. For more information about how to delete an anomaly detection model, see Deleting an anomaly detection model in the CloudWatch User Guide.
Synopsis
- data DeleteAnomalyDetector = DeleteAnomalyDetector' {}
- newDeleteAnomalyDetector :: DeleteAnomalyDetector
- deleteAnomalyDetector_dimensions :: Lens' DeleteAnomalyDetector (Maybe [Dimension])
- deleteAnomalyDetector_metricMathAnomalyDetector :: Lens' DeleteAnomalyDetector (Maybe MetricMathAnomalyDetector)
- deleteAnomalyDetector_metricName :: Lens' DeleteAnomalyDetector (Maybe Text)
- deleteAnomalyDetector_namespace :: Lens' DeleteAnomalyDetector (Maybe Text)
- deleteAnomalyDetector_singleMetricAnomalyDetector :: Lens' DeleteAnomalyDetector (Maybe SingleMetricAnomalyDetector)
- deleteAnomalyDetector_stat :: Lens' DeleteAnomalyDetector (Maybe Text)
- data DeleteAnomalyDetectorResponse = DeleteAnomalyDetectorResponse' {
- httpStatus :: Int
- newDeleteAnomalyDetectorResponse :: Int -> DeleteAnomalyDetectorResponse
- deleteAnomalyDetectorResponse_httpStatus :: Lens' DeleteAnomalyDetectorResponse Int
Creating a Request
data DeleteAnomalyDetector Source #
See: newDeleteAnomalyDetector smart constructor.
Constructors
| DeleteAnomalyDetector' | |
Fields
| |
Instances
newDeleteAnomalyDetector :: DeleteAnomalyDetector Source #
Create a value of DeleteAnomalyDetector 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:
DeleteAnomalyDetector, deleteAnomalyDetector_dimensions - The metric dimensions associated with the anomaly detection model to
delete.
DeleteAnomalyDetector, deleteAnomalyDetector_metricMathAnomalyDetector - The metric math anomaly detector to be deleted.
When using MetricMathAnomalyDetector, you cannot include following
parameters in the same operation:
Dimensions,MetricName
Namespace
Stat
- the
SingleMetricAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of
the MetricMathAnomalyDetector property.
DeleteAnomalyDetector, deleteAnomalyDetector_metricName - The metric name associated with the anomaly detection model to delete.
DeleteAnomalyDetector, deleteAnomalyDetector_namespace - The namespace associated with the anomaly detection model to delete.
DeleteAnomalyDetector, deleteAnomalyDetector_singleMetricAnomalyDetector - A single metric anomaly detector to be deleted.
When using SingleMetricAnomalyDetector, you cannot include the
following parameters in the same operation:
Dimensions,MetricName
Namespace
Stat
- the
MetricMathAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part
of the SingleMetricAnomalyDetector property.
DeleteAnomalyDetector, deleteAnomalyDetector_stat - The statistic associated with the anomaly detection model to delete.
Request Lenses
deleteAnomalyDetector_dimensions :: Lens' DeleteAnomalyDetector (Maybe [Dimension]) Source #
The metric dimensions associated with the anomaly detection model to delete.
deleteAnomalyDetector_metricMathAnomalyDetector :: Lens' DeleteAnomalyDetector (Maybe MetricMathAnomalyDetector) Source #
The metric math anomaly detector to be deleted.
When using MetricMathAnomalyDetector, you cannot include following
parameters in the same operation:
Dimensions,MetricName
Namespace
Stat
- the
SingleMetricAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of
the MetricMathAnomalyDetector property.
deleteAnomalyDetector_metricName :: Lens' DeleteAnomalyDetector (Maybe Text) Source #
The metric name associated with the anomaly detection model to delete.
deleteAnomalyDetector_namespace :: Lens' DeleteAnomalyDetector (Maybe Text) Source #
The namespace associated with the anomaly detection model to delete.
deleteAnomalyDetector_singleMetricAnomalyDetector :: Lens' DeleteAnomalyDetector (Maybe SingleMetricAnomalyDetector) Source #
A single metric anomaly detector to be deleted.
When using SingleMetricAnomalyDetector, you cannot include the
following parameters in the same operation:
Dimensions,MetricName
Namespace
Stat
- the
MetricMathAnomalyDetectorparameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part
of the SingleMetricAnomalyDetector property.
deleteAnomalyDetector_stat :: Lens' DeleteAnomalyDetector (Maybe Text) Source #
The statistic associated with the anomaly detection model to delete.
Destructuring the Response
data DeleteAnomalyDetectorResponse Source #
See: newDeleteAnomalyDetectorResponse smart constructor.
Constructors
| DeleteAnomalyDetectorResponse' | |
Fields
| |
Instances
newDeleteAnomalyDetectorResponse Source #
Create a value of DeleteAnomalyDetectorResponse 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:httpStatus:DeleteAnomalyDetectorResponse', deleteAnomalyDetectorResponse_httpStatus - The response's http status code.
Response Lenses
deleteAnomalyDetectorResponse_httpStatus :: Lens' DeleteAnomalyDetectorResponse Int Source #
The response's http status code.