amazonka-iotsitewise-2.0: Amazon IoT SiteWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

ToJSON 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 #

Read Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Show Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

NFData Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Methods

rnf :: Attribute -> () #

Eq Attribute Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Attribute

Hashable 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" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" '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.