Copyright | (c) 2013-2015 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 |
Updates the data for a thing.
See: AWS API Reference for UpdateThing.
Creating a Request
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:
data UpdateThing Source
The input for the UpdateThing operation.
See: updateThing
smart constructor.
Request Lenses
utThingName :: Lens' UpdateThing Text Source
The thing name.
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
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:
data UpdateThingResponse Source
The output from the UpdateThing operation.
See: updateThingResponse
smart constructor.
Response Lenses
utrsResponseStatus :: Lens' UpdateThingResponse Int Source
The response status code.