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 an existing group with a new or changed description. You cannot update the name of a resource group.
- updateGroup :: Text -> UpdateGroup
- data UpdateGroup
- ugDescription :: Lens' UpdateGroup (Maybe Text)
- ugGroupName :: Lens' UpdateGroup Text
- updateGroupResponse :: Int -> UpdateGroupResponse
- data UpdateGroupResponse
- ugrsGroup :: Lens' UpdateGroupResponse (Maybe Group)
- ugrsResponseStatus :: Lens' UpdateGroupResponse Int
Creating a Request
Creates a value of UpdateGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugDescription
- The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.ugGroupName
- The name of the resource group for which you want to update its description.
data UpdateGroup Source #
See: updateGroup
smart constructor.
Request Lenses
ugDescription :: Lens' UpdateGroup (Maybe Text) Source #
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
ugGroupName :: Lens' UpdateGroup Text Source #
The name of the resource group for which you want to update its description.
Destructuring the Response
Creates a value of UpdateGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugrsGroup
- The full description of the resource group after it has been updated.ugrsResponseStatus
- -- | The response status code.
data UpdateGroupResponse Source #
See: updateGroupResponse
smart constructor.
Response Lenses
ugrsGroup :: Lens' UpdateGroupResponse (Maybe Group) Source #
The full description of the resource group after it has been updated.
ugrsResponseStatus :: Lens' UpdateGroupResponse Int Source #
- - | The response status code.