Copyright | (c) 2013-2021 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 |
Adds the specified user to the specified group.
Synopsis
- data AddUserToGroup = AddUserToGroup' {}
- newAddUserToGroup :: Text -> Text -> AddUserToGroup
- addUserToGroup_groupName :: Lens' AddUserToGroup Text
- addUserToGroup_userName :: Lens' AddUserToGroup Text
- data AddUserToGroupResponse = AddUserToGroupResponse' {
- newAddUserToGroupResponse :: AddUserToGroupResponse
Creating a Request
data AddUserToGroup Source #
See: newAddUserToGroup
smart constructor.
AddUserToGroup' | |
|
Instances
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
Eq AddUserToGroupResponse Source # | |
Defined in Amazonka.IAM.AddUserToGroup | |
Read AddUserToGroupResponse Source # | |
Show AddUserToGroupResponse Source # | |
Defined in Amazonka.IAM.AddUserToGroup showsPrec :: Int -> AddUserToGroupResponse -> ShowS # show :: AddUserToGroupResponse -> String # showList :: [AddUserToGroupResponse] -> ShowS # | |
Generic AddUserToGroupResponse Source # | |
Defined in Amazonka.IAM.AddUserToGroup type Rep AddUserToGroupResponse :: Type -> Type # | |
NFData AddUserToGroupResponse Source # | |
Defined in Amazonka.IAM.AddUserToGroup rnf :: AddUserToGroupResponse -> () # | |
type Rep AddUserToGroupResponse Source # | |
newAddUserToGroupResponse :: AddUserToGroupResponse Source #
Create a value of AddUserToGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.