| 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 |
Amazonka.IoTSiteWise.Types.Property
Description
Synopsis
- data Property = Property' {
- alias :: Maybe Text
- notification :: Maybe PropertyNotification
- type' :: Maybe PropertyType
- unit :: Maybe Text
- id :: Text
- name :: Text
- dataType :: PropertyDataType
- newProperty :: Text -> Text -> PropertyDataType -> Property
- property_alias :: Lens' Property (Maybe Text)
- property_notification :: Lens' Property (Maybe PropertyNotification)
- property_type :: Lens' Property (Maybe PropertyType)
- property_unit :: Lens' Property (Maybe Text)
- property_id :: Lens' Property Text
- property_name :: Lens' Property Text
- property_dataType :: Lens' Property PropertyDataType
Documentation
Contains asset property information.
See: newProperty smart constructor.
Constructors
| Property' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> PropertyDataType | |
| -> Property |
Create a value of Property 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:Property', property_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:notification:Property', property_notification - The asset property's notification topic and state. For more
information, see
UpdateAssetProperty.
$sel:type':Property', property_type - The property type (see PropertyType). A property contains one type.
$sel:unit:Property', property_unit - The unit (such as Newtons or RPM) of the asset property.
$sel:id:Property', property_id - The ID of the asset property.
$sel:name:Property', property_name - The name of the property.
$sel:dataType:Property', property_dataType - The property data type.
property_alias :: Lens' Property (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.
property_notification :: Lens' Property (Maybe PropertyNotification) Source #
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
property_type :: Lens' Property (Maybe PropertyType) Source #
The property type (see PropertyType). A property contains one type.
property_unit :: Lens' Property (Maybe Text) Source #
The unit (such as Newtons or RPM) of the asset property.
property_dataType :: Lens' Property PropertyDataType Source #
The property data type.