libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.Types.TimeInNanos

Description

 
Synopsis

Documentation

data TimeInNanos Source #

Contains a timestamp with optional nanosecond granularity.

See: newTimeInNanos smart constructor.

Constructors

TimeInNanos' 

Fields

Instances

Instances details
Eq TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

Read TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

Show TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

Generic TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

Associated Types

type Rep TimeInNanos :: Type -> Type #

NFData TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

Methods

rnf :: TimeInNanos -> () #

Hashable TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

ToJSON TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

FromJSON TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

type Rep TimeInNanos Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeInNanos

type Rep TimeInNanos = D1 ('MetaData "TimeInNanos" "Amazonka.IoTSiteWise.Types.TimeInNanos" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "TimeInNanos'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offsetInNanos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "timeInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newTimeInNanos Source #

Create a value of TimeInNanos 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:offsetInNanos:TimeInNanos', timeInNanos_offsetInNanos - The nanosecond offset from timeInSeconds.

$sel:timeInSeconds:TimeInNanos', timeInNanos_timeInSeconds - The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

timeInNanos_offsetInNanos :: Lens' TimeInNanos (Maybe Natural) Source #

The nanosecond offset from timeInSeconds.

timeInNanos_timeInSeconds :: Lens' TimeInNanos Natural Source #

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.