amazonka-iam-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Data UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Generic UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

Hashable UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Associated Types

type Rs UpdateGroup :: Type #

ToHeaders UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Methods

toHeaders :: UpdateGroup -> [Header] #

ToPath UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

ToQuery UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

NFData UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

type Rep UpdateGroup Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

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

Defined in Network.AWS.IAM.UpdateGroup

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Data UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Generic UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

NFData UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateGroup

type Rep UpdateGroupResponse = D1 (MetaData "UpdateGroupResponse" "Network.AWS.IAM.UpdateGroup" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateGroupResponse'" PrefixI False) (U1 :: Type -> Type))