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.
Declaration Syntax
C# |
public class DeleteAccessKeyRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
DeleteAccessKeyRequest()()()() | Initializes a new instance of the DeleteAccessKeyRequest class | |
AccessKeyId |
Gets and sets the property AccessKeyId.
The access key ID for the access key ID and secret access key you want to delete. | |
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()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
UserName |
Gets and sets the property UserName.
Name of the user whose key you want to delete. | |
WithAccessKeyId(String) | Obsolete.
Sets the AccessKeyId property
| |
WithUserName(String) | Obsolete.
Sets the UserName property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
DeleteAccessKeyRequest |