| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.IoT.AddThingToThingGroup
Description
Adds a thing to a thing group.
Synopsis
- addThingToThingGroup :: AddThingToThingGroup
- data AddThingToThingGroup
- atttgThingGroupARN :: Lens' AddThingToThingGroup (Maybe Text)
- atttgThingARN :: Lens' AddThingToThingGroup (Maybe Text)
- atttgThingGroupName :: Lens' AddThingToThingGroup (Maybe Text)
- atttgThingName :: Lens' AddThingToThingGroup (Maybe Text)
- addThingToThingGroupResponse :: Int -> AddThingToThingGroupResponse
- data AddThingToThingGroupResponse
- atttgrsResponseStatus :: Lens' AddThingToThingGroupResponse Int
Creating a Request
addThingToThingGroup :: AddThingToThingGroup Source #
Creates a value of AddThingToThingGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atttgThingGroupARN- The ARN of the group to which you are adding a thing.atttgThingARN- The ARN of the thing to add to a group.atttgThingGroupName- The name of the group to which you are adding a thing.atttgThingName- The name of the thing to add to a group.
data AddThingToThingGroup Source #
See: addThingToThingGroup smart constructor.
Instances
Request Lenses
atttgThingGroupARN :: Lens' AddThingToThingGroup (Maybe Text) Source #
The ARN of the group to which you are adding a thing.
atttgThingARN :: Lens' AddThingToThingGroup (Maybe Text) Source #
The ARN of the thing to add to a group.
atttgThingGroupName :: Lens' AddThingToThingGroup (Maybe Text) Source #
The name of the group to which you are adding a thing.
atttgThingName :: Lens' AddThingToThingGroup (Maybe Text) Source #
The name of the thing to add to a group.
Destructuring the Response
addThingToThingGroupResponse Source #
Arguments
| :: Int | |
| -> AddThingToThingGroupResponse |
Creates a value of AddThingToThingGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atttgrsResponseStatus- -- | The response status code.
data AddThingToThingGroupResponse Source #
See: addThingToThingGroupResponse smart constructor.
Instances
Response Lenses
atttgrsResponseStatus :: Lens' AddThingToThingGroupResponse Int Source #
- - | The response status code.