Sha256: ebabc3ded2ded08290390f7a355cd85b6afa1c72681c7187701e2228fe58369f

Contents?: true

Size: 442 Bytes

Versions: 1008

Compression:

Stored size: 442 Bytes

Contents

module Aws
  module Plugins
    # @api private
    class MachineLearningPredictEndpoint < Seahorse::Client::Plugin

      class Handler < Seahorse::Client::Handler

        def call(context)
          endpoint = context.params.delete(:predict_endpoint)
          context.http_request.endpoint = URI.parse(endpoint.to_s)
          @handler.call(context)
        end

      end

      handle(Handler, operations: [:predict])

    end
  end
end

Version data entries

1,008 entries across 1,008 versions & 2 rubygems

Version Path
aws-sdk-core-2.11.552 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.551 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.550 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.549 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.548 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.547 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.546 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.545 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.544 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.543 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.542 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.541 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.540 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.539 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.538 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.537 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.536 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.535 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.534 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
aws-sdk-core-2.11.533 lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb