amazonka-iot-1.4.0: Amazon IoT SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.CreateThing

Contents

Description

Creates a thing in the Thing Registry.

Synopsis

Creating a Request

createThing Source

Creates a value of CreateThing with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ctAttributePayload :: Lens' CreateThing (Maybe AttributePayload) Source

The attribute payload, which consists of up to 3 name/value pairs in a JSON document (for example, {\"attributes\":{\"string1\":\"string2\"}}).

ctThingName :: Lens' CreateThing Text Source

The name of the thing.

Destructuring the Response

createThingResponse Source

Creates a value of CreateThingResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses