libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.Types.MetricWindow

Description

 
Synopsis

Documentation

data MetricWindow Source #

Contains a time interval window used for data aggregate computations (for example, average, sum, count, and so on).

See: newMetricWindow smart constructor.

Constructors

MetricWindow' 

Fields

Instances

Instances details
Eq MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

Read MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

Show MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

Generic MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

Associated Types

type Rep MetricWindow :: Type -> Type #

NFData MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

Methods

rnf :: MetricWindow -> () #

Hashable MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

ToJSON MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

FromJSON MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

type Rep MetricWindow Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.MetricWindow

type Rep MetricWindow = D1 ('MetaData "MetricWindow" "Amazonka.IoTSiteWise.Types.MetricWindow" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "MetricWindow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tumbling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TumblingWindow))))

newMetricWindow :: MetricWindow Source #

Create a value of MetricWindow 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:tumbling:MetricWindow', metricWindow_tumbling - The tumbling time interval window.

metricWindow_tumbling :: Lens' MetricWindow (Maybe TumblingWindow) Source #

The tumbling time interval window.