libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.Types.AssetRelationshipSummary

Description

 
Synopsis

Documentation

data AssetRelationshipSummary Source #

Contains information about assets that are related to one another.

See: newAssetRelationshipSummary smart constructor.

Constructors

AssetRelationshipSummary' 

Fields

  • hierarchyInfo :: Maybe AssetHierarchyInfo

    The assets that are related through an asset hierarchy.

    This object is present if the relationshipType is HIERARCHY.

  • relationshipType :: AssetRelationshipType

    The relationship type of the assets in this relationship. This value is one of the following:

    • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

Instances

Instances details
Eq AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

Read AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

Show AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

Generic AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

Associated Types

type Rep AssetRelationshipSummary :: Type -> Type #

NFData AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

Hashable AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

FromJSON AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

type Rep AssetRelationshipSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetRelationshipSummary

type Rep AssetRelationshipSummary = D1 ('MetaData "AssetRelationshipSummary" "Amazonka.IoTSiteWise.Types.AssetRelationshipSummary" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "AssetRelationshipSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hierarchyInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetHierarchyInfo)) :*: S1 ('MetaSel ('Just "relationshipType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetRelationshipType)))

newAssetRelationshipSummary Source #

Create a value of AssetRelationshipSummary 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:hierarchyInfo:AssetRelationshipSummary', assetRelationshipSummary_hierarchyInfo - The assets that are related through an asset hierarchy.

This object is present if the relationshipType is HIERARCHY.

$sel:relationshipType:AssetRelationshipSummary', assetRelationshipSummary_relationshipType - The relationship type of the assets in this relationship. This value is one of the following:

  • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

assetRelationshipSummary_hierarchyInfo :: Lens' AssetRelationshipSummary (Maybe AssetHierarchyInfo) Source #

The assets that are related through an asset hierarchy.

This object is present if the relationshipType is HIERARCHY.

assetRelationshipSummary_relationshipType :: Lens' AssetRelationshipSummary AssetRelationshipType Source #

The relationship type of the assets in this relationship. This value is one of the following:

  • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.