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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for DeleteAccessKey.

Synopsis

Creating a Request

deleteAccessKey Source

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:

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.