libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
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.CloudWatch.Types.Datapoint

Description

 
Synopsis

Documentation

data Datapoint Source #

Encapsulates the statistical data that CloudWatch computes from metric data.

See: newDatapoint smart constructor.

Constructors

Datapoint' 

Fields

Instances

Instances details
Eq Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Read Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Show Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Generic Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Associated Types

type Rep Datapoint :: Type -> Type #

NFData Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Methods

rnf :: Datapoint -> () #

Hashable Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

FromXML Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

type Rep Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

newDatapoint :: Datapoint Source #

Create a value of Datapoint 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:Datapoint', datapoint_sampleCount - The number of metric values that contributed to the aggregate value of this data point.

$sel:maximum:Datapoint', datapoint_maximum - The maximum metric value for the data point.

$sel:average:Datapoint', datapoint_average - The average of the metric values that correspond to the data point.

$sel:minimum:Datapoint', datapoint_minimum - The minimum metric value for the data point.

$sel:extendedStatistics:Datapoint', datapoint_extendedStatistics - The percentile statistic for the data point.

$sel:sum:Datapoint', datapoint_sum - The sum of the metric values for the data point.

$sel:unit:Datapoint', datapoint_unit - The standard unit for the data point.

$sel:timestamp:Datapoint', datapoint_timestamp - The time stamp used for the data point.

datapoint_sampleCount :: Lens' Datapoint (Maybe Double) Source #

The number of metric values that contributed to the aggregate value of this data point.

datapoint_maximum :: Lens' Datapoint (Maybe Double) Source #

The maximum metric value for the data point.

datapoint_average :: Lens' Datapoint (Maybe Double) Source #

The average of the metric values that correspond to the data point.

datapoint_minimum :: Lens' Datapoint (Maybe Double) Source #

The minimum metric value for the data point.

datapoint_extendedStatistics :: Lens' Datapoint (Maybe (HashMap Text Double)) Source #

The percentile statistic for the data point.

datapoint_sum :: Lens' Datapoint (Maybe Double) Source #

The sum of the metric values for the data point.

datapoint_unit :: Lens' Datapoint (Maybe StandardUnit) Source #

The standard unit for the data point.

datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime) Source #

The time stamp used for the data point.