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 |
Creates an anomaly detector.
Synopsis
- data CreateAnomalyDetector = CreateAnomalyDetector' {}
- newCreateAnomalyDetector :: Text -> AnomalyDetectorConfig -> CreateAnomalyDetector
- createAnomalyDetector_kmsKeyArn :: Lens' CreateAnomalyDetector (Maybe Text)
- createAnomalyDetector_anomalyDetectorDescription :: Lens' CreateAnomalyDetector (Maybe Text)
- createAnomalyDetector_tags :: Lens' CreateAnomalyDetector (Maybe (HashMap Text Text))
- createAnomalyDetector_anomalyDetectorName :: Lens' CreateAnomalyDetector Text
- createAnomalyDetector_anomalyDetectorConfig :: Lens' CreateAnomalyDetector AnomalyDetectorConfig
- data CreateAnomalyDetectorResponse = CreateAnomalyDetectorResponse' {}
- newCreateAnomalyDetectorResponse :: Int -> CreateAnomalyDetectorResponse
- createAnomalyDetectorResponse_anomalyDetectorArn :: Lens' CreateAnomalyDetectorResponse (Maybe Text)
- createAnomalyDetectorResponse_httpStatus :: Lens' CreateAnomalyDetectorResponse Int
Creating a Request
data CreateAnomalyDetector Source #
See: newCreateAnomalyDetector
smart constructor.
CreateAnomalyDetector' | |
|
Instances
newCreateAnomalyDetector Source #
Create a value of CreateAnomalyDetector
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:kmsKeyArn:CreateAnomalyDetector'
, createAnomalyDetector_kmsKeyArn
- The ARN of the KMS key to use to encrypt your data.
$sel:anomalyDetectorDescription:CreateAnomalyDetector'
, createAnomalyDetector_anomalyDetectorDescription
- A description of the detector.
$sel:tags:CreateAnomalyDetector'
, createAnomalyDetector_tags
- A list of
tags
to apply to the anomaly detector.
$sel:anomalyDetectorName:CreateAnomalyDetector'
, createAnomalyDetector_anomalyDetectorName
- The name of the detector.
$sel:anomalyDetectorConfig:CreateAnomalyDetector'
, createAnomalyDetector_anomalyDetectorConfig
- Contains information about the configuration of the anomaly detector.
Request Lenses
createAnomalyDetector_kmsKeyArn :: Lens' CreateAnomalyDetector (Maybe Text) Source #
The ARN of the KMS key to use to encrypt your data.
createAnomalyDetector_anomalyDetectorDescription :: Lens' CreateAnomalyDetector (Maybe Text) Source #
A description of the detector.
createAnomalyDetector_tags :: Lens' CreateAnomalyDetector (Maybe (HashMap Text Text)) Source #
A list of tags to apply to the anomaly detector.
createAnomalyDetector_anomalyDetectorName :: Lens' CreateAnomalyDetector Text Source #
The name of the detector.
createAnomalyDetector_anomalyDetectorConfig :: Lens' CreateAnomalyDetector AnomalyDetectorConfig Source #
Contains information about the configuration of the anomaly detector.
Destructuring the Response
data CreateAnomalyDetectorResponse Source #
See: newCreateAnomalyDetectorResponse
smart constructor.
CreateAnomalyDetectorResponse' | |
|
Instances
newCreateAnomalyDetectorResponse Source #
Create a value of CreateAnomalyDetectorResponse
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:CreateAnomalyDetectorResponse'
, createAnomalyDetectorResponse_anomalyDetectorArn
- The ARN of the detector.
$sel:httpStatus:CreateAnomalyDetectorResponse'
, createAnomalyDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
createAnomalyDetectorResponse_anomalyDetectorArn :: Lens' CreateAnomalyDetectorResponse (Maybe Text) Source #
The ARN of the detector.
createAnomalyDetectorResponse_httpStatus :: Lens' CreateAnomalyDetectorResponse Int Source #
The response's http status code.