| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IAM.RemoveUserFromGroup
Description
Removes the specified user from the specified group.
Synopsis
- data RemoveUserFromGroup = RemoveUserFromGroup' {}
- newRemoveUserFromGroup :: Text -> Text -> RemoveUserFromGroup
- removeUserFromGroup_groupName :: Lens' RemoveUserFromGroup Text
- removeUserFromGroup_userName :: Lens' RemoveUserFromGroup Text
- data RemoveUserFromGroupResponse = RemoveUserFromGroupResponse' {
- newRemoveUserFromGroupResponse :: RemoveUserFromGroupResponse
Creating a Request
data RemoveUserFromGroup Source #
See: newRemoveUserFromGroup smart constructor.
Constructors
| RemoveUserFromGroup' | |
Fields
| |
Instances
newRemoveUserFromGroup Source #
Arguments
| :: Text | |
| -> Text | |
| -> RemoveUserFromGroup |
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.
Constructors
| RemoveUserFromGroupResponse' | |
Instances
newRemoveUserFromGroupResponse :: RemoveUserFromGroupResponse Source #
Create a value of RemoveUserFromGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.