| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IoT.DeleteThingType
Description
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
Arguments
| :: Text | |
| -> DeleteThingType |
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:
dttThingTypeName- The name of the thing type.
data DeleteThingType Source #
The input for the DeleteThingType operation.
See: deleteThingType smart constructor.
Instances
Request Lenses
dttThingTypeName :: Lens' DeleteThingType Text Source #
The name of the thing type.
Destructuring the Response
deleteThingTypeResponse Source #
Arguments
| :: Int | |
| -> DeleteThingTypeResponse |
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:
dttrsResponseStatus- -- | The response status code.
data DeleteThingTypeResponse Source #
The output for the DeleteThingType operation.
See: deleteThingTypeResponse smart constructor.
Instances
Response Lenses
dttrsResponseStatus :: Lens' DeleteThingTypeResponse Int Source #
- - | The response status code.