libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.Types.PredictionTimeRange

Description

 
Synopsis

Documentation

data PredictionTimeRange Source #

The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.

See: newPredictionTimeRange smart constructor.

Constructors

PredictionTimeRange' 

Fields

  • endTime :: Maybe POSIX

    The time when the behavior in a proactive insight is expected to end.

  • startTime :: POSIX

    The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.

Instances

Instances details
Eq PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

Read PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

Show PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

Generic PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

Associated Types

type Rep PredictionTimeRange :: Type -> Type #

NFData PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

Methods

rnf :: PredictionTimeRange -> () #

Hashable PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

FromJSON PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

type Rep PredictionTimeRange Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.PredictionTimeRange

type Rep PredictionTimeRange = D1 ('MetaData "PredictionTimeRange" "Amazonka.DevOpsGuru.Types.PredictionTimeRange" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "PredictionTimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newPredictionTimeRange Source #

Create a value of PredictionTimeRange 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:PredictionTimeRange', predictionTimeRange_endTime - The time when the behavior in a proactive insight is expected to end.

$sel:startTime:PredictionTimeRange', predictionTimeRange_startTime - The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.

predictionTimeRange_endTime :: Lens' PredictionTimeRange (Maybe UTCTime) Source #

The time when the behavior in a proactive insight is expected to end.

predictionTimeRange_startTime :: Lens' PredictionTimeRange UTCTime Source #

The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.