def release_eip_address(public_ip=None, allocation_id=None, region=None, key=None, keyid=None, profile=None):
 if (not salt.utils.exactly_one((public_ip, allocation_id))):
  raise SaltInvocationError("Exactly one of 'public_ip' OR 'allocation_id' must be provided")
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  return conn.release_address(public_ip, allocation_id)
 except boto.exception.BotoServerError as e:
  log.error(e)
  return False

def release_eip_address ( public_ip = None , allocation_id = None , region = None , key = None , keyid = None , profile = None ) : if ( not salt . utils . exactly_one ( ( public_ip , allocation_id ) ) ) : raise SaltInvocationError ( "Exactly one of 'public_ip' OR 'allocation_id' must be provided" ) conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : return conn . release_address ( public_ip , allocation_id ) except boto . exception . BotoServerError as e : log . error ( e ) return False
free an elastic ip address .