Copyright | (c) 2013-2015 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 access key associated with the specified user.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users.
See: AWS API Reference for DeleteAccessKey.
Creating a Request
Creates a value of DeleteAccessKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteAccessKey Source
See: deleteAccessKey
smart constructor.
Request Lenses
dakUserName :: Lens' DeleteAccessKey (Maybe Text) Source
The name of the user whose key you want to delete.
dakAccessKeyId :: Lens' DeleteAccessKey Text Source
The access key ID for the access key ID and secret access key you want to delete.
Destructuring the Response
deleteAccessKeyResponse :: DeleteAccessKeyResponse Source
Creates a value of DeleteAccessKeyResponse
with the minimum fields required to make a request.