Container for the parameters to the DeleteAccessKey operation.
Namespace: Amazon.IdentityManagement.ModelDeletes 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.
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 |
| Member | Description | |
|---|---|---|
| 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: | |
| Equals(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()()()() | (Inherited from Object.) | |
| UserName |
Name of the user whose key you want to delete.
Constraints: | |
| WithAccessKeyId(String) |
Sets the AccessKeyId property
| |
| WithUserName(String) |
Sets the UserName property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..DeleteAccessKeyRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..DeleteAccessKeyRequest