Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AssetProperty = AssetProperty' {
- alias :: Maybe Text
- dataTypeSpec :: Maybe Text
- notification :: Maybe PropertyNotification
- unit :: Maybe Text
- id :: Text
- name :: Text
- dataType :: PropertyDataType
- newAssetProperty :: Text -> Text -> PropertyDataType -> AssetProperty
- assetProperty_alias :: Lens' AssetProperty (Maybe Text)
- assetProperty_dataTypeSpec :: Lens' AssetProperty (Maybe Text)
- assetProperty_notification :: Lens' AssetProperty (Maybe PropertyNotification)
- assetProperty_unit :: Lens' AssetProperty (Maybe Text)
- assetProperty_id :: Lens' AssetProperty Text
- assetProperty_name :: Lens' AssetProperty Text
- assetProperty_dataType :: Lens' AssetProperty PropertyDataType
Documentation
data AssetProperty Source #
Contains asset property information.
See: newAssetProperty
smart constructor.
AssetProperty' | |
|
Instances
:: Text | |
-> Text | |
-> PropertyDataType | |
-> AssetProperty |
Create a value of AssetProperty
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:alias:AssetProperty'
, assetProperty_alias
- The alias that identifies the property, such as an OPC-UA server data
stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more
information, see
Mapping industrial data streams to asset properties
in the IoT SiteWise User Guide.
$sel:dataTypeSpec:AssetProperty'
, assetProperty_dataTypeSpec
- The data type of the structure for this property. This parameter exists
on properties that have the STRUCT
data type.
$sel:notification:AssetProperty'
, assetProperty_notification
- The asset property's notification topic and state. For more
information, see
UpdateAssetProperty.
$sel:unit:AssetProperty'
, assetProperty_unit
- The unit (such as Newtons
or RPM
) of the asset property.
$sel:id:AssetProperty'
, assetProperty_id
- The ID of the asset property.
$sel:name:AssetProperty'
, assetProperty_name
- The name of the property.
$sel:dataType:AssetProperty'
, assetProperty_dataType
- The data type of the asset property.
assetProperty_alias :: Lens' AssetProperty (Maybe Text) Source #
The alias that identifies the property, such as an OPC-UA server data
stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more
information, see
Mapping industrial data streams to asset properties
in the IoT SiteWise User Guide.
assetProperty_dataTypeSpec :: Lens' AssetProperty (Maybe Text) Source #
The data type of the structure for this property. This parameter exists
on properties that have the STRUCT
data type.
assetProperty_notification :: Lens' AssetProperty (Maybe PropertyNotification) Source #
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
assetProperty_unit :: Lens' AssetProperty (Maybe Text) Source #
The unit (such as Newtons
or RPM
) of the asset property.
assetProperty_id :: Lens' AssetProperty Text Source #
The ID of the asset property.
assetProperty_name :: Lens' AssetProperty Text Source #
The name of the property.
assetProperty_dataType :: Lens' AssetProperty PropertyDataType Source #
The data type of the asset property.