Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.IAM.AddUserToGroup
Description
Adds the specified user to the specified group.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> AddUserToGroup |
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. The regex pattern for this parameter is 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. The regex pattern for this parameter is 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
Request Lenses
autgGroupName :: Lens' AddUserToGroup Text Source #
The name of the group to update. The regex pattern for this parameter is 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. The regex pattern for this parameter is 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.