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 |
Synopsis
- data AssetModelHierarchy = AssetModelHierarchy' {}
- newAssetModelHierarchy :: Text -> Text -> AssetModelHierarchy
- assetModelHierarchy_id :: Lens' AssetModelHierarchy (Maybe Text)
- assetModelHierarchy_name :: Lens' AssetModelHierarchy Text
- assetModelHierarchy_childAssetModelId :: Lens' AssetModelHierarchy Text
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.
AssetModelHierarchy' | |
|
Instances
newAssetModelHierarchy Source #
:: Text | |
-> Text | |
-> AssetModelHierarchy |
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.