| 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.DeleteDynamicThingGroup
Description
Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
Synopsis
- data DeleteDynamicThingGroup = DeleteDynamicThingGroup' {}
- newDeleteDynamicThingGroup :: Text -> DeleteDynamicThingGroup
- deleteDynamicThingGroup_expectedVersion :: Lens' DeleteDynamicThingGroup (Maybe Integer)
- deleteDynamicThingGroup_thingGroupName :: Lens' DeleteDynamicThingGroup Text
- data DeleteDynamicThingGroupResponse = DeleteDynamicThingGroupResponse' {
- httpStatus :: Int
- newDeleteDynamicThingGroupResponse :: Int -> DeleteDynamicThingGroupResponse
- deleteDynamicThingGroupResponse_httpStatus :: Lens' DeleteDynamicThingGroupResponse Int
Creating a Request
data DeleteDynamicThingGroup Source #
See: newDeleteDynamicThingGroup smart constructor.
Constructors
| DeleteDynamicThingGroup' | |
Fields
| |
Instances
newDeleteDynamicThingGroup Source #
Arguments
| :: Text | |
| -> DeleteDynamicThingGroup |
Create a value of DeleteDynamicThingGroup 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:DeleteDynamicThingGroup', deleteDynamicThingGroup_expectedVersion - The expected version of the dynamic thing group to delete.
DeleteDynamicThingGroup, deleteDynamicThingGroup_thingGroupName - The name of the dynamic thing group to delete.
Request Lenses
deleteDynamicThingGroup_expectedVersion :: Lens' DeleteDynamicThingGroup (Maybe Integer) Source #
The expected version of the dynamic thing group to delete.
deleteDynamicThingGroup_thingGroupName :: Lens' DeleteDynamicThingGroup Text Source #
The name of the dynamic thing group to delete.
Destructuring the Response
data DeleteDynamicThingGroupResponse Source #
See: newDeleteDynamicThingGroupResponse smart constructor.
Constructors
| DeleteDynamicThingGroupResponse' | |
Fields
| |
Instances
newDeleteDynamicThingGroupResponse Source #
Create a value of DeleteDynamicThingGroupResponse 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:DeleteDynamicThingGroupResponse', deleteDynamicThingGroupResponse_httpStatus - The response's http status code.
Response Lenses
deleteDynamicThingGroupResponse_httpStatus :: Lens' DeleteDynamicThingGroupResponse Int Source #
The response's http status code.