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 |
Amazonka.IoT.RemoveThingFromThingGroup
Description
Remove the specified thing from the specified group.
You must specify either a thingGroupArn
or a thingGroupName
to
identify the thing group and either a thingArn
or a thingName
to
identify the thing to remove from the thing group.
Requires permission to access the RemoveThingFromThingGroup action.
Synopsis
- data RemoveThingFromThingGroup = RemoveThingFromThingGroup' {}
- newRemoveThingFromThingGroup :: RemoveThingFromThingGroup
- removeThingFromThingGroup_thingGroupArn :: Lens' RemoveThingFromThingGroup (Maybe Text)
- removeThingFromThingGroup_thingArn :: Lens' RemoveThingFromThingGroup (Maybe Text)
- removeThingFromThingGroup_thingGroupName :: Lens' RemoveThingFromThingGroup (Maybe Text)
- removeThingFromThingGroup_thingName :: Lens' RemoveThingFromThingGroup (Maybe Text)
- data RemoveThingFromThingGroupResponse = RemoveThingFromThingGroupResponse' {
- httpStatus :: Int
- newRemoveThingFromThingGroupResponse :: Int -> RemoveThingFromThingGroupResponse
- removeThingFromThingGroupResponse_httpStatus :: Lens' RemoveThingFromThingGroupResponse Int
Creating a Request
data RemoveThingFromThingGroup Source #
See: newRemoveThingFromThingGroup
smart constructor.
Constructors
RemoveThingFromThingGroup' | |
Instances
newRemoveThingFromThingGroup :: RemoveThingFromThingGroup Source #
Create a value of RemoveThingFromThingGroup
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:thingGroupArn:RemoveThingFromThingGroup'
, removeThingFromThingGroup_thingGroupArn
- The group ARN.
$sel:thingArn:RemoveThingFromThingGroup'
, removeThingFromThingGroup_thingArn
- The ARN of the thing to remove from the group.
$sel:thingGroupName:RemoveThingFromThingGroup'
, removeThingFromThingGroup_thingGroupName
- The group name.
$sel:thingName:RemoveThingFromThingGroup'
, removeThingFromThingGroup_thingName
- The name of the thing to remove from the group.
Request Lenses
removeThingFromThingGroup_thingGroupArn :: Lens' RemoveThingFromThingGroup (Maybe Text) Source #
The group ARN.
removeThingFromThingGroup_thingArn :: Lens' RemoveThingFromThingGroup (Maybe Text) Source #
The ARN of the thing to remove from the group.
removeThingFromThingGroup_thingGroupName :: Lens' RemoveThingFromThingGroup (Maybe Text) Source #
The group name.
removeThingFromThingGroup_thingName :: Lens' RemoveThingFromThingGroup (Maybe Text) Source #
The name of the thing to remove from the group.
Destructuring the Response
data RemoveThingFromThingGroupResponse Source #
See: newRemoveThingFromThingGroupResponse
smart constructor.
Constructors
RemoveThingFromThingGroupResponse' | |
Fields
|
Instances
newRemoveThingFromThingGroupResponse Source #
Arguments
:: Int | |
-> RemoveThingFromThingGroupResponse |
Create a value of RemoveThingFromThingGroupResponse
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:RemoveThingFromThingGroupResponse'
, removeThingFromThingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
removeThingFromThingGroupResponse_httpStatus :: Lens' RemoveThingFromThingGroupResponse Int Source #
The response's http status code.