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 |
Removes the specified user from the specified group.
Calling this action requires developer credentials.
Synopsis
- data AdminRemoveUserFromGroup = AdminRemoveUserFromGroup' {}
- newAdminRemoveUserFromGroup :: Text -> Text -> Text -> AdminRemoveUserFromGroup
- adminRemoveUserFromGroup_userPoolId :: Lens' AdminRemoveUserFromGroup Text
- adminRemoveUserFromGroup_username :: Lens' AdminRemoveUserFromGroup Text
- adminRemoveUserFromGroup_groupName :: Lens' AdminRemoveUserFromGroup Text
- data AdminRemoveUserFromGroupResponse = AdminRemoveUserFromGroupResponse' {
- newAdminRemoveUserFromGroupResponse :: AdminRemoveUserFromGroupResponse
Creating a Request
data AdminRemoveUserFromGroup Source #
See: newAdminRemoveUserFromGroup
smart constructor.
Instances
newAdminRemoveUserFromGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> AdminRemoveUserFromGroup |
Create a value of AdminRemoveUserFromGroup
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:AdminRemoveUserFromGroup'
, adminRemoveUserFromGroup_userPoolId
- The user pool ID for the user pool.
$sel:username:AdminRemoveUserFromGroup'
, adminRemoveUserFromGroup_username
- The username for the user.
$sel:groupName:AdminRemoveUserFromGroup'
, adminRemoveUserFromGroup_groupName
- The group name.
Request Lenses
adminRemoveUserFromGroup_userPoolId :: Lens' AdminRemoveUserFromGroup Text Source #
The user pool ID for the user pool.
adminRemoveUserFromGroup_username :: Lens' AdminRemoveUserFromGroup Text Source #
The username for the user.
adminRemoveUserFromGroup_groupName :: Lens' AdminRemoveUserFromGroup Text Source #
The group name.
Destructuring the Response
data AdminRemoveUserFromGroupResponse Source #
See: newAdminRemoveUserFromGroupResponse
smart constructor.
Instances
Eq AdminRemoveUserFromGroupResponse Source # | |
Read AdminRemoveUserFromGroupResponse Source # | |
Show AdminRemoveUserFromGroupResponse Source # | |
Generic AdminRemoveUserFromGroupResponse Source # | |
NFData AdminRemoveUserFromGroupResponse Source # | |
type Rep AdminRemoveUserFromGroupResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.AdminRemoveUserFromGroup type Rep AdminRemoveUserFromGroupResponse = D1 ('MetaData "AdminRemoveUserFromGroupResponse" "Amazonka.CognitoIdentityProvider.AdminRemoveUserFromGroup" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminRemoveUserFromGroupResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newAdminRemoveUserFromGroupResponse :: AdminRemoveUserFromGroupResponse Source #
Create a value of AdminRemoveUserFromGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.