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 |
Deletes the user attributes in a user pool as an administrator. Works on any user.
- adminDeleteUserAttributes :: Text -> Text -> AdminDeleteUserAttributes
- data AdminDeleteUserAttributes
- aduaUserPoolId :: Lens' AdminDeleteUserAttributes Text
- aduaUsername :: Lens' AdminDeleteUserAttributes Text
- aduaUserAttributeNames :: Lens' AdminDeleteUserAttributes [Text]
- adminDeleteUserAttributesResponse :: Int -> AdminDeleteUserAttributesResponse
- data AdminDeleteUserAttributesResponse
- aduarsResponseStatus :: Lens' AdminDeleteUserAttributesResponse Int
Creating a Request
adminDeleteUserAttributes Source #
Creates a value of AdminDeleteUserAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminDeleteUserAttributes Source #
Represents the request to delete user attributes as an administrator.
See: adminDeleteUserAttributes
smart constructor.
Request Lenses
aduaUserPoolId :: Lens' AdminDeleteUserAttributes Text Source #
The user pool ID for the user pool where you want to delete user attributes.
aduaUsername :: Lens' AdminDeleteUserAttributes Text Source #
The user name of the user from which you would like to delete attributes.
aduaUserAttributeNames :: Lens' AdminDeleteUserAttributes [Text] Source #
An array of strings representing the user attribute names you wish to delete.
Destructuring the Response
adminDeleteUserAttributesResponse Source #
Creates a value of AdminDeleteUserAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminDeleteUserAttributesResponse Source #
Represents the response received from the server for a request to delete user attributes.
See: adminDeleteUserAttributesResponse
smart constructor.
Response Lenses
aduarsResponseStatus :: Lens' AdminDeleteUserAttributesResponse Int Source #
The response status code.