Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.DeleteUser
Description
Allows a user to delete himself or herself.
Synopsis
Creating a Request
data DeleteUser Source #
Represents the request to delete a user.
See: newDeleteUser
smart constructor.
Constructors
DeleteUser' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteUser |
Create a value of DeleteUser
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:
DeleteUser
, deleteUser_accessToken
- A valid access token that Amazon Cognito issued to the user whose user
profile you want to delete.
Request Lenses
deleteUser_accessToken :: Lens' DeleteUser Text Source #
A valid access token that Amazon Cognito issued to the user whose user profile you want to delete.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse
smart constructor.
Constructors
DeleteUserResponse' | |
Instances
newDeleteUserResponse :: DeleteUserResponse Source #
Create a value of DeleteUserResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.