amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IAM.RemoveUserFromGroup

Description

Removes the specified user from the specified group.

Synopsis

Creating a Request

data RemoveUserFromGroup Source #

See: newRemoveUserFromGroup smart constructor.

Constructors

RemoveUserFromGroup' 

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

    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
ToHeaders RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

ToPath RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

ToQuery RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

AWSRequest RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Associated Types

type AWSResponse RemoveUserFromGroup #

Generic RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Associated Types

type Rep RemoveUserFromGroup :: Type -> Type #

Read RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Show RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

NFData RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Methods

rnf :: RemoveUserFromGroup -> () #

Eq RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Hashable RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

type AWSResponse RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

type Rep RemoveUserFromGroup Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

type Rep RemoveUserFromGroup = D1 ('MetaData "RemoveUserFromGroup" "Amazonka.IAM.RemoveUserFromGroup" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "RemoveUserFromGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRemoveUserFromGroup Source #

Create a value of RemoveUserFromGroup 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:

RemoveUserFromGroup, removeUserFromGroup_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: _+=,.@-

RemoveUserFromGroup, removeUserFromGroup_userName - The name of the user to remove.

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

removeUserFromGroup_groupName :: Lens' RemoveUserFromGroup 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: _+=,.@-

removeUserFromGroup_userName :: Lens' RemoveUserFromGroup Text Source #

The name of the user to remove.

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 RemoveUserFromGroupResponse Source #

See: newRemoveUserFromGroupResponse smart constructor.

Instances

Instances details
Generic RemoveUserFromGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Associated Types

type Rep RemoveUserFromGroupResponse :: Type -> Type #

Read RemoveUserFromGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Show RemoveUserFromGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

NFData RemoveUserFromGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

Eq RemoveUserFromGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

type Rep RemoveUserFromGroupResponse Source # 
Instance details

Defined in Amazonka.IAM.RemoveUserFromGroup

type Rep RemoveUserFromGroupResponse = D1 ('MetaData "RemoveUserFromGroupResponse" "Amazonka.IAM.RemoveUserFromGroup" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "RemoveUserFromGroupResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemoveUserFromGroupResponse :: RemoveUserFromGroupResponse Source #

Create a value of RemoveUserFromGroupResponse with all optional fields omitted.

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