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.
Calling this action requires developer credentials.
Synopsis
- data AdminAddUserToGroup = AdminAddUserToGroup' {}
- newAdminAddUserToGroup :: Text -> Text -> Text -> AdminAddUserToGroup
- adminAddUserToGroup_userPoolId :: Lens' AdminAddUserToGroup Text
- adminAddUserToGroup_username :: Lens' AdminAddUserToGroup Text
- adminAddUserToGroup_groupName :: Lens' AdminAddUserToGroup Text
- data AdminAddUserToGroupResponse = AdminAddUserToGroupResponse' {
- newAdminAddUserToGroupResponse :: AdminAddUserToGroupResponse
Creating a Request
data AdminAddUserToGroup Source #
See: newAdminAddUserToGroup
smart constructor.
Instances
newAdminAddUserToGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> AdminAddUserToGroup |
Create a value of AdminAddUserToGroup
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:userPoolId:AdminAddUserToGroup'
, adminAddUserToGroup_userPoolId
- The user pool ID for the user pool.
$sel:username:AdminAddUserToGroup'
, adminAddUserToGroup_username
- The username for the user.
$sel:groupName:AdminAddUserToGroup'
, adminAddUserToGroup_groupName
- The group name.
Request Lenses
adminAddUserToGroup_userPoolId :: Lens' AdminAddUserToGroup Text Source #
The user pool ID for the user pool.
adminAddUserToGroup_username :: Lens' AdminAddUserToGroup Text Source #
The username for the user.
adminAddUserToGroup_groupName :: Lens' AdminAddUserToGroup Text Source #
The group name.
Destructuring the Response
data AdminAddUserToGroupResponse Source #
See: newAdminAddUserToGroupResponse
smart constructor.
Instances
newAdminAddUserToGroupResponse :: AdminAddUserToGroupResponse Source #
Create a value of AdminAddUserToGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.