| 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.ActivateAnomalyDetector
Description
Activates an anomaly detector.
Synopsis
- data ActivateAnomalyDetector = ActivateAnomalyDetector' {}
- newActivateAnomalyDetector :: Text -> ActivateAnomalyDetector
- activateAnomalyDetector_anomalyDetectorArn :: Lens' ActivateAnomalyDetector Text
- data ActivateAnomalyDetectorResponse = ActivateAnomalyDetectorResponse' {
- httpStatus :: Int
- newActivateAnomalyDetectorResponse :: Int -> ActivateAnomalyDetectorResponse
- activateAnomalyDetectorResponse_httpStatus :: Lens' ActivateAnomalyDetectorResponse Int
Creating a Request
data ActivateAnomalyDetector Source #
See: newActivateAnomalyDetector smart constructor.
Constructors
| ActivateAnomalyDetector' | |
Fields
| |
Instances
newActivateAnomalyDetector Source #
Arguments
| :: Text | |
| -> ActivateAnomalyDetector |
Create a value of ActivateAnomalyDetector 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:
ActivateAnomalyDetector, activateAnomalyDetector_anomalyDetectorArn - The ARN of the anomaly detector.
Request Lenses
activateAnomalyDetector_anomalyDetectorArn :: Lens' ActivateAnomalyDetector Text Source #
The ARN of the anomaly detector.
Destructuring the Response
data ActivateAnomalyDetectorResponse Source #
See: newActivateAnomalyDetectorResponse smart constructor.
Constructors
| ActivateAnomalyDetectorResponse' | |
Fields
| |
Instances
newActivateAnomalyDetectorResponse Source #
Create a value of ActivateAnomalyDetectorResponse 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:ActivateAnomalyDetectorResponse', activateAnomalyDetectorResponse_httpStatus - The response's http status code.
Response Lenses
activateAnomalyDetectorResponse_httpStatus :: Lens' ActivateAnomalyDetectorResponse Int Source #
The response's http status code.