amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.MetricPoint

Description

 
Synopsis

Documentation

data MetricPoint Source #

Indicates whether the network was healthy or unhealthy at a particular point. The value is aggregated from the startDate to the endDate. Currently only five_minutes is supported.

See: newMetricPoint smart constructor.

Constructors

MetricPoint' 

Fields

  • endDate :: Maybe ISO8601

    The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

  • startDate :: Maybe ISO8601

    The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

  • status :: Maybe Text

    The status of the metric point.

  • value :: Maybe Double
     

Instances

Instances details
FromXML MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

Generic MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

Associated Types

type Rep MetricPoint :: Type -> Type #

Read MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

Show MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

NFData MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

Methods

rnf :: MetricPoint -> () #

Eq MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

Hashable MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

type Rep MetricPoint Source # 
Instance details

Defined in Amazonka.EC2.Types.MetricPoint

type Rep MetricPoint = D1 ('MetaData "MetricPoint" "Amazonka.EC2.Types.MetricPoint" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "MetricPoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newMetricPoint :: MetricPoint Source #

Create a value of MetricPoint 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:endDate:MetricPoint', metricPoint_endDate - The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

$sel:startDate:MetricPoint', metricPoint_startDate - The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

$sel:status:MetricPoint', metricPoint_status - The status of the metric point.

MetricPoint, metricPoint_value - Undocumented member.

metricPoint_endDate :: Lens' MetricPoint (Maybe UTCTime) Source #

The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

metricPoint_startDate :: Lens' MetricPoint (Maybe UTCTime) Source #

The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

metricPoint_status :: Lens' MetricPoint (Maybe Text) Source #

The status of the metric point.