code: def find_saas_perform_space_price(package, size):
      
      for item in package['items']:
          if 'itemCategory' not in item\
                  or 'categoryCode' not in item['itemCategory']\
                  or item['itemCategory']['categoryCode']\
                  != 'performance_storage_space':
              continue
  
          if 'capacityMinimum' not in item or 'capacityMaximum' not in item:
              continue
  
          capacity_minimum = int(item['capacityMinimum'])
          capacity_maximum = int(item['capacityMaximum'])
          if size < capacity_minimum or size > capacity_maximum:
              continue
  
          key_name = '{0}_{1}_GBS'.format(capacity_minimum, capacity_maximum)
          if item['keyName'] != key_name:
              continue
          price_id = _find_price_id(item['prices'], 'performance_storage_space')
          if price_id:
              return price_id
  
      raise ValueError("Could not find price for performance storage space")
docs: Find the SaaS performance storage space price for the given size
  
      :param package: The Storage As A Service product package
      :param size: The volume size for which a price is desired
      :return: Returns the price for the size and tier, or an error if not found