| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.IAM.DeleteUser
Description
Deletes the specified IAM user. The user must not belong to any groups or have any access keys, signing certificates, or attached policies.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> DeleteUser |
Creates a value of DeleteUser with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duUserName- The name of the user to delete. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
data DeleteUser Source #
See: deleteUser smart constructor.
Instances
Request Lenses
duUserName :: Lens' DeleteUser Text Source #
The name of the user to delete. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Destructuring the Response
deleteUserResponse :: DeleteUserResponse Source #
Creates a value of DeleteUserResponse with the minimum fields required to make a request.
data DeleteUserResponse Source #
See: deleteUserResponse smart constructor.