def delete_access_key(access_key_id, user_name=None, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  return conn.delete_access_key(access_key_id, user_name)
 except boto.exception.BotoServerError as e:
  log.debug(e)
  log.error('Failed to delete access key id {0}.'.format(access_key_id))
  return str(e)

def delete_access_key ( access_key_id , user_name = None , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : return conn . delete_access_key ( access_key_id , user_name ) except boto . exception . BotoServerError as e : log . debug ( e ) log . error ( 'Failed to delete access key id {0}.' . format ( access_key_id ) ) return str ( e )
delete access key id from a user .