class Aws::Plugins::MachineLearningPredictEndpoint::Handler

Public Instance Methods

call(context) click to toggle source
# File lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb, line 8
def call(context)
  endpoint = context.params.delete(:predict_endpoint)
  context.http_request.endpoint = URI.parse(endpoint.to_s)
  @handler.call(context)
end