| 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 |
Network.AWS.IoT.DeleteThing
Description
Deletes the specified thing.
Creating a Request
Arguments
| :: Text | |
| -> DeleteThing |
Creates a value of DeleteThing with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteThing Source #
The input for the DeleteThing operation.
See: deleteThing smart constructor.
Instances
Request Lenses
dtExpectedVersion :: Lens' DeleteThing (Maybe Integer) Source #
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing request is rejected with a VersionConflictException.
dtThingName :: Lens' DeleteThing Text Source #
The name of the thing to delete.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteThingResponse |
Creates a value of DeleteThingResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteThingResponse Source #
The output of the DeleteThing operation.
See: deleteThingResponse smart constructor.
Response Lenses
delrsResponseStatus :: Lens' DeleteThingResponse Int Source #
The response status code.