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

Description

 
Synopsis

Documentation

data AssetHierarchy Source #

Describes an asset hierarchy that contains a hierarchy's name and ID.

See: newAssetHierarchy smart constructor.

Constructors

AssetHierarchy' 

Fields

Instances

Instances details
Eq AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

Read AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

Show AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

Generic AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

Associated Types

type Rep AssetHierarchy :: Type -> Type #

NFData AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

Methods

rnf :: AssetHierarchy -> () #

Hashable AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

FromJSON AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

type Rep AssetHierarchy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetHierarchy

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

newAssetHierarchy Source #

Create a value of AssetHierarchy 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:AssetHierarchy', assetHierarchy_id - The ID of the hierarchy. This ID is a hierarchyId.

$sel:name:AssetHierarchy', assetHierarchy_name - The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.

assetHierarchy_id :: Lens' AssetHierarchy (Maybe Text) Source #

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

assetHierarchy_name :: Lens' AssetHierarchy Text Source #

The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.