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 ThingAttribute = ThingAttribute' {}
- newThingAttribute :: ThingAttribute
- thingAttribute_thingTypeName :: Lens' ThingAttribute (Maybe Text)
- thingAttribute_thingArn :: Lens' ThingAttribute (Maybe Text)
- thingAttribute_attributes :: Lens' ThingAttribute (Maybe (HashMap Text Text))
- thingAttribute_version :: Lens' ThingAttribute (Maybe Integer)
- thingAttribute_thingName :: Lens' ThingAttribute (Maybe Text)
Documentation
data ThingAttribute Source #
The properties of the thing, including thing name, thing type name, and a list of thing attributes.
See: newThingAttribute
smart constructor.
ThingAttribute' | |
|
Instances
newThingAttribute :: ThingAttribute Source #
Create a value of ThingAttribute
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:thingTypeName:ThingAttribute'
, thingAttribute_thingTypeName
- The name of the thing type, if the thing has been associated with a
type.
$sel:thingArn:ThingAttribute'
, thingAttribute_thingArn
- The thing ARN.
$sel:attributes:ThingAttribute'
, thingAttribute_attributes
- A list of thing attributes which are name-value pairs.
$sel:version:ThingAttribute'
, thingAttribute_version
- The version of the thing record in the registry.
$sel:thingName:ThingAttribute'
, thingAttribute_thingName
- The name of the thing.
thingAttribute_thingTypeName :: Lens' ThingAttribute (Maybe Text) Source #
The name of the thing type, if the thing has been associated with a type.
thingAttribute_thingArn :: Lens' ThingAttribute (Maybe Text) Source #
The thing ARN.
thingAttribute_attributes :: Lens' ThingAttribute (Maybe (HashMap Text Text)) Source #
A list of thing attributes which are name-value pairs.
thingAttribute_version :: Lens' ThingAttribute (Maybe Integer) Source #
The version of the thing record in the registry.
thingAttribute_thingName :: Lens' ThingAttribute (Maybe Text) Source #
The name of the thing.