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 |
Synopsis
- data AnomalyInstance = AnomalyInstance' {
- endTime :: Maybe POSIX
- userFeedback :: Maybe UserFeedback
- id :: Text
- startTime :: POSIX
- newAnomalyInstance :: Text -> UTCTime -> AnomalyInstance
- anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime)
- anomalyInstance_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback)
- anomalyInstance_id :: Lens' AnomalyInstance Text
- anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime
Documentation
data AnomalyInstance Source #
The specific duration in which the metric is flagged as anomalous.
See: newAnomalyInstance
smart constructor.
AnomalyInstance' | |
|
Instances
Create a value of AnomalyInstance
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:endTime:AnomalyInstance'
, anomalyInstance_endTime
- The end time of the period during which the metric is flagged as
anomalous. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020
1:15:02 PM UTC.
$sel:userFeedback:AnomalyInstance'
, anomalyInstance_userFeedback
- Feedback type on a specific instance of anomaly submitted by the user.
$sel:id:AnomalyInstance'
, anomalyInstance_id
- The universally unique identifier (UUID) of an instance of an anomaly in
a metric.
$sel:startTime:AnomalyInstance'
, anomalyInstance_startTime
- The start time of the period during which the metric is flagged as
anomalous. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020
1:15:02 PM UTC.
anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime) Source #
The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
anomalyInstance_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback) Source #
Feedback type on a specific instance of anomaly submitted by the user.
anomalyInstance_id :: Lens' AnomalyInstance Text Source #
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime Source #
The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.