libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
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.IoTEventsData.Types.TimestampValue

Description

 
Synopsis

Documentation

data TimestampValue Source #

Contains information about a timestamp.

See: newTimestampValue smart constructor.

Constructors

TimestampValue' 

Fields

Instances

Instances details
Eq TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Read TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Show TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Generic TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Associated Types

type Rep TimestampValue :: Type -> Type #

NFData TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Methods

rnf :: TimestampValue -> () #

Hashable TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

ToJSON TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

type Rep TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

type Rep TimestampValue = D1 ('MetaData "TimestampValue" "Amazonka.IoTEventsData.Types.TimestampValue" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "TimestampValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newTimestampValue :: TimestampValue Source #

Create a value of TimestampValue 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:timeInMillis:TimestampValue', timestampValue_timeInMillis - The value of the timestamp, in the Unix epoch format.

timestampValue_timeInMillis :: Lens' TimestampValue (Maybe Natural) Source #

The value of the timestamp, in the Unix epoch format.