| 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.IoTFleetWise.Types.Sensor
Description
Synopsis
- data Sensor = Sensor' {
- allowedValues :: Maybe [Text]
- description :: Maybe Text
- max :: Maybe Double
- min :: Maybe Double
- unit :: Maybe Text
- fullyQualifiedName :: Text
- dataType :: NodeDataType
- newSensor :: Text -> NodeDataType -> Sensor
- sensor_allowedValues :: Lens' Sensor (Maybe [Text])
- sensor_description :: Lens' Sensor (Maybe Text)
- sensor_max :: Lens' Sensor (Maybe Double)
- sensor_min :: Lens' Sensor (Maybe Double)
- sensor_unit :: Lens' Sensor (Maybe Text)
- sensor_fullyQualifiedName :: Lens' Sensor Text
- sensor_dataType :: Lens' Sensor NodeDataType
Documentation
An input component that reports the environmental condition of a vehicle.
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.
See: newSensor smart constructor.
Constructors
| Sensor' | |
Fields
| |
Instances
Create a value of Sensor 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:allowedValues:Sensor', sensor_allowedValues - A list of possible values a sensor can take.
$sel:description:Sensor', sensor_description - A brief description of a sensor.
$sel:max:Sensor', sensor_max - The specified possible maximum value of the sensor.
$sel:min:Sensor', sensor_min - The specified possible minimum value of the sensor.
$sel:unit:Sensor', sensor_unit - The scientific unit of measurement for data collected by the sensor.
$sel:fullyQualifiedName:Sensor', sensor_fullyQualifiedName - The fully qualified name of the sensor. For example, the fully qualified
name of a sensor might be Vehicle.Body.Engine.Battery.
$sel:dataType:Sensor', sensor_dataType - The specified data type of the sensor.
sensor_allowedValues :: Lens' Sensor (Maybe [Text]) Source #
A list of possible values a sensor can take.
sensor_max :: Lens' Sensor (Maybe Double) Source #
The specified possible maximum value of the sensor.
sensor_min :: Lens' Sensor (Maybe Double) Source #
The specified possible minimum value of the sensor.
sensor_unit :: Lens' Sensor (Maybe Text) Source #
The scientific unit of measurement for data collected by the sensor.
sensor_fullyQualifiedName :: Lens' Sensor Text Source #
The fully qualified name of the sensor. For example, the fully qualified
name of a sensor might be Vehicle.Body.Engine.Battery.
sensor_dataType :: Lens' Sensor NodeDataType Source #
The specified data type of the sensor.