amazonka-iam-0.0.2: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeleteAccessKey

Contents

Description

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.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteAccessKey.html

Synopsis

Request

Request constructor

deleteAccessKey Source

DeleteAccessKey constructor.

The fields accessible through corresponding lenses are:

Request lenses

dakAccessKeyId :: Lens' DeleteAccessKey Text Source

The access key ID for the access key ID and secret access key you want to delete.

dakUserName :: Lens' DeleteAccessKey (Maybe Text) Source

The name of the user whose key you want to delete.

Response

Response constructor