libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.ThingAttribute

Description

 
Synopsis

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.

Constructors

ThingAttribute' 

Fields

Instances

Instances details
Eq ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

Read ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

Show ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

Generic ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

Associated Types

type Rep ThingAttribute :: Type -> Type #

NFData ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

Methods

rnf :: ThingAttribute -> () #

Hashable ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

FromJSON ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

type Rep ThingAttribute Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingAttribute

type Rep ThingAttribute = D1 ('MetaData "ThingAttribute" "Amazonka.IoT.Types.ThingAttribute" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ThingAttribute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "thingTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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