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.DataValue

Description

 
Synopsis

Documentation

data DataValue Source #

An object that specifies a value for a property.

See: newDataValue smart constructor.

Constructors

DataValue' 

Fields

Instances

Instances details
FromJSON DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

ToJSON DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

Generic DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

Associated Types

type Rep DataValue :: Type -> Type #

Read DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

Show DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

NFData DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

Methods

rnf :: DataValue -> () #

Eq DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

Hashable DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

type Rep DataValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.DataValue

newDataValue :: DataValue Source #

Create a value of DataValue 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:booleanValue:DataValue', dataValue_booleanValue - A Boolean value.

$sel:doubleValue:DataValue', dataValue_doubleValue - A double value.

$sel:expression:DataValue', dataValue_expression - An expression that produces the value.

$sel:integerValue:DataValue', dataValue_integerValue - An integer value.

$sel:listValue:DataValue', dataValue_listValue - A list of multiple values.

$sel:longValue:DataValue', dataValue_longValue - A long value.

$sel:mapValue:DataValue', dataValue_mapValue - An object that maps strings to multiple DataValue objects.

$sel:relationshipValue:DataValue', dataValue_relationshipValue - A value that relates a component to another component.

$sel:stringValue:DataValue', dataValue_stringValue - A string value.

dataValue_expression :: Lens' DataValue (Maybe Text) Source #

An expression that produces the value.

dataValue_listValue :: Lens' DataValue (Maybe [DataValue]) Source #

A list of multiple values.

dataValue_mapValue :: Lens' DataValue (Maybe (HashMap Text DataValue)) Source #

An object that maps strings to multiple DataValue objects.

dataValue_relationshipValue :: Lens' DataValue (Maybe RelationshipValue) Source #

A value that relates a component to another component.