amazonka-iot-1.3.3: Amazon IoT SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for CreateThing.

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