libZSservicesZSamazonka-connectZSamazonka-connect
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.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
Eq HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Read HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Show 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 #

NFData HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

Methods

rnf :: HistoricalMetric -> () #

Hashable HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

ToJSON HistoricalMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.HistoricalMetric

FromJSON 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" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "HistoricalMetric'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HistoricalMetricName)) :*: S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Threshold))) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unit)) :*: S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Statistic)))))

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:threshold:HistoricalMetric', historicalMetric_threshold - The threshold for the metric, used with service level metrics.

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

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

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

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