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 |
Updates the groups to which the thing belongs.
Synopsis
- updateThingGroupsForThing :: UpdateThingGroupsForThing
- data UpdateThingGroupsForThing
- utgftThingGroupsToAdd :: Lens' UpdateThingGroupsForThing [Text]
- utgftThingGroupsToRemove :: Lens' UpdateThingGroupsForThing [Text]
- utgftThingName :: Lens' UpdateThingGroupsForThing (Maybe Text)
- updateThingGroupsForThingResponse :: Int -> UpdateThingGroupsForThingResponse
- data UpdateThingGroupsForThingResponse
- utgftrsResponseStatus :: Lens' UpdateThingGroupsForThingResponse Int
Creating a Request
updateThingGroupsForThing :: UpdateThingGroupsForThing Source #
Creates a value of UpdateThingGroupsForThing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utgftThingGroupsToAdd
- The groups to which the thing will be added.utgftThingGroupsToRemove
- The groups from which the thing will be removed.utgftThingName
- The thing whose group memberships will be updated.
data UpdateThingGroupsForThing Source #
See: updateThingGroupsForThing
smart constructor.
Instances
Request Lenses
utgftThingGroupsToAdd :: Lens' UpdateThingGroupsForThing [Text] Source #
The groups to which the thing will be added.
utgftThingGroupsToRemove :: Lens' UpdateThingGroupsForThing [Text] Source #
The groups from which the thing will be removed.
utgftThingName :: Lens' UpdateThingGroupsForThing (Maybe Text) Source #
The thing whose group memberships will be updated.
Destructuring the Response
updateThingGroupsForThingResponse Source #
Creates a value of UpdateThingGroupsForThingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utgftrsResponseStatus
- -- | The response status code.
data UpdateThingGroupsForThingResponse Source #
See: updateThingGroupsForThingResponse
smart constructor.
Instances
Response Lenses
utgftrsResponseStatus :: Lens' UpdateThingGroupsForThingResponse Int Source #
- - | The response status code.