C# Class Amazon.IdentityManagement.Model.DeleteAccessKeyRequest

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.

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
显示文件 Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DeleteAccessKeyRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeleteAccessKeyRequest ( string accessKeyId ) : System

Instantiates DeleteAccessKeyRequest with the parameterized properties

Private Methods

Method Description
IsSetAccessKeyId ( ) : bool
IsSetUserName ( ) : bool

Method Details

DeleteAccessKeyRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DeleteAccessKeyRequest ( ) : System
return System

DeleteAccessKeyRequest() public method

Instantiates DeleteAccessKeyRequest with the parameterized properties
public DeleteAccessKeyRequest ( string accessKeyId ) : System
accessKeyId string The access key ID for the access key ID and secret access key you want to delete. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
return System