Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds the specified user to the specified group.
Creating a Request
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.
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.