| 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.IdentityStore.DeleteUser
Description
Deletes a user within an identity store given UserId.
Synopsis
- data DeleteUser = DeleteUser' {
- identityStoreId :: Text
- userId :: Text
- newDeleteUser :: Text -> Text -> DeleteUser
- deleteUser_identityStoreId :: Lens' DeleteUser Text
- deleteUser_userId :: Lens' DeleteUser Text
- data DeleteUserResponse = DeleteUserResponse' {
- httpStatus :: Int
- newDeleteUserResponse :: Int -> DeleteUserResponse
- deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
Creating a Request
data DeleteUser Source #
See: newDeleteUser smart constructor.
Constructors
| DeleteUser' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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_identityStoreId - The globally unique identifier for the identity store.
DeleteUser, deleteUser_userId - The identifier for a user in the identity store.
Request Lenses
deleteUser_identityStoreId :: Lens' DeleteUser Text Source #
The globally unique identifier for the identity store.
deleteUser_userId :: Lens' DeleteUser Text Source #
The identifier for a user in the identity store.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse smart constructor.
Constructors
| DeleteUserResponse' | |
Fields
| |
Instances
newDeleteUserResponse Source #
Arguments
| :: Int | |
| -> DeleteUserResponse |
Create a value of DeleteUserResponse 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:httpStatus:DeleteUserResponse', deleteUserResponse_httpStatus - The response's http status code.
Response Lenses
deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int Source #
The response's http status code.