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 |
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.
ActivateAnomalyDetector' | |
|
Instances
newActivateAnomalyDetector Source #
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:
$sel:anomalyDetectorArn: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.
ActivateAnomalyDetectorResponse' | |
|
Instances
Eq ActivateAnomalyDetectorResponse Source # | |
Read ActivateAnomalyDetectorResponse Source # | |
Show ActivateAnomalyDetectorResponse Source # | |
Generic ActivateAnomalyDetectorResponse Source # | |
NFData ActivateAnomalyDetectorResponse Source # | |
Defined in Amazonka.LookoutMetrics.ActivateAnomalyDetector rnf :: ActivateAnomalyDetectorResponse -> () # | |
type Rep ActivateAnomalyDetectorResponse Source # | |
Defined in Amazonka.LookoutMetrics.ActivateAnomalyDetector type Rep ActivateAnomalyDetectorResponse = D1 ('MetaData "ActivateAnomalyDetectorResponse" "Amazonka.LookoutMetrics.ActivateAnomalyDetector" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "ActivateAnomalyDetectorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.