libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.AssetPropertyTimestamp

Description

 
Synopsis

Documentation

data AssetPropertyTimestamp Source #

An asset property timestamp entry containing the following information.

See: newAssetPropertyTimestamp smart constructor.

Constructors

AssetPropertyTimestamp' 

Fields

  • offsetInNanos :: Maybe Text

    Optional. A string that contains the nanosecond time offset. Accepts substitution templates.

  • timeInSeconds :: Text

    A string that contains the time in seconds since epoch. Accepts substitution templates.

Instances

Instances details
Eq AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

Read AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

Show AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

Generic AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

Associated Types

type Rep AssetPropertyTimestamp :: Type -> Type #

NFData AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

Methods

rnf :: AssetPropertyTimestamp -> () #

Hashable AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

ToJSON AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

FromJSON AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

type Rep AssetPropertyTimestamp Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyTimestamp

type Rep AssetPropertyTimestamp = D1 ('MetaData "AssetPropertyTimestamp" "Amazonka.IoT.Types.AssetPropertyTimestamp" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AssetPropertyTimestamp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offsetInNanos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssetPropertyTimestamp Source #

Create a value of AssetPropertyTimestamp 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:AssetPropertyTimestamp', assetPropertyTimestamp_offsetInNanos - Optional. A string that contains the nanosecond time offset. Accepts substitution templates.

$sel:timeInSeconds:AssetPropertyTimestamp', assetPropertyTimestamp_timeInSeconds - A string that contains the time in seconds since epoch. Accepts substitution templates.

assetPropertyTimestamp_offsetInNanos :: Lens' AssetPropertyTimestamp (Maybe Text) Source #

Optional. A string that contains the nanosecond time offset. Accepts substitution templates.

assetPropertyTimestamp_timeInSeconds :: Lens' AssetPropertyTimestamp Text Source #

A string that contains the time in seconds since epoch. Accepts substitution templates.