libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTSiteWise.Types.PropertyType

Description

 
Synopsis

Documentation

data PropertyType Source #

Contains a property type, which can be one of attribute, measurement, metric, or transform.

See: newPropertyType smart constructor.

Constructors

PropertyType' 

Fields

  • attribute :: Maybe Attribute

    Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

  • transform :: Maybe Transform

    Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.

  • metric :: Maybe Metric

    Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.

  • measurement :: Maybe Measurement

    Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.

Instances

Instances details
Eq PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

Read PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

Show PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

Generic PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

Associated Types

type Rep PropertyType :: Type -> Type #

NFData PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

Methods

rnf :: PropertyType -> () #

Hashable PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

ToJSON PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

FromJSON PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

type Rep PropertyType Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.PropertyType

type Rep PropertyType = D1 ('MetaData "PropertyType" "Amazonka.IoTSiteWise.Types.PropertyType" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "PropertyType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Attribute)) :*: S1 ('MetaSel ('Just "transform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Transform))) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Metric)) :*: S1 ('MetaSel ('Just "measurement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Measurement)))))

newPropertyType :: PropertyType Source #

Create a value of PropertyType 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:attribute:PropertyType', propertyType_attribute - Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

$sel:transform:PropertyType', propertyType_transform - Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.

$sel:metric:PropertyType', propertyType_metric - Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.

$sel:measurement:PropertyType', propertyType_measurement - Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.

propertyType_attribute :: Lens' PropertyType (Maybe Attribute) Source #

Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

propertyType_transform :: Lens' PropertyType (Maybe Transform) Source #

Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.

propertyType_metric :: Lens' PropertyType (Maybe Metric) Source #

Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.

propertyType_measurement :: Lens' PropertyType (Maybe Measurement) Source #

Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.