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

Description

 
Synopsis

Documentation

data Relationship Source #

An object that specifies a relationship with another component type.

See: newRelationship smart constructor.

Constructors

Relationship' 

Fields

Instances

Instances details
FromJSON Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

ToJSON Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

Generic Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

Associated Types

type Rep Relationship :: Type -> Type #

Read Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

Show Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

NFData Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

Methods

rnf :: Relationship -> () #

Eq Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

Hashable Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

type Rep Relationship Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Relationship

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

newRelationship :: Relationship Source #

Create a value of Relationship 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:relationshipType:Relationship', relationship_relationshipType - The type of the relationship.

$sel:targetComponentTypeId:Relationship', relationship_targetComponentTypeId - The ID of the target component type associated with this relationship.

relationship_targetComponentTypeId :: Lens' Relationship (Maybe Text) Source #

The ID of the target component type associated with this relationship.