Container for the parameters to the DeleteAccessKey operation.

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 API to manage root credentials even if the AWS account has no associated users.

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DeleteAccessKeyRequest : AmazonWebServiceRequest
Public Class DeleteAccessKeyRequest _
	Inherits AmazonWebServiceRequest
public ref class DeleteAccessKeyRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DeleteAccessKeyRequest()()()()
Initializes a new instance of the DeleteAccessKeyRequest class
AccessKeyId
The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

Constraints:

Length
16 - 32
Pattern
[\w]*

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserName
Name of the user whose key you want to delete.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*

WithAccessKeyId(String)
Sets the AccessKeyId property
WithUserName(String)
Sets the UserName property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.IdentityManagement.Model..::..DeleteAccessKeyRequest

See Also