| 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.ResourceGroups.UpdateGroupQuery
Description
Updates the resource query of a group.
- updateGroupQuery :: Text -> ResourceQuery -> UpdateGroupQuery
- data UpdateGroupQuery
- ugqGroupName :: Lens' UpdateGroupQuery Text
- ugqResourceQuery :: Lens' UpdateGroupQuery ResourceQuery
- updateGroupQueryResponse :: Int -> UpdateGroupQueryResponse
- data UpdateGroupQueryResponse
- ugqrsGroupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery)
- ugqrsResponseStatus :: Lens' UpdateGroupQueryResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ResourceQuery | |
| -> UpdateGroupQuery |
Creates a value of UpdateGroupQuery with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugqGroupName- The name of the resource group for which you want to edit the query.ugqResourceQuery- The resource query that determines which AWS resources are members of the resource group.
data UpdateGroupQuery Source #
See: updateGroupQuery smart constructor.
Instances
Request Lenses
ugqGroupName :: Lens' UpdateGroupQuery Text Source #
The name of the resource group for which you want to edit the query.
ugqResourceQuery :: Lens' UpdateGroupQuery ResourceQuery Source #
The resource query that determines which AWS resources are members of the resource group.
Destructuring the Response
updateGroupQueryResponse Source #
Arguments
| :: Int | |
| -> UpdateGroupQueryResponse |
Creates a value of UpdateGroupQueryResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugqrsGroupQuery- The resource query associated with the resource group after the update.ugqrsResponseStatus- -- | The response status code.
data UpdateGroupQueryResponse Source #
See: updateGroupQueryResponse smart constructor.
Response Lenses
ugqrsGroupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery) Source #
The resource query associated with the resource group after the update.
ugqrsResponseStatus :: Lens' UpdateGroupQueryResponse Int Source #
- - | The response status code.