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 |
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
- updateThingShadow :: Text -> HashMap Text Value -> UpdateThingShadow
- data UpdateThingShadow
- utsThingName :: Lens' UpdateThingShadow Text
- utsPayload :: Lens' UpdateThingShadow (HashMap Text Value)
- updateThingShadowResponse :: Int -> UpdateThingShadowResponse
- data UpdateThingShadowResponse
- utsrsPayload :: Lens' UpdateThingShadowResponse (Maybe (HashMap Text Value))
- utsrsResponseStatus :: Lens' UpdateThingShadowResponse Int
Creating a Request
Creates a value of UpdateThingShadow
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateThingShadow Source #
The input for the UpdateThingShadow operation.
See: updateThingShadow
smart constructor.
Request Lenses
utsThingName :: Lens' UpdateThingShadow Text Source #
The name of the thing.
utsPayload :: Lens' UpdateThingShadow (HashMap Text Value) Source #
The state information, in JSON format.
Destructuring the Response
updateThingShadowResponse Source #
Creates a value of UpdateThingShadowResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateThingShadowResponse Source #
The output from the UpdateThingShadow operation.
See: updateThingShadowResponse
smart constructor.
Response Lenses
utsrsPayload :: Lens' UpdateThingShadowResponse (Maybe (HashMap Text Value)) Source #
The state information, in JSON format.
utsrsResponseStatus :: Lens' UpdateThingShadowResponse Int Source #
The response status code.