amazonka-iot-1.3.4: 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.ListThings

Contents

Description

Lists your things. You can pass an AttributeName and/or AttributeValue to filter your things. For example: "ListThings where AttributeName=Color and AttributeValue=Red"

See: AWS API Reference for ListThings.

Synopsis

Creating a Request

listThings :: ListThings Source

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

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

Request Lenses

ltNextToken :: Lens' ListThings (Maybe Text) Source

The token for the next value.

ltMaxResults :: Lens' ListThings (Maybe Natural) Source

The maximum number of results.

Destructuring the Response

listThingsResponse Source

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

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

Response Lenses

ltrsNextToken :: Lens' ListThingsResponse (Maybe Text) Source

A token used to retrieve the next value.