lib/iam/right_iam_access_keys.rb
# Deletes the access key associated with the specified User.
#
# Options: :user_name
#
#  iam.delete_access_key('AK00000000000000006A', :user_name => 'kd1') #=> true
#
Deletes the access key associated with the specified User.


Deletes the access key associated with the specified User .
def delete_access_key(access_key_id, options={})
      request_hash = { 'AccessKeyId' => access_key_id }
      request_hash['UserName'] = options[:user_name] unless options[:user_name].right_blank?
      link = generate_request("DeleteAccessKey", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def delete_access_key ( access_key_id , options = { } ) request_hash = { 'AccessKeyId' => access_key_id } request_hash [ 'UserName' ] = options [ :user_name ] unless options [ :user_name ] . right_blank? link = generate_request ( "DeleteAccessKey" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Deletes the access key associated with the specified User.
Deletes the access key associated with the specified User .
access_key_id
<not_specific>
options
<not_specific>