amazonka-iam-1.3.0: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateGroup

Contents

Description

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.

See: AWS API Reference for UpdateGroup.

Synopsis

Creating a Request

updateGroup Source

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:

Request Lenses

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.

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.

Destructuring the Response

updateGroupResponse :: UpdateGroupResponse Source

Creates a value of UpdateGroupResponse with the minimum fields required to make a request.