| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
Arguments
| :: Natural | |
| -> TimeInNanos |
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.