amazonka-forecast-2.0: Amazon Forecast Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Forecast.Types.PredictorEvent

Description

 
Synopsis

Documentation

data PredictorEvent Source #

Provides details about a predictor event, such as a retraining.

See: newPredictorEvent smart constructor.

Constructors

PredictorEvent' 

Fields

  • datetime :: Maybe POSIX

    The timestamp for when the event occurred.

  • detail :: Maybe Text

    The type of event. For example, Retrain. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime are from the previous predictor. Any new metrics are for the newly retrained predictor.

Instances

Instances details
FromJSON PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

Generic PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

Associated Types

type Rep PredictorEvent :: Type -> Type #

Read PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

Show PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

NFData PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

Methods

rnf :: PredictorEvent -> () #

Eq PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

Hashable PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

type Rep PredictorEvent Source # 
Instance details

Defined in Amazonka.Forecast.Types.PredictorEvent

type Rep PredictorEvent = D1 ('MetaData "PredictorEvent" "Amazonka.Forecast.Types.PredictorEvent" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "PredictorEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "datetime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPredictorEvent :: PredictorEvent Source #

Create a value of PredictorEvent 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:datetime:PredictorEvent', predictorEvent_datetime - The timestamp for when the event occurred.

$sel:detail:PredictorEvent', predictorEvent_detail - The type of event. For example, Retrain. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime are from the previous predictor. Any new metrics are for the newly retrained predictor.

predictorEvent_datetime :: Lens' PredictorEvent (Maybe UTCTime) Source #

The timestamp for when the event occurred.

predictorEvent_detail :: Lens' PredictorEvent (Maybe Text) Source #

The type of event. For example, Retrain. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime are from the previous predictor. Any new metrics are for the newly retrained predictor.