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

Contents

Description

Updates the data for a thing.

Synopsis

Creating a Request

updateThing Source

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

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

Request Lenses

utAttributePayload :: Lens' UpdateThing AttributePayload Source

The attribute payload, a JSON string containing up to three key-value pairs (for example, {\"attributes\":{\"string1\":\"string2\"}}).

Destructuring the Response

updateThingResponse Source

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

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

Response Lenses