| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DeleteThingGroup
Description
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.
Constructors
| DeleteThingGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteThingGroup |
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.
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.
Constructors
| DeleteThingGroupResponse' | |
Fields
| |
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.