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

Description

 
Synopsis

Documentation

data AssetModelHierarchy Source #

Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy.

See: newAssetModelHierarchy smart constructor.

Constructors

AssetModelHierarchy' 

Fields

Instances

Instances details
Eq AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

Read AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

Show AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

Generic AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

Associated Types

type Rep AssetModelHierarchy :: Type -> Type #

NFData AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

Methods

rnf :: AssetModelHierarchy -> () #

Hashable AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

ToJSON AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

FromJSON AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

type Rep AssetModelHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelHierarchy

type Rep AssetModelHierarchy = D1 ('MetaData "AssetModelHierarchy" "Amazonka.IoTSiteWise.Types.AssetModelHierarchy" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "AssetModelHierarchy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "childAssetModelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAssetModelHierarchy Source #

Create a value of AssetModelHierarchy 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:id:AssetModelHierarchy', assetModelHierarchy_id - The ID of the asset model hierarchy. This ID is a hierarchyId.

$sel:name:AssetModelHierarchy', assetModelHierarchy_name - The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation.

$sel:childAssetModelId:AssetModelHierarchy', assetModelHierarchy_childAssetModelId - The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId asset model.

assetModelHierarchy_id :: Lens' AssetModelHierarchy (Maybe Text) Source #

The ID of the asset model hierarchy. This ID is a hierarchyId.

assetModelHierarchy_name :: Lens' AssetModelHierarchy Text Source #

The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation.

assetModelHierarchy_childAssetModelId :: Lens' AssetModelHierarchy Text Source #

The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId asset model.