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

Copyright(c) 2013-2016 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.AddUserToGroup

Contents

Description

Adds the specified user to the specified group.

Synopsis

Creating a Request

addUserToGroup Source #

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

Use one of the following lenses to modify other fields as desired:

data AddUserToGroup Source #

See: addUserToGroup smart constructor.

Instances

Eq AddUserToGroup Source # 
Data AddUserToGroup Source # 

Methods

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

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

toConstr :: AddUserToGroup -> Constr #

dataTypeOf :: AddUserToGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddUserToGroup Source # 
Show AddUserToGroup Source # 
Generic AddUserToGroup Source # 

Associated Types

type Rep AddUserToGroup :: * -> * #

Hashable AddUserToGroup Source # 
NFData AddUserToGroup Source # 

Methods

rnf :: AddUserToGroup -> () #

AWSRequest AddUserToGroup Source # 
ToPath AddUserToGroup Source # 
ToHeaders AddUserToGroup Source # 
ToQuery AddUserToGroup Source # 
type Rep AddUserToGroup Source # 
type Rep AddUserToGroup = D1 (MetaData "AddUserToGroup" "Network.AWS.IAM.AddUserToGroup" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" False) (C1 (MetaCons "AddUserToGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_autgGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_autgUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AddUserToGroup Source # 

Request Lenses

autgGroupName :: Lens' AddUserToGroup Text Source #

The name of the group to update.

The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-

autgUserName :: Lens' AddUserToGroup Text Source #

The name of the user to add.

The regex pattern for this parameter is 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

addUserToGroupResponse :: AddUserToGroupResponse Source #

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

data AddUserToGroupResponse Source #

See: addUserToGroupResponse smart constructor.

Instances

Eq AddUserToGroupResponse Source # 
Data AddUserToGroupResponse Source # 

Methods

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

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

toConstr :: AddUserToGroupResponse -> Constr #

dataTypeOf :: AddUserToGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddUserToGroupResponse Source # 
Show AddUserToGroupResponse Source # 
Generic AddUserToGroupResponse Source # 
NFData AddUserToGroupResponse Source # 

Methods

rnf :: AddUserToGroupResponse -> () #

type Rep AddUserToGroupResponse Source # 
type Rep AddUserToGroupResponse = D1 (MetaData "AddUserToGroupResponse" "Network.AWS.IAM.AddUserToGroup" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" False) (C1 (MetaCons "AddUserToGroupResponse'" PrefixI False) U1)