libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.MetricDatapoint

Description

 
Synopsis

Documentation

data MetricDatapoint Source #

Describes the metric data point.

See: newMetricDatapoint smart constructor.

Constructors

MetricDatapoint' 

Fields

Instances

Instances details
Eq MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

Read MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

Show MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

Generic MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

Associated Types

type Rep MetricDatapoint :: Type -> Type #

NFData MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

Methods

rnf :: MetricDatapoint -> () #

Hashable MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

FromJSON MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

type Rep MetricDatapoint Source # 
Instance details

Defined in Amazonka.Lightsail.Types.MetricDatapoint

newMetricDatapoint :: MetricDatapoint Source #

Create a value of MetricDatapoint 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:sampleCount:MetricDatapoint', metricDatapoint_sampleCount - The sample count.

$sel:maximum:MetricDatapoint', metricDatapoint_maximum - The maximum.

$sel:average:MetricDatapoint', metricDatapoint_average - The average.

$sel:minimum:MetricDatapoint', metricDatapoint_minimum - The minimum.

$sel:sum:MetricDatapoint', metricDatapoint_sum - The sum.

$sel:timestamp:MetricDatapoint', metricDatapoint_timestamp - The timestamp (e.g., 1479816991.349).

$sel:unit:MetricDatapoint', metricDatapoint_unit - The unit.

metricDatapoint_timestamp :: Lens' MetricDatapoint (Maybe UTCTime) Source #

The timestamp (e.g., 1479816991.349).