def delete_cache_security_group(name, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 deleted = conn.delete_cache_security_group(name)
 if deleted:
  log.info('Deleted cache security group {0}.'.format(name))
  return True
 else:
  msg = 'Failed to delete cache security group {0}.'.format(name)
  log.error(msg)
  return False

def delete_cache_security_group ( name , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) deleted = conn . delete_cache_security_group ( name ) if deleted : log . info ( 'Deleted cache security group {0}.' . format ( name ) ) return True else : msg = 'Failed to delete cache security group {0}.' . format ( name ) log . error ( msg ) return False
delete a cache security group .