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 |
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.
DeleteDynamicThingGroup' | |
|
Instances
newDeleteDynamicThingGroup Source #
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.
DeleteDynamicThingGroupResponse' | |
|
Instances
Generic DeleteDynamicThingGroupResponse Source # | |
Read DeleteDynamicThingGroupResponse Source # | |
Show DeleteDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.DeleteDynamicThingGroup | |
NFData DeleteDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.DeleteDynamicThingGroup rnf :: DeleteDynamicThingGroupResponse -> () # | |
Eq DeleteDynamicThingGroupResponse Source # | |
type Rep DeleteDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.DeleteDynamicThingGroup type Rep DeleteDynamicThingGroupResponse = D1 ('MetaData "DeleteDynamicThingGroupResponse" "Amazonka.IoT.DeleteDynamicThingGroup" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DeleteDynamicThingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.