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 |
Deletes a thing group.
- deleteThingGroup :: Text -> DeleteThingGroup
- data DeleteThingGroup
- dExpectedVersion :: Lens' DeleteThingGroup (Maybe Integer)
- dThingGroupName :: Lens' DeleteThingGroup Text
- deleteThingGroupResponse :: Int -> DeleteThingGroupResponse
- data DeleteThingGroupResponse
- dtgtrsResponseStatus :: Lens' DeleteThingGroupResponse Int
Creating a Request
Creates a value of DeleteThingGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dExpectedVersion
- The expected version of the thing group to delete.dThingGroupName
- The name of the thing group to delete.
data DeleteThingGroup Source #
See: deleteThingGroup
smart constructor.
Request Lenses
dExpectedVersion :: Lens' DeleteThingGroup (Maybe Integer) Source #
The expected version of the thing group to delete.
dThingGroupName :: Lens' DeleteThingGroup Text Source #
The name of the thing group to delete.
Destructuring the Response
deleteThingGroupResponse Source #
Creates a value of DeleteThingGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtgtrsResponseStatus
- -- | The response status code.
data DeleteThingGroupResponse Source #
See: deleteThingGroupResponse
smart constructor.
Response Lenses
dtgtrsResponseStatus :: Lens' DeleteThingGroupResponse Int Source #
- - | The response status code.