Copyright | (c) 2013-2021 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 |
Deletes a thing group.
Requires permission to access the DeleteThingGroup action.
Synopsis
- data DeleteThingGroup = DeleteThingGroup' {}
- newDeleteThingGroup :: Text -> DeleteThingGroup
- deleteThingGroup_expectedVersion :: Lens' DeleteThingGroup (Maybe Integer)
- deleteThingGroup_thingGroupName :: Lens' DeleteThingGroup Text
- data DeleteThingGroupResponse = DeleteThingGroupResponse' {
- httpStatus :: Int
- newDeleteThingGroupResponse :: Int -> DeleteThingGroupResponse
- deleteThingGroupResponse_httpStatus :: Lens' DeleteThingGroupResponse Int
Creating a Request
data DeleteThingGroup Source #
See: newDeleteThingGroup
smart constructor.
DeleteThingGroup' | |
|
Instances
Create a value of DeleteThingGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expectedVersion:DeleteThingGroup'
, deleteThingGroup_expectedVersion
- The expected version of the thing group to delete.
$sel:thingGroupName:DeleteThingGroup'
, deleteThingGroup_thingGroupName
- The name of the thing group to delete.
Request Lenses
deleteThingGroup_expectedVersion :: Lens' DeleteThingGroup (Maybe Integer) Source #
The expected version of the thing group to delete.
deleteThingGroup_thingGroupName :: Lens' DeleteThingGroup Text Source #
The name of the thing group to delete.
Destructuring the Response
data DeleteThingGroupResponse Source #
See: newDeleteThingGroupResponse
smart constructor.
DeleteThingGroupResponse' | |
|
Instances
newDeleteThingGroupResponse Source #
Create a value of DeleteThingGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteThingGroupResponse'
, deleteThingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteThingGroupResponse_httpStatus :: Lens' DeleteThingGroupResponse Int Source #
The response's http status code.