amazonka-iot-1.3.5: 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.UpdateThing

Contents

Description

Updates the data for a thing.

See: AWS API Reference for UpdateThing.

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