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 |
Describes a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Synopsis
- data DescribeAnomalyDetector = DescribeAnomalyDetector' {}
- newDescribeAnomalyDetector :: Text -> DescribeAnomalyDetector
- describeAnomalyDetector_anomalyDetectorArn :: Lens' DescribeAnomalyDetector Text
- data DescribeAnomalyDetectorResponse = DescribeAnomalyDetectorResponse' {
- creationTime :: Maybe POSIX
- status :: Maybe AnomalyDetectorStatus
- failureReason :: Maybe Text
- kmsKeyArn :: Maybe Text
- anomalyDetectorArn :: Maybe Text
- anomalyDetectorConfig :: Maybe AnomalyDetectorConfigSummary
- anomalyDetectorName :: Maybe Text
- anomalyDetectorDescription :: Maybe Text
- lastModificationTime :: Maybe POSIX
- httpStatus :: Int
- newDescribeAnomalyDetectorResponse :: Int -> DescribeAnomalyDetectorResponse
- describeAnomalyDetectorResponse_creationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime)
- describeAnomalyDetectorResponse_status :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorStatus)
- describeAnomalyDetectorResponse_failureReason :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_kmsKeyArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_anomalyDetectorArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_anomalyDetectorConfig :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorConfigSummary)
- describeAnomalyDetectorResponse_anomalyDetectorName :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_anomalyDetectorDescription :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_lastModificationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime)
- describeAnomalyDetectorResponse_httpStatus :: Lens' DescribeAnomalyDetectorResponse Int
Creating a Request
data DescribeAnomalyDetector Source #
See: newDescribeAnomalyDetector
smart constructor.
DescribeAnomalyDetector' | |
|
Instances
newDescribeAnomalyDetector Source #
Create a value of DescribeAnomalyDetector
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:DescribeAnomalyDetector'
, describeAnomalyDetector_anomalyDetectorArn
- The ARN of the detector to describe.
Request Lenses
describeAnomalyDetector_anomalyDetectorArn :: Lens' DescribeAnomalyDetector Text Source #
The ARN of the detector to describe.
Destructuring the Response
data DescribeAnomalyDetectorResponse Source #
See: newDescribeAnomalyDetectorResponse
smart constructor.
DescribeAnomalyDetectorResponse' | |
|
Instances
newDescribeAnomalyDetectorResponse Source #
Create a value of DescribeAnomalyDetectorResponse
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:creationTime:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_creationTime
- The time at which the detector was created.
$sel:status:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_status
- The status of the detector.
$sel:failureReason:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_failureReason
- The reason that the detector failed, if any.
$sel:kmsKeyArn:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_kmsKeyArn
- The ARN of the KMS key to use to encrypt your data.
$sel:anomalyDetectorArn:DescribeAnomalyDetector'
, describeAnomalyDetectorResponse_anomalyDetectorArn
- The ARN of the detector.
$sel:anomalyDetectorConfig:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_anomalyDetectorConfig
- Contains information about the detector's configuration.
$sel:anomalyDetectorName:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_anomalyDetectorName
- The name of the detector.
$sel:anomalyDetectorDescription:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_anomalyDetectorDescription
- A description of the detector.
$sel:lastModificationTime:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_lastModificationTime
- The time at which the detector was last modified.
$sel:httpStatus:DescribeAnomalyDetectorResponse'
, describeAnomalyDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
describeAnomalyDetectorResponse_creationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime) Source #
The time at which the detector was created.
describeAnomalyDetectorResponse_status :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorStatus) Source #
The status of the detector.
describeAnomalyDetectorResponse_failureReason :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The reason that the detector failed, if any.
describeAnomalyDetectorResponse_kmsKeyArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The ARN of the KMS key to use to encrypt your data.
describeAnomalyDetectorResponse_anomalyDetectorArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The ARN of the detector.
describeAnomalyDetectorResponse_anomalyDetectorConfig :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorConfigSummary) Source #
Contains information about the detector's configuration.
describeAnomalyDetectorResponse_anomalyDetectorName :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The name of the detector.
describeAnomalyDetectorResponse_anomalyDetectorDescription :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
A description of the detector.
describeAnomalyDetectorResponse_lastModificationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime) Source #
The time at which the detector was last modified.
describeAnomalyDetectorResponse_httpStatus :: Lens' DescribeAnomalyDetectorResponse Int Source #
The response's http status code.