def list_by_location(location_id, custom_headers:nil)
      response = list_by_location_async(location_id, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_location(location_id, custom_headers:nil)
      response = list_by_location_async(location_id, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the capabilities available for the specified location.

 @param location_id [String] The location id whose capabilities are retrieved.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [LocationCapabilities] operation results.