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 |
Runs a backtest for anomaly detection for the specified resource.
Synopsis
- data BackTestAnomalyDetector = BackTestAnomalyDetector' {}
- newBackTestAnomalyDetector :: Text -> BackTestAnomalyDetector
- backTestAnomalyDetector_anomalyDetectorArn :: Lens' BackTestAnomalyDetector Text
- data BackTestAnomalyDetectorResponse = BackTestAnomalyDetectorResponse' {
- httpStatus :: Int
- newBackTestAnomalyDetectorResponse :: Int -> BackTestAnomalyDetectorResponse
- backTestAnomalyDetectorResponse_httpStatus :: Lens' BackTestAnomalyDetectorResponse Int
Creating a Request
data BackTestAnomalyDetector Source #
See: newBackTestAnomalyDetector
smart constructor.
BackTestAnomalyDetector' | |
|
Instances
newBackTestAnomalyDetector Source #
Create a value of BackTestAnomalyDetector
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:BackTestAnomalyDetector'
, backTestAnomalyDetector_anomalyDetectorArn
- The Amazon Resource Name (ARN) of the anomaly detector.
Request Lenses
backTestAnomalyDetector_anomalyDetectorArn :: Lens' BackTestAnomalyDetector Text Source #
The Amazon Resource Name (ARN) of the anomaly detector.
Destructuring the Response
data BackTestAnomalyDetectorResponse Source #
See: newBackTestAnomalyDetectorResponse
smart constructor.
BackTestAnomalyDetectorResponse' | |
|
Instances
Eq BackTestAnomalyDetectorResponse Source # | |
Read BackTestAnomalyDetectorResponse Source # | |
Show BackTestAnomalyDetectorResponse Source # | |
Generic BackTestAnomalyDetectorResponse Source # | |
NFData BackTestAnomalyDetectorResponse Source # | |
Defined in Amazonka.LookoutMetrics.BackTestAnomalyDetector rnf :: BackTestAnomalyDetectorResponse -> () # | |
type Rep BackTestAnomalyDetectorResponse Source # | |
Defined in Amazonka.LookoutMetrics.BackTestAnomalyDetector type Rep BackTestAnomalyDetectorResponse = D1 ('MetaData "BackTestAnomalyDetectorResponse" "Amazonka.LookoutMetrics.BackTestAnomalyDetector" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "BackTestAnomalyDetectorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newBackTestAnomalyDetectorResponse Source #
Create a value of BackTestAnomalyDetectorResponse
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:BackTestAnomalyDetectorResponse'
, backTestAnomalyDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
backTestAnomalyDetectorResponse_httpStatus :: Lens' BackTestAnomalyDetectorResponse Int Source #
The response's http status code.