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.AssetModelProperty

Description

 
Synopsis

Documentation

data AssetModelProperty Source #

Contains information about an asset model property.

See: newAssetModelProperty smart constructor.

Constructors

AssetModelProperty' 

Fields

Instances

Instances details
Eq AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

Read AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

Show AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

Generic AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

Associated Types

type Rep AssetModelProperty :: Type -> Type #

NFData AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

Methods

rnf :: AssetModelProperty -> () #

Hashable AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

ToJSON AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

FromJSON AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

type Rep AssetModelProperty Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelProperty

type Rep AssetModelProperty = D1 ('MetaData "AssetModelProperty" "Amazonka.IoTSiteWise.Types.AssetModelProperty" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "AssetModelProperty'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataTypeSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PropertyDataType) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PropertyType)))))

newAssetModelProperty Source #

Create a value of AssetModelProperty 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:dataTypeSpec:AssetModelProperty', assetModelProperty_dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

$sel:id:AssetModelProperty', assetModelProperty_id - The ID of the asset model property.

$sel:unit:AssetModelProperty', assetModelProperty_unit - The unit of the asset model property, such as Newtons or RPM.

$sel:name:AssetModelProperty', assetModelProperty_name - The name of the asset model property.

$sel:dataType:AssetModelProperty', assetModelProperty_dataType - The data type of the asset model property.

$sel:type':AssetModelProperty', assetModelProperty_type - The property type (see PropertyType).

assetModelProperty_dataTypeSpec :: Lens' AssetModelProperty (Maybe Text) Source #

The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

assetModelProperty_id :: Lens' AssetModelProperty (Maybe Text) Source #

The ID of the asset model property.

assetModelProperty_unit :: Lens' AssetModelProperty (Maybe Text) Source #

The unit of the asset model property, such as Newtons or RPM.

assetModelProperty_name :: Lens' AssetModelProperty Text Source #

The name of the asset model property.

assetModelProperty_dataType :: Lens' AssetModelProperty PropertyDataType Source #

The data type of the asset model property.

assetModelProperty_type :: Lens' AssetModelProperty PropertyType Source #

The property type (see PropertyType).