Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Arguments
:: Text | |
-> AssetHierarchy |
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.