| 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.DeactivateAnomalyDetector
Description
Deactivates an anomaly detector.
Synopsis
- data DeactivateAnomalyDetector = DeactivateAnomalyDetector' {}
- newDeactivateAnomalyDetector :: Text -> DeactivateAnomalyDetector
- deactivateAnomalyDetector_anomalyDetectorArn :: Lens' DeactivateAnomalyDetector Text
- data DeactivateAnomalyDetectorResponse = DeactivateAnomalyDetectorResponse' {
- httpStatus :: Int
- newDeactivateAnomalyDetectorResponse :: Int -> DeactivateAnomalyDetectorResponse
- deactivateAnomalyDetectorResponse_httpStatus :: Lens' DeactivateAnomalyDetectorResponse Int
Creating a Request
data DeactivateAnomalyDetector Source #
See: newDeactivateAnomalyDetector smart constructor.
Constructors
| DeactivateAnomalyDetector' | |
Fields
| |
Instances
newDeactivateAnomalyDetector Source #
Arguments
| :: Text | |
| -> DeactivateAnomalyDetector |
Create a value of DeactivateAnomalyDetector 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:
DeactivateAnomalyDetector, deactivateAnomalyDetector_anomalyDetectorArn - The Amazon Resource Name (ARN) of the anomaly detector.
Request Lenses
deactivateAnomalyDetector_anomalyDetectorArn :: Lens' DeactivateAnomalyDetector Text Source #
The Amazon Resource Name (ARN) of the anomaly detector.
Destructuring the Response
data DeactivateAnomalyDetectorResponse Source #
See: newDeactivateAnomalyDetectorResponse smart constructor.
Constructors
| DeactivateAnomalyDetectorResponse' | |
Fields
| |
Instances
newDeactivateAnomalyDetectorResponse Source #
Arguments
| :: Int | |
| -> DeactivateAnomalyDetectorResponse |
Create a value of DeactivateAnomalyDetectorResponse 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:DeactivateAnomalyDetectorResponse', deactivateAnomalyDetectorResponse_httpStatus - The response's http status code.
Response Lenses
deactivateAnomalyDetectorResponse_httpStatus :: Lens' DeactivateAnomalyDetectorResponse Int Source #
The response's http status code.