func (c *Client) ListServices(i *ListServicesInput) ([]*Service, error) {
	resp, err := c.Get("/service", nil)
	if err != nil {
		return nil, err
	}

	var s []*Service
	if err := decodeBodyMap(resp.Body, &s); err != nil {
		return nil, err
	}
	sort.Stable(servicesByName(s))
	return s, nil
}
// ListServices returns the full list of services for the current account.
ListServices returns the full list of services for the current account.
// ListServices returns the full list of services for the current account .
func (c *Client) ListServices(i *ListServicesInput) ([]*Service, error) {
	resp, err := c.Get("/service", nil)
	if err != nil {
		return nil, err
	}
	var s []*Service
	if err := decodeBodyMap(resp.Body, &s); err != nil {
		return nil, err
	}
	sort.Stable(servicesByName(s))
	return s, nil
}
func ( c * Client ) ListServices ( i * ListServicesInput ) ( [ ] * Service , error ) { resp , err := c . Get ( " " , nil ) if err != nil { return nil , err } var s [ ] * Service if err := decodeBodyMap ( resp . Body , & s ) ; err != nil { return nil , err } sort . Stable ( servicesByName ( s ) ) return s , nil }
ListServices returns the full list of services for the current account.
ListServices returns the full list of services for the current account .