code: def interval(self, interval, queue_id, queue_type='default'):
          
          # validate all the input
          if not is_valid_interval(interval):
              raise BadArgumentException('`interval` has an invalid value.')
  
          if not is_valid_identifier(queue_id):
              raise BadArgumentException('`queue_id` has an invalid value.')
  
          if not is_valid_identifier(queue_type):
              raise BadArgumentException('`queue_type` has an invalid value.')
  
          # generate the interval key
          interval_hmap_key = '%s:interval' % self._key_prefix
          interval_queue_key = '%s:%s' % (queue_type, queue_id)
          keys = [
              interval_hmap_key,
              interval_queue_key
          ]
  
          args = [
              interval
          ]
          interval_response = self._lua_interval(keys=keys, args=args)
          if interval_response == 0:
              # the queue with the id and type does not exist.
              response = {
                  'status': 'failure'
              }
          else:
              response = {
                  'status': 'success'
              }
  
          return response
docs: Updates the interval for a specific queue_id
          of a particular queue type.