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.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:

  • autgGroupName - The name of the group to update. 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: _+=,.@-
  • autgUserName - The name of the user to add. 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 AddUserToGroup Source #

See: addUserToGroup smart constructor.

Instances
Eq AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Data AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

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

Defined in Network.AWS.IAM.AddUserToGroup

Show AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Generic AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Associated Types

type Rep AddUserToGroup :: Type -> Type #

Hashable AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

AWSRequest AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Associated Types

type Rs AddUserToGroup :: Type #

ToHeaders AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

ToPath AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

ToQuery AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

NFData AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Methods

rnf :: AddUserToGroup -> () #

type Rep AddUserToGroup Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

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

Defined in Network.AWS.IAM.AddUserToGroup

Request Lenses

autgGroupName :: Lens' AddUserToGroup Text Source #

The name of the group to update. 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: _+=,.@-

autgUserName :: Lens' AddUserToGroup Text Source #

The name of the user to add. 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

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

Defined in Network.AWS.IAM.AddUserToGroup

Data AddUserToGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

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

Defined in Network.AWS.IAM.AddUserToGroup

Show AddUserToGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Generic AddUserToGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Associated Types

type Rep AddUserToGroupResponse :: Type -> Type #

NFData AddUserToGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

Methods

rnf :: AddUserToGroupResponse -> () #

type Rep AddUserToGroupResponse Source # 
Instance details

Defined in Network.AWS.IAM.AddUserToGroup

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