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 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.
DeleteAnomalyDetector' | |
|
Instances
newDeleteAnomalyDetector 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:
$sel:anomalyDetectorArn: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.
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.