Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Attribute = Attribute' {}
- newAttribute :: Attribute
- attribute_defaultValue :: Lens' Attribute (Maybe Text)
Documentation
Contains an asset attribute property. For more information, see Attributes in the IoT SiteWise User Guide.
See: newAttribute
smart constructor.
Attribute' | |
|
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.IoTSiteWise.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.IoTSiteWise.Types.Attribute | |
ToJSON Attribute Source # | |
Defined in Amazonka.IoTSiteWise.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
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.