amazonka-connect-2.0: Amazon Connect 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.Connect.Types.HistoricalMetric

Description

 
Synopsis

Documentation

data HistoricalMetric Source #

Contains information about a historical metric. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.

See: newHistoricalMetric smart constructor.

Constructors

HistoricalMetric' 

Fields

Instances

Instances details
FromJSON HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

ToJSON HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Generic HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Associated Types

type Rep HistoricalMetric :: Type -> Type #

Read HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Show HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

NFData HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Methods

rnf :: HistoricalMetric -> () #

Eq HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Hashable HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

type Rep HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

type Rep HistoricalMetric = D1 ('MetaData "HistoricalMetric" "Amazonka.Connect.Types.HistoricalMetric" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "HistoricalMetric'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HistoricalMetricName)) :*: S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Statistic))) :*: (S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Threshold)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unit)))))

newHistoricalMetric :: HistoricalMetric Source #

Create a value of HistoricalMetric 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:name:HistoricalMetric', historicalMetric_name - The name of the metric.

$sel:statistic:HistoricalMetric', historicalMetric_statistic - The statistic for the metric.

$sel:threshold:HistoricalMetric', historicalMetric_threshold - The threshold for the metric, used with service level metrics.

$sel:unit:HistoricalMetric', historicalMetric_unit - The unit for the metric.

historicalMetric_threshold :: Lens' HistoricalMetric (Maybe Threshold) Source #

The threshold for the metric, used with service level metrics.