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

Amazonka.IAM.AddUserToGroup

Description

Adds the specified user to the specified group.

Synopsis

Creating a Request

data AddUserToGroup Source #

See: newAddUserToGroup smart constructor.

Constructors

AddUserToGroup' 

Fields

  • groupName :: Text

    The name of the group to update.

    This parameter allows (through 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: _+=,.@-

  • userName :: Text

    The name of the user to add.

    This parameter allows (through 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: _+=,.@-

Instances

Instances details
Eq AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Read AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Show AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Generic AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Associated Types

type Rep AddUserToGroup :: Type -> Type #

NFData AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Methods

rnf :: AddUserToGroup -> () #

Hashable AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

AWSRequest AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Associated Types

type AWSResponse AddUserToGroup #

ToHeaders AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

ToPath AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

ToQuery AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

type Rep AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

type Rep AddUserToGroup = D1 ('MetaData "AddUserToGroup" "Amazonka.IAM.AddUserToGroup" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "AddUserToGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AddUserToGroup Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

newAddUserToGroup Source #

Create a value of AddUserToGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:groupName:AddUserToGroup', addUserToGroup_groupName - The name of the group to update.

This parameter allows (through 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: _+=,.@-

$sel:userName:AddUserToGroup', addUserToGroup_userName - The name of the user to add.

This parameter allows (through 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: _+=,.@-

Request Lenses

addUserToGroup_groupName :: Lens' AddUserToGroup Text Source #

The name of the group to update.

This parameter allows (through 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: _+=,.@-

addUserToGroup_userName :: Lens' AddUserToGroup Text Source #

The name of the user to add.

This parameter allows (through 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

data AddUserToGroupResponse Source #

See: newAddUserToGroupResponse smart constructor.

Instances

Instances details
Eq AddUserToGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Read AddUserToGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Show AddUserToGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Generic AddUserToGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Associated Types

type Rep AddUserToGroupResponse :: Type -> Type #

NFData AddUserToGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

Methods

rnf :: AddUserToGroupResponse -> () #

type Rep AddUserToGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.AddUserToGroup

type Rep AddUserToGroupResponse = D1 ('MetaData "AddUserToGroupResponse" "Amazonka.IAM.AddUserToGroup" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "AddUserToGroupResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddUserToGroupResponse :: AddUserToGroupResponse Source #

Create a value of AddUserToGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.