| 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.IotTwinMaker.Types.PropertyValue
Description
Documentation
data PropertyValue Source #
An object that contains information about a value for a time series property.
See: newPropertyValue smart constructor.
Constructors
| PropertyValue' | |
Fields
| |
Instances
Arguments
| :: DataValue | |
| -> PropertyValue |
Create a value of PropertyValue 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:time:PropertyValue', propertyValue_time - ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
- [YYYY]: year
- [MM]: month
- [DD]: day
- [hh]: hour
- [mm]: minute
- [ss]: seconds
- [.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
- Z: default timezone UTC
- ± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
$sel:timestamp:PropertyValue', propertyValue_timestamp - The timestamp of a value for a time series property.
$sel:value:PropertyValue', propertyValue_value - An object that specifies a value for a time series property.
propertyValue_time :: Lens' PropertyValue (Maybe Text) Source #
ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
- [YYYY]: year
- [MM]: month
- [DD]: day
- [hh]: hour
- [mm]: minute
- [ss]: seconds
- [.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
- Z: default timezone UTC
- ± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
propertyValue_timestamp :: Lens' PropertyValue (Maybe UTCTime) Source #
The timestamp of a value for a time series property.
propertyValue_value :: Lens' PropertyValue DataValue Source #
An object that specifies a value for a time series property.