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 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.
$sel:thingGroupName: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
Eq DeleteDynamicThingGroupResponse Source # | |
Read DeleteDynamicThingGroupResponse Source # | |
Show DeleteDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.DeleteDynamicThingGroup | |
Generic DeleteDynamicThingGroupResponse Source # | |
NFData DeleteDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.DeleteDynamicThingGroup rnf :: DeleteDynamicThingGroupResponse -> () # | |
type Rep DeleteDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.DeleteDynamicThingGroup type Rep DeleteDynamicThingGroupResponse = D1 ('MetaData "DeleteDynamicThingGroupResponse" "Amazonka.IoT.DeleteDynamicThingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" '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.