Sha256: 93916c0c600b336817abf51de24d58cb9da5783009864cef869d13a6d8e99549
Contents?: true
Size: 484 Bytes
Versions: 34
Compression:
Stored size: 484 Bytes
Contents
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
34 entries across 34 versions & 1 rubygems