| 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.LookoutMetrics.DeleteAnomalyDetector
Description
Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
Synopsis
- data DeleteAnomalyDetector = DeleteAnomalyDetector' {}
- newDeleteAnomalyDetector :: Text -> DeleteAnomalyDetector
- deleteAnomalyDetector_anomalyDetectorArn :: 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.
Constructors
| DeleteAnomalyDetector' | |
Fields
| |
Instances
newDeleteAnomalyDetector Source #
Arguments
| :: 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:
DeleteAnomalyDetector, deleteAnomalyDetector_anomalyDetectorArn - The ARN of the detector to delete.
Request Lenses
deleteAnomalyDetector_anomalyDetectorArn :: Lens' DeleteAnomalyDetector Text Source #
The ARN of the detector 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.