docs: def update_ride(api_client, ride_status, ride_id):
      """Use an UberRidesClient to update ride status and print the results.
  
      Parameters
          api_client (UberRidesClient)
              An authorized UberRidesClient with 'request' scope.
          ride_status (str)
              New ride status to update to.
          ride_id (str)
              Unique identifier for ride to update.
      """
      try:
          update_product = api_client.update_sandbox_ride(ride_id, ride_status)
  
      except (ClientError, ServerError) as error:
          fail_print(error)
  
      else:
          message = '{} New status: {}'
          message = message.format(update_product.status_code, ride_status)
          success_print(message)