| 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.DescribeAnomalyDetector
Description
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' {
- anomalyDetectorArn :: Maybe Text
- anomalyDetectorConfig :: Maybe AnomalyDetectorConfigSummary
- anomalyDetectorDescription :: Maybe Text
- anomalyDetectorName :: Maybe Text
- creationTime :: Maybe POSIX
- failureReason :: Maybe Text
- failureType :: Maybe AnomalyDetectorFailureType
- kmsKeyArn :: Maybe Text
- lastModificationTime :: Maybe POSIX
- status :: Maybe AnomalyDetectorStatus
- httpStatus :: Int
- newDescribeAnomalyDetectorResponse :: Int -> DescribeAnomalyDetectorResponse
- describeAnomalyDetectorResponse_anomalyDetectorArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_anomalyDetectorConfig :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorConfigSummary)
- describeAnomalyDetectorResponse_anomalyDetectorDescription :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_anomalyDetectorName :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_creationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime)
- describeAnomalyDetectorResponse_failureReason :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_failureType :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorFailureType)
- describeAnomalyDetectorResponse_kmsKeyArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text)
- describeAnomalyDetectorResponse_lastModificationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime)
- describeAnomalyDetectorResponse_status :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorStatus)
- describeAnomalyDetectorResponse_httpStatus :: Lens' DescribeAnomalyDetectorResponse Int
Creating a Request
data DescribeAnomalyDetector Source #
See: newDescribeAnomalyDetector smart constructor.
Constructors
| DescribeAnomalyDetector' | |
Fields
| |
Instances
newDescribeAnomalyDetector Source #
Arguments
| :: Text | |
| -> DescribeAnomalyDetector |
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:
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.
Constructors
| DescribeAnomalyDetectorResponse' | |
Fields
| |
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:
DescribeAnomalyDetector, describeAnomalyDetectorResponse_anomalyDetectorArn - The ARN of the detector.
$sel:anomalyDetectorConfig:DescribeAnomalyDetectorResponse', describeAnomalyDetectorResponse_anomalyDetectorConfig - Contains information about the detector's configuration.
DescribeAnomalyDetectorResponse, describeAnomalyDetectorResponse_anomalyDetectorDescription - A description of the detector.
DescribeAnomalyDetectorResponse, describeAnomalyDetectorResponse_anomalyDetectorName - The name of the detector.
DescribeAnomalyDetectorResponse, describeAnomalyDetectorResponse_creationTime - The time at which the detector was created.
DescribeAnomalyDetectorResponse, describeAnomalyDetectorResponse_failureReason - The reason that the detector failed.
$sel:failureType:DescribeAnomalyDetectorResponse', describeAnomalyDetectorResponse_failureType - The process that caused the detector to fail.
$sel:kmsKeyArn:DescribeAnomalyDetectorResponse', describeAnomalyDetectorResponse_kmsKeyArn - The ARN of the KMS key to use to encrypt your data.
DescribeAnomalyDetectorResponse, describeAnomalyDetectorResponse_lastModificationTime - The time at which the detector was last modified.
DescribeAnomalyDetectorResponse, describeAnomalyDetectorResponse_status - The status of the detector.
$sel:httpStatus:DescribeAnomalyDetectorResponse', describeAnomalyDetectorResponse_httpStatus - The response's http status code.
Response Lenses
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_anomalyDetectorDescription :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
A description of the detector.
describeAnomalyDetectorResponse_anomalyDetectorName :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The name of the detector.
describeAnomalyDetectorResponse_creationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime) Source #
The time at which the detector was created.
describeAnomalyDetectorResponse_failureReason :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The reason that the detector failed.
describeAnomalyDetectorResponse_failureType :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorFailureType) Source #
The process that caused the detector to fail.
describeAnomalyDetectorResponse_kmsKeyArn :: Lens' DescribeAnomalyDetectorResponse (Maybe Text) Source #
The ARN of the KMS key to use to encrypt your data.
describeAnomalyDetectorResponse_lastModificationTime :: Lens' DescribeAnomalyDetectorResponse (Maybe UTCTime) Source #
The time at which the detector was last modified.
describeAnomalyDetectorResponse_status :: Lens' DescribeAnomalyDetectorResponse (Maybe AnomalyDetectorStatus) Source #
The status of the detector.
describeAnomalyDetectorResponse_httpStatus :: Lens' DescribeAnomalyDetectorResponse Int Source #
The response's http status code.