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 |
Deletes the specified anomaly detection model from your account.
Synopsis
- data DeleteAnomalyDetector = DeleteAnomalyDetector' {
- dimensions :: Maybe [Dimension]
- namespace :: Text
- metricName :: Text
- stat :: Text
- newDeleteAnomalyDetector :: Text -> Text -> Text -> DeleteAnomalyDetector
- deleteAnomalyDetector_dimensions :: Lens' DeleteAnomalyDetector (Maybe [Dimension])
- deleteAnomalyDetector_namespace :: Lens' DeleteAnomalyDetector Text
- deleteAnomalyDetector_metricName :: Lens' DeleteAnomalyDetector Text
- deleteAnomalyDetector_stat :: Lens' DeleteAnomalyDetector Text
- data DeleteAnomalyDetectorResponse = DeleteAnomalyDetectorResponse' {
- httpStatus :: Int
- newDeleteAnomalyDetectorResponse :: Int -> DeleteAnomalyDetectorResponse
- deleteAnomalyDetectorResponse_httpStatus :: Lens' DeleteAnomalyDetectorResponse Int
Creating a Request
data DeleteAnomalyDetector Source #
See: newDeleteAnomalyDetector
smart constructor.
DeleteAnomalyDetector' | |
|
Instances
newDeleteAnomalyDetector Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteAnomalyDetector |
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:
$sel:dimensions:DeleteAnomalyDetector'
, deleteAnomalyDetector_dimensions
- The metric dimensions associated with the anomaly detection model to
delete.
$sel:namespace:DeleteAnomalyDetector'
, deleteAnomalyDetector_namespace
- The namespace associated with the anomaly detection model to delete.
$sel:metricName:DeleteAnomalyDetector'
, deleteAnomalyDetector_metricName
- The metric name associated with the anomaly detection model to delete.
$sel:stat: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_namespace :: Lens' DeleteAnomalyDetector Text Source #
The namespace associated with the anomaly detection model to delete.
deleteAnomalyDetector_metricName :: Lens' DeleteAnomalyDetector Text Source #
The metric name associated with the anomaly detection model to delete.
deleteAnomalyDetector_stat :: Lens' DeleteAnomalyDetector Text Source #
The statistic associated with the anomaly detection model to delete.
Destructuring the Response
data DeleteAnomalyDetectorResponse Source #
See: newDeleteAnomalyDetectorResponse
smart constructor.
DeleteAnomalyDetectorResponse' | |
|
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.