amazonka-evidently-2.0: Amazon CloudWatch Evidently 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.Evidently.Types.MetricGoal

Description

 
Synopsis

Documentation

data MetricGoal Source #

A structure that tells Evidently whether higher or lower values are desired for a metric that is used in an experiment.

See: newMetricGoal smart constructor.

Constructors

MetricGoal' 

Fields

Instances

Instances details
FromJSON MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

Generic MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

Associated Types

type Rep MetricGoal :: Type -> Type #

Read MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

Show MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

NFData MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

Methods

rnf :: MetricGoal -> () #

Eq MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

Hashable MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

type Rep MetricGoal Source # 
Instance details

Defined in Amazonka.Evidently.Types.MetricGoal

type Rep MetricGoal = D1 ('MetaData "MetricGoal" "Amazonka.Evidently.Types.MetricGoal" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "MetricGoal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "desiredChange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeDirectionEnum)) :*: S1 ('MetaSel ('Just "metricDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricDefinition)))

newMetricGoal Source #

Create a value of MetricGoal 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:desiredChange:MetricGoal', metricGoal_desiredChange - INCREASE means that a variation with a higher number for this metric is performing better.

DECREASE means that a variation with a lower number for this metric is performing better.

$sel:metricDefinition:MetricGoal', metricGoal_metricDefinition - A structure that contains details about the metric.

metricGoal_desiredChange :: Lens' MetricGoal (Maybe ChangeDirectionEnum) Source #

INCREASE means that a variation with a higher number for this metric is performing better.

DECREASE means that a variation with a lower number for this metric is performing better.

metricGoal_metricDefinition :: Lens' MetricGoal MetricDefinition Source #

A structure that contains details about the metric.