libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Description

 
Synopsis

Documentation

data AnomalyInstance Source #

The specific duration in which the metric is flagged as anomalous.

See: newAnomalyInstance smart constructor.

Constructors

AnomalyInstance' 

Fields

  • endTime :: Maybe POSIX

    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.

  • userFeedback :: Maybe UserFeedback

    Feedback type on a specific instance of anomaly submitted by the user.

  • id :: Text

    The universally unique identifier (UUID) of an instance of an anomaly in a metric.

  • startTime :: POSIX

    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.

Instances

Instances details
Eq AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Read AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Show AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Generic AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Associated Types

type Rep AnomalyInstance :: Type -> Type #

NFData AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Methods

rnf :: AnomalyInstance -> () #

Hashable AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

FromJSON AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

type Rep AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

type Rep AnomalyInstance = D1 ('MetaData "AnomalyInstance" "Amazonka.CodeGuruProfiler.Types.AnomalyInstance" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "AnomalyInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "userFeedback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserFeedback))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newAnomalyInstance Source #

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.