libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
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.IoTEvents.Types.AssetPropertyValue

Description

 
Synopsis

Documentation

data AssetPropertyValue Source #

A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.

You must use expressions for all parameters in AssetPropertyValue. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

  • For literal values, the expressions must contain single quotes. For example, the value for the quality parameter can be 'GOOD'.
  • For references, you must specify either variables or input values. For example, the value for the quality parameter can be $input.TemperatureInput.sensorData.quality.

For more information, see Expressions in the AWS IoT Events Developer Guide.

See: newAssetPropertyValue smart constructor.

Constructors

AssetPropertyValue' 

Fields

Instances

Instances details
Eq AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

Read AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

Show AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

Generic AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

Associated Types

type Rep AssetPropertyValue :: Type -> Type #

NFData AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

Methods

rnf :: AssetPropertyValue -> () #

Hashable AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

ToJSON AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

FromJSON AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

type Rep AssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AssetPropertyValue

type Rep AssetPropertyValue = D1 ('MetaData "AssetPropertyValue" "Amazonka.IoTEvents.Types.AssetPropertyValue" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "AssetPropertyValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetPropertyVariant)) :*: (S1 ('MetaSel ('Just "quality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetPropertyTimestamp)))))

newAssetPropertyValue :: AssetPropertyValue Source #

Create a value of AssetPropertyValue 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:AssetPropertyValue', assetPropertyValue_value - The value to send to an asset property.

$sel:quality:AssetPropertyValue', assetPropertyValue_quality - The quality of the asset property value. The value must be 'GOOD', 'BAD', or 'UNCERTAIN'.

$sel:timestamp:AssetPropertyValue', assetPropertyValue_timestamp - The timestamp associated with the asset property value. The default is the current event time.

assetPropertyValue_quality :: Lens' AssetPropertyValue (Maybe Text) Source #

The quality of the asset property value. The value must be 'GOOD', 'BAD', or 'UNCERTAIN'.

assetPropertyValue_timestamp :: Lens' AssetPropertyValue (Maybe AssetPropertyTimestamp) Source #

The timestamp associated with the asset property value. The default is the current event time.