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

Description

 
Synopsis

Documentation

data Attribute Source #

Contains an asset attribute property. For more information, see Attributes in the IoT SiteWise User Guide.

See: newAttribute smart constructor.

Constructors

Attribute' 

Fields

  • defaultValue :: Maybe Text

    The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.

Instances

Instances details
Eq Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Read Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Show Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Generic Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Associated Types

type Rep Attribute :: Type -> Type #

NFData Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Methods

rnf :: Attribute -> () #

Hashable Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

ToJSON Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

FromJSON Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

type Rep Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.IoTSiteWise.Types.Attribute" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAttribute :: Attribute Source #

Create a value of Attribute 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:defaultValue:Attribute', attribute_defaultValue - The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.

attribute_defaultValue :: Lens' Attribute (Maybe Text) Source #

The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.