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.CurrentMetric

Description

 
Synopsis

Documentation

data CurrentMetric Source #

Contains information about a real-time metric. For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.

See: newCurrentMetric smart constructor.

Constructors

CurrentMetric' 

Fields

Instances

Instances details
Eq CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

Read CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

Show CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

Generic CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

Associated Types

type Rep CurrentMetric :: Type -> Type #

NFData CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

Methods

rnf :: CurrentMetric -> () #

Hashable CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

ToJSON CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

FromJSON CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

type Rep CurrentMetric Source # 
Instance details

Defined in Amazonka.Connect.Types.CurrentMetric

type Rep CurrentMetric = D1 ('MetaData "CurrentMetric" "Amazonka.Connect.Types.CurrentMetric" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CurrentMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrentMetricName)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unit))))

newCurrentMetric :: CurrentMetric Source #

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

$sel:unit:CurrentMetric', currentMetric_unit - The unit for the metric.

currentMetric_unit :: Lens' CurrentMetric (Maybe Unit) Source #

The unit for the metric.