code: func (client *Client) GetServiceInstances(filters ...Filter) ([]ServiceInstance, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetServiceInstancesRequest,
  		Query:       ConvertFilterParameters(filters),
  	})
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var fullInstancesList []ServiceInstance
  	warnings, err := client.paginate(request, ServiceInstance{}, func(item interface{}) error {
  		if instance, ok := item.(ServiceInstance); ok {
  			fullInstancesList = append(fullInstancesList, instance)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   ServiceInstance{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return fullInstancesList, warnings, err
  }
docs: // GetServiceInstances returns back a list of *managed* Service Instances based
  // off of the provided filters.