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 Property = Property' {
- notification :: Maybe PropertyNotification
- alias :: Maybe Text
- type' :: Maybe PropertyType
- unit :: Maybe Text
- id :: Text
- name :: Text
- dataType :: PropertyDataType
- newProperty :: Text -> Text -> PropertyDataType -> Property
- property_notification :: Lens' Property (Maybe PropertyNotification)
- property_alias :: Lens' Property (Maybe Text)
- 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.
Property' | |
|
Instances
:: 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:notification:Property'
, property_notification
- The asset property's notification topic and state. For more
information, see
UpdateAssetProperty.
$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: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_notification :: Lens' Property (Maybe PropertyNotification) Source #
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
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_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.