Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data TimestreamTimestamp Source #
Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.
See: newTimestreamTimestamp
smart constructor.
Instances
newTimestreamTimestamp Source #
Create a value of TimestreamTimestamp
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:value:TimestreamTimestamp'
, timestreamTimestamp_value
- An expression that returns a long epoch time value.
$sel:unit:TimestreamTimestamp'
, timestreamTimestamp_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
.
timestreamTimestamp_value :: Lens' TimestreamTimestamp Text Source #
An expression that returns a long epoch time value.
timestreamTimestamp_unit :: Lens' TimestreamTimestamp 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
.