amazonka-iotevents-data-2.0: Amazon IoT Events Data 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.IoTEventsData.Types.TimestampValue

Description

 
Synopsis

Documentation

data TimestampValue Source #

Contains information about a timestamp.

See: newTimestampValue smart constructor.

Constructors

TimestampValue' 

Fields

Instances

Instances details
ToJSON 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 #

Read TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Show TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

NFData TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Methods

rnf :: TimestampValue -> () #

Eq TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Hashable 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" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" '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.