code: def waf_web_acl_id(self, lookup, default=None):
      
      # list_rules returns at most 100 rules per request
      list_limit = 100
      acls = EFAwsResolver.__CLIENTS["waf"].list_web_acls(Limit=list_limit)
      while True:
        for acl in acls["WebACLs"]:
          if acl["Name"] == lookup:
            return acl["WebACLId"]
        if acls.has_key("NextMarker"):
          acls = EFAwsResolver.__CLIENTS["waf"].list_web_acls(Limit=list_limit, NextMarker=acls["NextMarker"])
        else:
          return default
docs: Args:
        lookup: the friendly name of a Web ACL
        default: the optional value to return if lookup failed; returns None if not set
      Returns:
        the ID of the WAF Web ACL whose name matches rule_name or default/None if no match found