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