Changes the status of the specified access key from Active to Inactive, or vice versa.
            This            action can be used to disable a user's key as part of a key rotation work flow.
            
                    
            
            If the  CopyC# field is not specified, the UserName is determined implicitly            based
            on the AWS access key ID used to sign the request. Because this action works for access            keys
            under the AWS account, this API can be used to manage root credentials even if the
            AWS            account has no associated users.
CopyC# field is not specified, the UserName is determined implicitly            based
            on the AWS access key ID used to sign the request. Because this action works for access            keys
            under the AWS account, this API can be used to manage root credentials even if the
            AWS            account has no associated users.
            UserName
For information about rotating keys, see Managing Keys and Certificates in Using AWS Identity and Access Management.
 Declaration Syntax
 Declaration Syntax| C# | 
public UpdateAccessKeyResponse UpdateAccessKey( UpdateAccessKeyRequest request )
 Parameters
 Parameters- request (UpdateAccessKeyRequest)
- Container for the necessary parameters to execute the UpdateAccessKey service method.
 Return Value
 Return ValueThe response from the UpdateAccessKey service method, as returned by IdentityManagementService.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| LimitExceededException | The request was rejected because it attempted to create resources beyond the current
            AWS            account limits. The error message describes the limit exceeded. | 
| NoSuchEntityException | The request was rejected because it referenced an entity that does not exist. The
            error            message describes the entity. |