| 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.IoT.Types.LocationTimestamp
Description
Synopsis
Documentation
data LocationTimestamp Source #
Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.
See: newLocationTimestamp smart constructor.
Constructors
| LocationTimestamp' | |
Instances
Arguments
| :: Text | |
| -> LocationTimestamp |
Create a value of LocationTimestamp 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:unit:LocationTimestamp', locationTimestamp_unit - The precision of the timestamp value that results from the expression
described in value.
Valid values: SECONDS | MILLISECONDS | MICROSECONDS |
NANOSECONDS. The default is MILLISECONDS.
$sel:value:LocationTimestamp', locationTimestamp_value - An expression that returns a long epoch time value.
locationTimestamp_unit :: Lens' LocationTimestamp (Maybe Text) Source #
The precision of the timestamp value that results from the expression
described in value.
Valid values: SECONDS | MILLISECONDS | MICROSECONDS |
NANOSECONDS. The default is MILLISECONDS.
locationTimestamp_value :: Lens' LocationTimestamp Text Source #
An expression that returns a long epoch time value.