amazonka-iot-dataplane-1.3.6: Amazon IoT Data Plane 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.IoTDataPlane.GetThingShadow

Contents

Description

Gets the thing shadow for the specified thing.

For more information, see GetThingShadow in the AWS IoT Developer Guide.

See: AWS API Reference for GetThingShadow.

Synopsis

Creating a Request

getThingShadow Source

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

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

Request Lenses

gtsThingName :: Lens' GetThingShadow Text Source

The name of the thing.

Destructuring the Response

getThingShadowResponse Source

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

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

Response Lenses

gtsrsPayload :: Lens' GetThingShadowResponse (Maybe (HashMap Text Value)) Source

The state information, in JSON format.