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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 IAM group.

Important: You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in the IAM User Guide .

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:

  • ugNewGroupName - New name for the IAM group. Only include this if changing the group's name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  • ugNewPath - New path for the IAM group. Only include this if changing the group's path. This parameter allows (per its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (u0021) through the DEL character (u007F), including most punctuation characters, digits, and upper and lowercased letters.
  • ugGroupName - Name of the IAM group to update. If you're changing the name of the group, this is the original name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

data UpdateGroup Source #

See: updateGroup smart constructor.

Instances

Eq UpdateGroup Source # 
Data UpdateGroup Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateGroup -> c UpdateGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateGroup #

toConstr :: UpdateGroup -> Constr #

dataTypeOf :: UpdateGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateGroup) #

gmapT :: (forall b. Data b => b -> b) -> UpdateGroup -> UpdateGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateGroup -> m UpdateGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateGroup -> m UpdateGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateGroup -> m UpdateGroup #

Read UpdateGroup Source # 
Show UpdateGroup Source # 
Generic UpdateGroup Source # 

Associated Types

type Rep UpdateGroup :: * -> * #

Hashable UpdateGroup Source # 
NFData UpdateGroup Source # 

Methods

rnf :: UpdateGroup -> () #

AWSRequest UpdateGroup Source # 
ToHeaders UpdateGroup Source # 

Methods

toHeaders :: UpdateGroup -> [Header] #

ToPath UpdateGroup Source # 
ToQuery UpdateGroup Source # 
type Rep UpdateGroup Source # 
type Rep UpdateGroup = D1 * (MetaData "UpdateGroup" "Network.AWS.IAM.UpdateGroup" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "UpdateGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugNewGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugNewPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ugGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateGroup Source # 

Request Lenses

ugNewGroupName :: Lens' UpdateGroup (Maybe Text) Source #

New name for the IAM group. Only include this if changing the group's name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

ugNewPath :: Lens' UpdateGroup (Maybe Text) Source #

New path for the IAM group. Only include this if changing the group's path. This parameter allows (per its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (u0021) through the DEL character (u007F), including most punctuation characters, digits, and upper and lowercased letters.

ugGroupName :: Lens' UpdateGroup Text Source #

Name of the IAM group to update. If you're changing the name of the group, this is the original name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Destructuring the Response

updateGroupResponse :: UpdateGroupResponse Source #

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

data UpdateGroupResponse Source #

See: updateGroupResponse smart constructor.

Instances

Eq UpdateGroupResponse Source # 
Data UpdateGroupResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateGroupResponse -> c UpdateGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateGroupResponse #

toConstr :: UpdateGroupResponse -> Constr #

dataTypeOf :: UpdateGroupResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateGroupResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateGroupResponse -> UpdateGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateGroupResponse -> m UpdateGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateGroupResponse -> m UpdateGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateGroupResponse -> m UpdateGroupResponse #

Read UpdateGroupResponse Source # 
Show UpdateGroupResponse Source # 
Generic UpdateGroupResponse Source # 
NFData UpdateGroupResponse Source # 

Methods

rnf :: UpdateGroupResponse -> () #

type Rep UpdateGroupResponse Source # 
type Rep UpdateGroupResponse = D1 * (MetaData "UpdateGroupResponse" "Network.AWS.IAM.UpdateGroup" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "UpdateGroupResponse'" PrefixI False) (U1 *))