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 specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
Creating a Request
Creates a value of DeleteThingType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteThingType Source #
The input for the DeleteThingType operation.
See: deleteThingType
smart constructor.
Request Lenses
dttThingTypeName :: Lens' DeleteThingType Text Source #
The name of the thing type.
Destructuring the Response
deleteThingTypeResponse Source #
Creates a value of DeleteThingTypeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteThingTypeResponse Source #
The output for the DeleteThingType operation.
See: deleteThingTypeResponse
smart constructor.
Response Lenses
dttrsResponseStatus :: Lens' DeleteThingTypeResponse Int Source #
The response status code.