code: def _validateIterCommonParams(MaxObjectCount, OperationTimeout):
      
      if MaxObjectCount is None or MaxObjectCount <= 0:
          raise ValueError(
              _format("MaxObjectCount must be > 0 but is {0}", MaxObjectCount))
  
      if OperationTimeout is not None and OperationTimeout < 0:
          raise ValueError(
              _format("OperationTimeout must be >= 0 but is {0}",
                      OperationTimeout))
docs: Validate common parameters for an iter... operation.
  
      MaxObjectCount must be a positive non-zero integer or None.
  
      OperationTimeout must be positive integer or zero
  
      Raises:
  
        ValueError: if these parameters are invalid