libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.Types.Thing

Description

 
Synopsis

Documentation

data Thing Source #

An AWS IoT thing.

See: newThing smart constructor.

Constructors

Thing' 

Fields

Instances

Instances details
Eq Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

Methods

(==) :: Thing -> Thing -> Bool #

(/=) :: Thing -> Thing -> Bool #

Read Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

Show Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

Methods

showsPrec :: Int -> Thing -> ShowS #

show :: Thing -> String #

showList :: [Thing] -> ShowS #

Generic Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

Associated Types

type Rep Thing :: Type -> Type #

Methods

from :: Thing -> Rep Thing x #

to :: Rep Thing x -> Thing #

NFData Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

Methods

rnf :: Thing -> () #

Hashable Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

Methods

hashWithSalt :: Int -> Thing -> Int #

hash :: Thing -> Int #

FromJSON Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

type Rep Thing Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.Thing

type Rep Thing = D1 ('MetaData "Thing" "Amazonka.IoTThingsGraph.Types.Thing" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "Thing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newThing :: Thing Source #

Create a value of Thing 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:thingArn:Thing', thing_thingArn - The ARN of the thing.

$sel:thingName:Thing', thing_thingName - The name of the thing.

thing_thingArn :: Lens' Thing (Maybe Text) Source #

The ARN of the thing.

thing_thingName :: Lens' Thing (Maybe Text) Source #

The name of the thing.