amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IotTwinMaker.Types.PropertyValue

Description

 
Synopsis

Documentation

data PropertyValue Source #

An object that contains information about a value for a time series property.

See: newPropertyValue smart constructor.

Constructors

PropertyValue' 

Fields

  • time :: Maybe Text

    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]

  • timestamp :: Maybe POSIX

    The timestamp of a value for a time series property.

  • value :: DataValue

    An object that specifies a value for a time series property.

Instances

Instances details
FromJSON PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

ToJSON PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

Generic PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

Associated Types

type Rep PropertyValue :: Type -> Type #

Read PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

Show PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

NFData PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

Methods

rnf :: PropertyValue -> () #

Eq PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

Hashable PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

type Rep PropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyValue

type Rep PropertyValue = D1 ('MetaData "PropertyValue" "Amazonka.IotTwinMaker.Types.PropertyValue" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "PropertyValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataValue))))

newPropertyValue Source #

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.