Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists your things. You can pass an AttributeName or AttributeValue to filter your things (for example, "ListThings where AttributeName=Color and AttributeValue=Red").
- listThings :: ListThings
- data ListThings
- ltAttributeValue :: Lens' ListThings (Maybe Text)
- ltNextToken :: Lens' ListThings (Maybe Text)
- ltAttributeName :: Lens' ListThings (Maybe Text)
- ltMaxResults :: Lens' ListThings (Maybe Natural)
- listThingsResponse :: Int -> ListThingsResponse
- data ListThingsResponse
- ltrsNextToken :: Lens' ListThingsResponse (Maybe Text)
- ltrsThings :: Lens' ListThingsResponse [ThingAttribute]
- ltrsResponseStatus :: Lens' ListThingsResponse Int
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:
data ListThings Source #
The input for the ListThings operation.
See: listThings
smart constructor.
Request Lenses
ltAttributeValue :: Lens' ListThings (Maybe Text) Source #
The attribute value.
ltNextToken :: Lens' ListThings (Maybe Text) Source #
The token for the next value.
ltAttributeName :: Lens' ListThings (Maybe Text) Source #
The attribute name.
ltMaxResults :: Lens' ListThings (Maybe Natural) Source #
The maximum number of results.
Destructuring the Response
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:
data ListThingsResponse Source #
The output from the ListThings operation.
See: listThingsResponse
smart constructor.
Response Lenses
ltrsNextToken :: Lens' ListThingsResponse (Maybe Text) Source #
A token used to retrieve the next value.
ltrsThings :: Lens' ListThingsResponse [ThingAttribute] Source #
The things.
ltrsResponseStatus :: Lens' ListThingsResponse Int Source #
The response status code.