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

Description

 
Synopsis

Documentation

data RelationshipValue Source #

A value that associates a component and an entity.

See: newRelationshipValue smart constructor.

Constructors

RelationshipValue' 

Fields

Instances

Instances details
FromJSON RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

ToJSON RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

Generic RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

Associated Types

type Rep RelationshipValue :: Type -> Type #

Read RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

Show RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

NFData RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

Methods

rnf :: RelationshipValue -> () #

Eq RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

Hashable RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

type Rep RelationshipValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.RelationshipValue

type Rep RelationshipValue = D1 ('MetaData "RelationshipValue" "Amazonka.IotTwinMaker.Types.RelationshipValue" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "RelationshipValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetEntityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRelationshipValue :: RelationshipValue Source #

Create a value of RelationshipValue 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:targetComponentName:RelationshipValue', relationshipValue_targetComponentName - The name of the target component associated with the relationship value.

$sel:targetEntityId:RelationshipValue', relationshipValue_targetEntityId - The ID of the target entity associated with this relationship value.

relationshipValue_targetComponentName :: Lens' RelationshipValue (Maybe Text) Source #

The name of the target component associated with the relationship value.

relationshipValue_targetEntityId :: Lens' RelationshipValue (Maybe Text) Source #

The ID of the target entity associated with this relationship value.