Safe Haskell | None |
---|---|
Language | Haskell2010 |
Updates the name and/or the path of the specified group.
You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in the Using IAM guide. To change a group name the requester must have appropriate permissions on both the source object and the target object. For example, to change Managers to MGRs, the entity making the request must have permission on Managers and MGRs, or must have permission on all (*). For more information about permissions, see Permissions and Policies.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateGroup.html
Request
data UpdateGroup Source
Eq UpdateGroup | |
Ord UpdateGroup | |
Read UpdateGroup | |
Show UpdateGroup | |
AWSRequest UpdateGroup | |
ToQuery UpdateGroup | |
ToPath UpdateGroup | |
ToHeaders UpdateGroup | |
type Sv UpdateGroup = IAM | |
type Rs UpdateGroup = UpdateGroupResponse |
Request constructor
UpdateGroup
constructor.
The fields accessible through corresponding lenses are:
ugGroupName
::
Text
ugNewGroupName
::
Maybe
Text
ugNewPath
::
Maybe
Text
Request lenses
ugGroupName :: Lens' UpdateGroup Text Source
Name of the group to update. If you're changing the name of the group, this is the original name.
ugNewGroupName :: Lens' UpdateGroup (Maybe Text) Source
New name for the group. Only include this if changing the group's name.
ugNewPath :: Lens' UpdateGroup (Maybe Text) Source
New path for the group. Only include this if changing the group's path.
Response
Response constructor
updateGroupResponse :: UpdateGroupResponse Source
UpdateGroupResponse
constructor.