Sha256: 0dc8a7028ab09e9f614fb7ab1606d1bbc1aead45bd712b9904357dda8fd3ee73
Contents?: true
Size: 515 Bytes
Versions: 46
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module Aws module MachineLearning module Plugins # @api private class PredictEndpoint < 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 end
Version data entries
46 entries across 46 versions & 1 rubygems