def get_capabilities(location, custom_headers:nil)
      response = get_capabilities_async(location, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_capabilities(location, custom_headers:nil)
      response = get_capabilities_async(location, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the capabilities for the specified location.

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

 @return [CapabilitiesResult] operation results.